diff --git a/AWSSDKSwiftCLI/Sources/AWSCLIUtils/Version.swift b/AWSSDKSwiftCLI/Sources/AWSCLIUtils/Version.swift index ec42553cc34..892f8a3d4d8 100644 --- a/AWSSDKSwiftCLI/Sources/AWSCLIUtils/Version.swift +++ b/AWSSDKSwiftCLI/Sources/AWSCLIUtils/Version.swift @@ -22,7 +22,7 @@ public struct Version: Equatable { } public init(_ value: String) throws { - let components = value.split(separator: ".") + let components = value.trimmingCharacters(in: .whitespacesAndNewlines).split(separator: ".") guard components.count == 3 else { throw Error("Version does not have three components") } diff --git a/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/Utils/VersionUtilsTests.swift b/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/Utils/VersionUtilsTests.swift index 211cc3bfb35..9b2c03a98db 100644 --- a/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/Utils/VersionUtilsTests.swift +++ b/AWSSDKSwiftCLI/Tests/AWSSDKSwiftCLITests/Utils/VersionUtilsTests.swift @@ -10,7 +10,14 @@ import AWSCLIUtils import XCTest class VersionUtilsTests: XCTestCase { - + + func testIgnoresLeadingAndTrailingWhitespace() throws { + try XCTAssertEqual( + Version("\r\n\t 1.2.1\r\n\t "), + Version("1.2.1") + ) + } + func testIncrementingMajor() throws { try XCTAssertEqual( Version("1.2.1").incrementingMajor(), diff --git a/IntegrationTests/Package.swift b/IntegrationTests/Package.swift index 8e13752ddc9..539fbfa6c64 100644 --- a/IntegrationTests/Package.swift +++ b/IntegrationTests/Package.swift @@ -46,6 +46,7 @@ let package = Package( private var integrationTestTargets: [Target] { let integrationTests = [ "AWSCloudFrontKeyValueStore", + "AWSDynamoDB", "AWSEC2", "AWSECS", "AWSEventBridge", @@ -112,3 +113,4 @@ private func integrationTestTarget(_ name: String) -> Target { resources: [.process("Resources")] ) } + diff --git a/IntegrationTests/Services/AWSDynamoDBIntegrationTests/AccountIDEndpointModeTests.swift b/IntegrationTests/Services/AWSDynamoDBIntegrationTests/AccountIDEndpointModeTests.swift new file mode 100644 index 00000000000..68d9571de8b --- /dev/null +++ b/IntegrationTests/Services/AWSDynamoDBIntegrationTests/AccountIDEndpointModeTests.swift @@ -0,0 +1,149 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +import XCTest +import AWSDynamoDB +import SmithyTestUtil +import SmithyIdentity +import enum AWSClientRuntime.AccountIDEndpointMode +import enum ClientRuntime.EndpointError + +final class AccountIDEndpointModeTests: XCTestCase { + private let accountID = "0123456789" + + // MARK: - Tests + + // MARK: nil + + func test_nilMode_prefersByDefault() async throws { + let subject = try await subject(accountIDEndpointMode: nil, setAccountID: true) + + do { + _ = try await subject.getItem(input: GetItemInput()) + XCTFail("Request should have thrown") + } catch TestCheckError.actual(let request) { + XCTAssert(request.endpoint.host.contains(accountID)) + } catch { + XCTFail("Request should have succeeded, threw error: \(error)") + } + } + + func test_nilMode_createsEndpointWithoutAccountID() async throws { + let subject = try await subject(accountIDEndpointMode: nil, setAccountID: false) + + do { + _ = try await subject.getItem(input: GetItemInput()) + XCTFail("Request should have thrown") + } catch TestCheckError.actual(let request) { + XCTAssertFalse(request.endpoint.host.contains(accountID)) + } catch { + XCTFail("Request failed on unexpected error") + } + } + + // MARK: preferred + + func test_preferredMode_prefersByDefault() async throws { + let subject = try await subject(accountIDEndpointMode: .preferred, setAccountID: true) + + do { + _ = try await subject.getItem(input: GetItemInput()) + XCTFail("Request should have thrown") + } catch TestCheckError.actual(let request) { + XCTAssert(request.endpoint.host.contains(accountID)) + } catch { + XCTFail("Request should have succeeded, threw error: \(error)") + } + } + + func test_preferredMode_createsEndpointWithoutAccountID() async throws { + let subject = try await subject(accountIDEndpointMode: .preferred, setAccountID: false) + + do { + _ = try await subject.getItem(input: GetItemInput()) + XCTFail("Request should have thrown") + } catch TestCheckError.actual(let request) { + XCTAssertFalse(request.endpoint.host.contains(accountID)) + } catch { + XCTFail("Request failed on unexpected error") + } + } + + // MARK: required + + func test_requiredMode_createsEndpointWithAccountID() async throws { + let subject = try await subject(accountIDEndpointMode: .required, setAccountID: true) + + do { + _ = try await subject.getItem(input: GetItemInput()) + XCTFail("Request should have thrown") + } catch TestCheckError.actual(let request) { + XCTAssert(request.endpoint.host.contains(accountID)) + } catch { + XCTFail("Request should have succeeded, threw error: \(error)") + } + } + + func test_requiredMode_failsWhenRequiredButNotPresent() async throws { + let subject = try await subject(accountIDEndpointMode: .required, setAccountID: false) + + do { + _ = try await subject.getItem(input: GetItemInput()) + XCTFail("Request should have thrown") + } catch EndpointError.unresolved { + // No action, test succeeded + } catch { + XCTFail("Request failed on unexpected error") + } + } + + // MARK: disabled + + func test_disabledMode_createsEndpointWithoutAccountIDWhenNil() async throws { + let subject = try await subject(accountIDEndpointMode: .disabled, setAccountID: false) + + do { + _ = try await subject.getItem(input: GetItemInput()) + XCTFail("Request should have thrown") + } catch TestCheckError.actual(let request) { + XCTAssertFalse(request.endpoint.host.contains(accountID)) + } catch { + XCTFail("Request failed on unexpected error") + } + } + + func test_disabledMode_createsEndpointWithoutAccountIDWhenSupplied() async throws { + let subject = try await subject(accountIDEndpointMode: .disabled, setAccountID: true) + + do { + _ = try await subject.getItem(input: GetItemInput()) + XCTFail("Request should have thrown") + } catch TestCheckError.actual(let request) { + XCTAssertFalse(request.endpoint.host.contains(accountID)) + } catch { + XCTFail("Request failed on unexpected error") + } + } + + // MARK: - Private methods + + private func subject( + accountIDEndpointMode: AccountIDEndpointMode?, + setAccountID: Bool + ) async throws -> DynamoDBClient { + let accountID = setAccountID ? self.accountID : nil + let credentials = AWSCredentialIdentity(accessKey: "abc", secret: "def", accountID: accountID) + let resolver = try StaticAWSCredentialIdentityResolver(credentials) + let config = try await DynamoDBClient.Config( + awsCredentialIdentityResolver: resolver, + region: "us-east-1", + accountIdEndpointMode: accountIDEndpointMode, + httpClientEngine: ProtocolTestClient() + ) + return DynamoDBClient(config: config) + } +} diff --git a/IntegrationTests/Services/AWSDynamoDBIntegrationTests/Resources/.gitkeep b/IntegrationTests/Services/AWSDynamoDBIntegrationTests/Resources/.gitkeep new file mode 100644 index 00000000000..e69de29bb2d diff --git a/IntegrationTests/XCTestPlans/AWSIntegrationTestsOnCI.xctestplan b/IntegrationTests/XCTestPlans/AWSIntegrationTestsOnCI.xctestplan index eb8e344e930..24326dba6d3 100644 --- a/IntegrationTests/XCTestPlans/AWSIntegrationTestsOnCI.xctestplan +++ b/IntegrationTests/XCTestPlans/AWSIntegrationTestsOnCI.xctestplan @@ -17,43 +17,43 @@ { "target" : { "containerPath" : "container:", - "identifier" : "AWSCognitoIdentityIntegrationTests", - "name" : "AWSCognitoIdentityIntegrationTests" + "identifier" : "AWSSQSIntegrationTests", + "name" : "AWSSQSIntegrationTests" } }, { "target" : { "containerPath" : "container:", - "identifier" : "AWSSTSIntegrationTests", - "name" : "AWSSTSIntegrationTests" + "identifier" : "AWSKinesisIntegrationTests", + "name" : "AWSKinesisIntegrationTests" } }, { "target" : { "containerPath" : "container:", - "identifier" : "AWSTranscribeStreamingIntegrationTests", - "name" : "AWSTranscribeStreamingIntegrationTests" + "identifier" : "AWSEC2IntegrationTests", + "name" : "AWSEC2IntegrationTests" } }, { "target" : { "containerPath" : "container:", - "identifier" : "AWSECSIntegrationTests", - "name" : "AWSECSIntegrationTests" + "identifier" : "AWSSTSIntegrationTests", + "name" : "AWSSTSIntegrationTests" } }, { "target" : { "containerPath" : "container:", - "identifier" : "AWSGlacierIntegrationTests", - "name" : "AWSGlacierIntegrationTests" + "identifier" : "AWSDynamoDBIntegrationTests", + "name" : "AWSDynamoDBIntegrationTests" } }, { "target" : { "containerPath" : "container:", - "identifier" : "AWSMediaConvertIntegrationTests", - "name" : "AWSMediaConvertIntegrationTests" + "identifier" : "AWSECSIntegrationTests", + "name" : "AWSECSIntegrationTests" } }, { @@ -66,43 +66,50 @@ { "target" : { "containerPath" : "container:", - "identifier" : "AWSSQSIntegrationTests", - "name" : "AWSSQSIntegrationTests" + "identifier" : "AWSS3IntegrationTests", + "name" : "AWSS3IntegrationTests" } }, { "target" : { "containerPath" : "container:", - "identifier" : "AWSEventBridgeIntegrationTests", - "name" : "AWSEventBridgeIntegrationTests" + "identifier" : "AWSCognitoIdentityIntegrationTests", + "name" : "AWSCognitoIdentityIntegrationTests" } }, { "target" : { "containerPath" : "container:", - "identifier" : "AWSEC2IntegrationTests", - "name" : "AWSEC2IntegrationTests" + "identifier" : "AWSTranscribeStreamingIntegrationTests", + "name" : "AWSTranscribeStreamingIntegrationTests" } }, { "target" : { "containerPath" : "container:", - "identifier" : "AWSKinesisIntegrationTests", - "name" : "AWSKinesisIntegrationTests" + "identifier" : "AWSRoute53IntegrationTests", + "name" : "AWSRoute53IntegrationTests" } }, { "target" : { "containerPath" : "container:", - "identifier" : "AWSRoute53IntegrationTests", - "name" : "AWSRoute53IntegrationTests" + "identifier" : "AWSGlacierIntegrationTests", + "name" : "AWSGlacierIntegrationTests" } }, { "target" : { "containerPath" : "container:", - "identifier" : "AWSS3IntegrationTests", - "name" : "AWSS3IntegrationTests" + "identifier" : "AWSMediaConvertIntegrationTests", + "name" : "AWSMediaConvertIntegrationTests" + } + }, + { + "target" : { + "containerPath" : "container:", + "identifier" : "AWSEventBridgeIntegrationTests", + "name" : "AWSEventBridgeIntegrationTests" } } ], diff --git a/Package.swift b/Package.swift index a910d6fa8c7..7ddf3cd13ce 100644 --- a/Package.swift +++ b/Package.swift @@ -15,7 +15,7 @@ import PackageDescription // MARK: - Dynamic Content -let clientRuntimeVersion: Version = "0.109.0" +let clientRuntimeVersion: Version = "0.110.0" let crtVersion: Version = "0.43.0" let excludeRuntimeUnitTests = false @@ -539,7 +539,8 @@ private var runtimeTargets: [Target] { .smithyEventStreamsAuthAPI, .awsSDKCommon, .awsSDKHTTPAuth, - .awsSDKIdentity + .awsSDKIdentity, + .awsSDKChecksums, ], path: "Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime", resources: [ diff --git a/Package.version b/Package.version index 9c193c8bd33..8cfbc905b39 100644 --- a/Package.version +++ b/Package.version @@ -1 +1 @@ -1.0.78 \ No newline at end of file +1.1.1 \ No newline at end of file diff --git a/Package.version.next b/Package.version.next index 9084fa2f716..867e52437ab 100644 --- a/Package.version.next +++ b/Package.version.next @@ -1 +1 @@ -1.1.0 +1.2.0 \ No newline at end of file diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/AWSClientConfigDefaultsProvider.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/AWSClientConfigDefaultsProvider.swift index be56bdd2af0..98b5d1d0051 100644 --- a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/AWSClientConfigDefaultsProvider.swift +++ b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/AWSClientConfigDefaultsProvider.swift @@ -182,4 +182,19 @@ public class AWSClientConfigDefaultsProvider { fileBasedConfig: fileBasedConfig ) } + + public static func accountIDEndpointMode( + _ accountIDEndpointMode: AccountIDEndpointMode? = nil + ) throws -> AccountIDEndpointMode { + let fileBasedConfig = try CRTFileBasedConfiguration.make() + if let accountIDEndpointMode { + return accountIDEndpointMode + } else { + return AWSEndpointConfig.accountIDEndpointMode( + configValue: accountIDEndpointMode, + profileName: nil, + fileBasedConfig: fileBasedConfig + ) + } + } } diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/AWSEndpointConfig.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/AWSEndpointConfig.swift index af37db76337..2a2689f6995 100644 --- a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/AWSEndpointConfig.swift +++ b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/AWSEndpointConfig.swift @@ -12,6 +12,22 @@ import struct Smithy.SwiftLogger @_spi(FileBasedConfig) import AWSSDKCommon public enum AWSEndpointConfig { + + static func accountIDEndpointMode( + configValue: AccountIDEndpointMode?, + profileName: String?, + fileBasedConfig: FileBasedConfiguration + ) -> AccountIDEndpointMode { + FieldResolver( + configValue: configValue, + envVarName: "AWS_ACCOUNT_ID_ENDPOINT_MODE", + configFieldName: "account_id_endpoint_mode", + fileBasedConfig: fileBasedConfig, + profileName: profileName, + converter: { AccountIDEndpointMode(rawValue: $0) } + ).value ?? .preferred + } + static func configuredEndpoint( sdkID: String, ignoreConfiguredEndpointURLs: Bool?, diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/AccountIDEndpointMode.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/AccountIDEndpointMode.swift new file mode 100644 index 00000000000..8ac03ca6ebf --- /dev/null +++ b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/AccountIDEndpointMode.swift @@ -0,0 +1,27 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +/// Determines how & whether an account ID-based endpoint will be used for requests. +public enum AccountIDEndpointMode: String, Equatable { + // Note : these case names match string values for the accountIdEndpointMode endpoint param. + // Do not rename them + + /// An account ID-based endpoint will be used if an account ID is available. + /// + /// This is the default mode. + case preferred // the default case + + /// An account ID-based endpoint will never be used. + /// + /// The request will fail if a non-account ID-based endpoint is not available. + case disabled + + /// An account ID-based endpoint will always be used. + /// + /// The request will fail if an account ID-based endpoint cannot be constructed. + case required +} diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/Context+AccountIDEndpointMode.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/Context+AccountIDEndpointMode.swift new file mode 100644 index 00000000000..995b71ee25f --- /dev/null +++ b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/Context+AccountIDEndpointMode.swift @@ -0,0 +1,30 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +import struct Smithy.Attributes +import struct Smithy.AttributeKey +import class Smithy.Context +import class Smithy.ContextBuilder + +public extension Context { + + var accountIDEndpointMode: AccountIDEndpointMode? { + get { get(key: accountIDEndpointModeKey) } + set { set(key: accountIDEndpointModeKey, value: newValue) } + } +} + +public extension ContextBuilder { + + @discardableResult + func withAccountIDEndpointMode(value: AccountIDEndpointMode?) -> Self { + attributes.set(key: accountIDEndpointModeKey, value: value) + return self + } +} + +private let accountIDEndpointModeKey = AttributeKey(name: "AccountIDEndpointMode") diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/EndpointResolverMiddleware.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/EndpointResolverMiddleware.swift index 067c3ef0b16..1576037cab0 100644 --- a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/EndpointResolverMiddleware.swift +++ b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Endpoints/EndpointResolverMiddleware.swift @@ -18,27 +18,26 @@ import enum ClientRuntime.EndpointsAuthScheme import protocol ClientRuntime.EndpointsAuthSchemeResolver import protocol ClientRuntime.EndpointsRequestContextProviding -public struct EndpointResolverMiddleware { +@_spi(AWSEndpointResolverMiddleware) +public struct AWSEndpointResolverMiddleware { public let id: Swift.String = "EndpointResolverMiddleware" - - let endpointResolverBlock: (Params) throws -> Endpoint - - let endpointParams: Params - + let paramsBlock: (Context) throws -> Params + let resolverBlock: (Params) throws -> Endpoint let authSchemeResolver: ClientRuntime.EndpointsAuthSchemeResolver public init( - endpointResolverBlock: @escaping (Params) throws -> Endpoint, - endpointParams: Params, + paramsBlock: @escaping (Context) throws -> Params, + resolverBlock: @escaping (Params) throws -> Endpoint, authSchemeResolver: EndpointsAuthSchemeResolver = DefaultEndpointsAuthSchemeResolver() ) { - self.endpointResolverBlock = endpointResolverBlock - self.endpointParams = endpointParams + self.paramsBlock = paramsBlock + self.resolverBlock = resolverBlock self.authSchemeResolver = authSchemeResolver } } -extension EndpointResolverMiddleware: ApplyEndpoint { +extension AWSEndpointResolverMiddleware: ApplyEndpoint { + public func apply( request: SmithyHTTPAPI.HTTPRequest, selectedAuthScheme: SelectedAuthScheme?, @@ -46,7 +45,7 @@ extension EndpointResolverMiddleware: ApplyEndpoint { ) async throws -> SmithyHTTPAPI.HTTPRequest { let builder = request.toBuilder() - let endpoint = try endpointResolverBlock(endpointParams) + let endpoint = try resolverBlock(paramsBlock(attributes)) var signingName: String? var signingAlgorithm: String? diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Resources/sdk-partitions.json b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Resources/sdk-partitions.json index 0066ea164ee..43f6449be3c 100644 --- a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Resources/sdk-partitions.json +++ b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/Resources/sdk-partitions.json @@ -92,6 +92,9 @@ "me-south-1" : { "description" : "Middle East (Bahrain)" }, + "mx-central-1" : { + "description" : "Mexico (Central)" + }, "sa-east-1" : { "description" : "South America (Sao Paulo)" }, diff --git a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/BusinessMetrics.swift b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/BusinessMetrics.swift index 5998f9629d3..614aa290b96 100644 --- a/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/BusinessMetrics.swift +++ b/Sources/Core/AWSClientRuntime/Sources/AWSClientRuntime/UserAgent/BusinessMetrics.swift @@ -74,12 +74,33 @@ private func setFlagsIntoContext( case .adaptive: context.businessMetrics = ["RETRY_MODE_ADAPTIVE": "F"] } + + // Handle N if let endpoint = config.endpoint, !endpoint.isEmpty { context.businessMetrics = ["ENDPOINT_OVERRIDE": "N"] } + + // Handle P, Q, R + if let accountIDEndpointMode = context.accountIDEndpointMode { + switch accountIDEndpointMode { + case .preferred: + context.businessMetrics = ["ACCOUNT_ID_MODE_PREFERRED": "P"] + case .disabled: + context.businessMetrics = ["ACCOUNT_ID_MODE_DISABLED": "Q"] + case .required: + context.businessMetrics = ["ACCOUNT_ID_MODE_REQUIRED": "R"] + } + } + if context.selectedAuthScheme?.schemeID == "aws.auth#sigv4a" { context.businessMetrics = ["SIGV4A_SIGNING": "S"] } + + // Handle T + if context.resolvedAccountID != nil { + context.businessMetrics = ["RESOLVED_ACCOUNT_ID": "T"] + } + switch context.checksum { case .crc32: context.businessMetrics = ["FLEXIBLE_CHECKSUMS_REQ_CRC32": "U"] @@ -104,6 +125,7 @@ private func setFlagsIntoContext( } else { context.businessMetrics = ["FLEXIBLE_CHECKSUMS_RES_WHEN_REQUIRED": "c"] } + // Handle M if headers.value(for: "smithy-protocol") == "rpc-v2-cbor" { context.businessMetrics = ["PROTOCOL_RPC_V2_CBOR": "M"] diff --git a/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Endpoints/AWSEndpointConfigTests.swift b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Endpoints/AWSEndpointConfigTests.swift new file mode 100644 index 00000000000..f74aa23aa59 --- /dev/null +++ b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Endpoints/AWSEndpointConfigTests.swift @@ -0,0 +1,39 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +import XCTest +@testable @_spi(FileBasedConfig) import AWSClientRuntime +@_spi(FileBasedConfig) @testable import AWSSDKCommon + +class AWSEndpointConfigTests: XCTestCase { + var fileBasedConfig: FileBasedConfiguration = try! CRTFileBasedConfiguration( + configFilePath: Bundle.module.path(forResource: "aws_endpoint_config_tests", ofType: nil)!, + credentialsFilePath: nil + ) + + // MARK: - accountIdEndpointMode + + func test_accountIdEndpointMode_resolvesAConfigValue() throws { + let subject = AWSEndpointConfig.accountIDEndpointMode(configValue: .required, profileName: nil, fileBasedConfig: fileBasedConfig) + XCTAssertEqual(subject, .required) + } + + func test_accountIdEndpointMode_resolvesDefaultProfile() throws { + let subject = AWSEndpointConfig.accountIDEndpointMode(configValue: nil, profileName: nil, fileBasedConfig: fileBasedConfig) + XCTAssertEqual(subject, .disabled) + } + + func test_accountIdEndpointMode_resolvesSpecifiedProfile() throws { + let subject = AWSEndpointConfig.accountIDEndpointMode(configValue: nil, profileName: "aws-endpoint-config-test", fileBasedConfig: fileBasedConfig) + XCTAssertEqual(subject, .required) + } + + func test_accountIdEndpointMode_defaultsToPreferred() throws { + let subject = AWSEndpointConfig.accountIDEndpointMode(configValue: nil, profileName: "no-such-profile", fileBasedConfig: fileBasedConfig) + XCTAssertEqual(subject, .preferred) + } +} diff --git a/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Resources/aws_endpoint_config_tests b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Resources/aws_endpoint_config_tests new file mode 100644 index 00000000000..5976feaa299 --- /dev/null +++ b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/Resources/aws_endpoint_config_tests @@ -0,0 +1,5 @@ +[default] +account_id_endpoint_mode = disabled + +[profile aws-endpoint-config-test] +account_id_endpoint_mode = required diff --git a/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/BusinessMetricsTests.swift b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/BusinessMetricsTests.swift index 7d98483f746..508f3c12fef 100644 --- a/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/BusinessMetricsTests.swift +++ b/Sources/Core/AWSClientRuntime/Tests/AWSClientRuntimeTests/UserAgent/BusinessMetricsTests.swift @@ -9,6 +9,7 @@ import XCTest import ClientRuntime @testable import AWSClientRuntime import SmithyRetriesAPI +import SmithyHTTPAPI import SmithyHTTPAuthAPI import SmithyHTTPAPI import SmithyIdentity @@ -17,30 +18,25 @@ import Smithy class BusinessMetricsTests: XCTestCase { var context: Context! + var config: UserAgentValuesFromConfig! var headers: Headers! override func setUp() async throws { + config = UserAgentValuesFromConfig(appID: nil, endpoint: nil, awsRetryMode: .standard, requestChecksumCalculation: .whenSupported, responseChecksumValidation: .whenSupported) context = Context(attributes: Attributes()) headers = Headers() } + // MARK: - Truncation + func test_business_metrics_section_truncation() { context.businessMetrics = ["SHORT_FILLER": "A"] let longMetricValue = String(repeating: "F", count: 1025) context.businessMetrics = ["LONG_FILLER": longMetricValue] - let userAgent = AWSUserAgentMetadata.fromConfigAndContext( - serviceID: "test", - version: "1.0", - config: UserAgentValuesFromConfig( - appID: nil, - endpoint: nil, - awsRetryMode: .standard, - requestChecksumCalculation: .whenRequired, - responseChecksumValidation: .whenRequired - ), - context: context, - headers: headers - ) + config = UserAgentValuesFromConfig(appID: nil, endpoint: nil, awsRetryMode: .standard, requestChecksumCalculation: .whenRequired, responseChecksumValidation: .whenRequired) + + let userAgent = createTestUserAgent() + // Assert values in context match with values assigned to user agent XCTAssertEqual(userAgent.businessMetrics?.features, context.businessMetrics) // Assert string gets truncated successfully @@ -48,6 +44,8 @@ class BusinessMetricsTests: XCTestCase { XCTAssertEqual(userAgent.businessMetrics?.description, expectedTruncatedString) } + // MARK: - Multiple flags + func test_multiple_flags_in_context() { context.businessMetrics = ["FIRST": "A"] context.businessMetrics = ["SECOND": "B"] @@ -57,21 +55,62 @@ class BusinessMetricsTests: XCTestCase { signingProperties: nil, signer: nil )) - let userAgent = AWSUserAgentMetadata.fromConfigAndContext( + + config = UserAgentValuesFromConfig(appID: nil, endpoint: "test-endpoint", awsRetryMode: .adaptive, requestChecksumCalculation: .whenSupported, responseChecksumValidation: .whenSupported) + let userAgent = createTestUserAgent() + + // F comes from retry mode being adaptive & N comes from endpoint override + let expectedString = "m/A,B,F,N,S,Z,b" + XCTAssertEqual(userAgent.businessMetrics?.description, expectedString) + } + + // MARK: - AccountIDEndpointMode + + func test_accountIDEndpointMode_recordsPreferredCorrectly() { + context.accountIDEndpointMode = .preferred + + let userAgent = createTestUserAgent() + + // E comes from retry mode & P comes from preferred account ID endpoint mode + let expectedString = "m/E,P,Z,b" + XCTAssertEqual(userAgent.businessMetrics?.description, expectedString) + } + + func test_accountIDEndpointMode_recordsDisabledCorrectly() { + context.accountIDEndpointMode = .disabled + + let userAgent = createTestUserAgent() + + // E comes from retry mode & Q comes from disabled account ID endpoint mode + let expectedString = "m/E,Q,Z,b" + XCTAssertEqual(userAgent.businessMetrics?.description, expectedString) + } + + func test_accountIDEndpointMode_recordsRequiredCorrectly() { + context.accountIDEndpointMode = .required + + let userAgent = createTestUserAgent() + + // E comes from retry mode & R comes from required account ID endpoint mode + let expectedString = "m/E,R,Z,b" + XCTAssertEqual(userAgent.businessMetrics?.description, expectedString) + } + + // MARK: - Private methods + + private func createTestUserAgent() -> AWSUserAgentMetadata { + AWSUserAgentMetadata.fromConfigAndContext( serviceID: "test", version: "1.0", - config: UserAgentValuesFromConfig( - appID: nil, - endpoint: "test-endpoint", - awsRetryMode: .adaptive, - requestChecksumCalculation: .whenSupported, - responseChecksumValidation: .whenSupported - ), + config: config, context: context, headers: headers ) - // F comes from retry mode being adaptive & N comes from endpoint override - let expectedString = "m/A,B,F,N,S,Z,b" - XCTAssertEqual(userAgent.businessMetrics?.description, expectedString) + } + + private func configureContext(host: String, accountID: String) { + let selectedAuthScheme = SelectedAuthScheme(schemeID: "aws.auth#sigv4", identity: AWSCredentialIdentity(accessKey: "abc", secret: "def", accountID: accountID), signingProperties: Attributes(), signer: nil) + context.selectedAuthScheme = selectedAuthScheme + let uri = URIBuilder().withScheme(.https).withPath("/").withHost(host).build() } } diff --git a/Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/Context+ResolvedAccountID.swift b/Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/Context+ResolvedAccountID.swift new file mode 100644 index 00000000000..11e5f2a286b --- /dev/null +++ b/Sources/Core/AWSSDKIdentity/Sources/AWSSDKIdentity/Context+ResolvedAccountID.swift @@ -0,0 +1,20 @@ +// +// Copyright Amazon.com Inc. or its affiliates. +// All Rights Reserved. +// +// SPDX-License-Identifier: Apache-2.0 +// + +import class Smithy.Context +import struct Smithy.AttributeKey +import struct SmithyIdentity.AWSCredentialIdentity + +public extension Context { + + /// The AWS account ID associated with the selected auth scheme. + /// + /// Will be `nil` if an auth scheme has not yet been selected, an AWS credential identity was not resolved, or the identity did not resolve with an AWS account ID. + var resolvedAccountID: String? { + (selectedAuthScheme?.identity as? AWSCredentialIdentity)?.accountID + } +} diff --git a/Sources/Services/AWSACM/Package.swift.txt b/Sources/Services/AWSACM/Package.swift.txt index 1a738b3ac34..433b1fd84ab 100644 --- a/Sources/Services/AWSACM/Package.swift.txt +++ b/Sources/Services/AWSACM/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSACM/Sources/AWSACM/ACMClient.swift b/Sources/Services/AWSACM/Sources/AWSACM/ACMClient.swift index 13b29b38044..f90a98720d6 100644 --- a/Sources/Services/AWSACM/Sources/AWSACM/ACMClient.swift +++ b/Sources/Services/AWSACM/Sources/AWSACM/ACMClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ACMClient: ClientRuntime.Client { public static let clientName = "ACMClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ACMClient.ACMClientConfiguration let serviceName = "ACM" @@ -94,6 +95,8 @@ extension ACMClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension ACMClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension ACMClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension ACMClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension ACMClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension ACMClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension ACMClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension ACMClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension ACMClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension ACMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm") .withSigningRegion(value: config.signingRegion) .build() @@ -449,6 +470,8 @@ extension ACMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm") .withSigningRegion(value: config.signingRegion) .build() @@ -521,6 +544,8 @@ extension ACMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm") .withSigningRegion(value: config.signingRegion) .build() @@ -594,6 +619,8 @@ extension ACMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm") .withSigningRegion(value: config.signingRegion) .build() @@ -666,6 +693,8 @@ extension ACMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm") .withSigningRegion(value: config.signingRegion) .build() @@ -739,6 +768,8 @@ extension ACMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm") .withSigningRegion(value: config.signingRegion) .build() @@ -841,6 +872,8 @@ extension ACMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm") .withSigningRegion(value: config.signingRegion) .build() @@ -913,6 +946,8 @@ extension ACMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm") .withSigningRegion(value: config.signingRegion) .build() @@ -985,6 +1020,8 @@ extension ACMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm") .withSigningRegion(value: config.signingRegion) .build() @@ -1059,6 +1096,8 @@ extension ACMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm") .withSigningRegion(value: config.signingRegion) .build() @@ -1135,6 +1174,8 @@ extension ACMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm") .withSigningRegion(value: config.signingRegion) .build() @@ -1207,6 +1248,8 @@ extension ACMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm") .withSigningRegion(value: config.signingRegion) .build() @@ -1284,6 +1327,8 @@ extension ACMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm") .withSigningRegion(value: config.signingRegion) .build() @@ -1358,6 +1403,8 @@ extension ACMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm") .withSigningRegion(value: config.signingRegion) .build() @@ -1432,6 +1479,8 @@ extension ACMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSACMPCA/Package.swift.txt b/Sources/Services/AWSACMPCA/Package.swift.txt index 4aed95ed268..fd470aaa125 100644 --- a/Sources/Services/AWSACMPCA/Package.swift.txt +++ b/Sources/Services/AWSACMPCA/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSACMPCA/Sources/AWSACMPCA/ACMPCAClient.swift b/Sources/Services/AWSACMPCA/Sources/AWSACMPCA/ACMPCAClient.swift index 2e58b224c07..d81c66b7f35 100644 --- a/Sources/Services/AWSACMPCA/Sources/AWSACMPCA/ACMPCAClient.swift +++ b/Sources/Services/AWSACMPCA/Sources/AWSACMPCA/ACMPCAClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ACMPCAClient: ClientRuntime.Client { public static let clientName = "ACMPCAClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ACMPCAClient.ACMPCAClientConfiguration let serviceName = "ACM PCA" @@ -94,6 +95,8 @@ extension ACMPCAClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension ACMPCAClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension ACMPCAClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension ACMPCAClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension ACMPCAClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension ACMPCAClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension ACMPCAClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension ACMPCAClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension ACMPCAClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension ACMPCAClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm-pca") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension ACMPCAClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm-pca") .withSigningRegion(value: config.signingRegion) .build() @@ -528,6 +551,8 @@ extension ACMPCAClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm-pca") .withSigningRegion(value: config.signingRegion) .build() @@ -602,6 +627,8 @@ extension ACMPCAClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm-pca") .withSigningRegion(value: config.signingRegion) .build() @@ -682,6 +709,8 @@ extension ACMPCAClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm-pca") .withSigningRegion(value: config.signingRegion) .build() @@ -766,6 +795,8 @@ extension ACMPCAClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm-pca") .withSigningRegion(value: config.signingRegion) .build() @@ -852,6 +883,8 @@ extension ACMPCAClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm-pca") .withSigningRegion(value: config.signingRegion) .build() @@ -925,6 +958,8 @@ extension ACMPCAClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm-pca") .withSigningRegion(value: config.signingRegion) .build() @@ -1000,6 +1035,8 @@ extension ACMPCAClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm-pca") .withSigningRegion(value: config.signingRegion) .build() @@ -1073,6 +1110,8 @@ extension ACMPCAClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm-pca") .withSigningRegion(value: config.signingRegion) .build() @@ -1148,6 +1187,8 @@ extension ACMPCAClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm-pca") .withSigningRegion(value: config.signingRegion) .build() @@ -1230,6 +1271,8 @@ extension ACMPCAClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm-pca") .withSigningRegion(value: config.signingRegion) .build() @@ -1386,6 +1429,8 @@ extension ACMPCAClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm-pca") .withSigningRegion(value: config.signingRegion) .build() @@ -1462,6 +1507,8 @@ extension ACMPCAClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm-pca") .withSigningRegion(value: config.signingRegion) .build() @@ -1533,6 +1580,8 @@ extension ACMPCAClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm-pca") .withSigningRegion(value: config.signingRegion) .build() @@ -1614,6 +1663,8 @@ extension ACMPCAClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm-pca") .withSigningRegion(value: config.signingRegion) .build() @@ -1687,6 +1738,8 @@ extension ACMPCAClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm-pca") .withSigningRegion(value: config.signingRegion) .build() @@ -1772,6 +1825,8 @@ extension ACMPCAClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm-pca") .withSigningRegion(value: config.signingRegion) .build() @@ -1845,6 +1900,8 @@ extension ACMPCAClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm-pca") .withSigningRegion(value: config.signingRegion) .build() @@ -1924,6 +1981,8 @@ extension ACMPCAClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm-pca") .withSigningRegion(value: config.signingRegion) .build() @@ -1999,6 +2058,8 @@ extension ACMPCAClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm-pca") .withSigningRegion(value: config.signingRegion) .build() @@ -2073,6 +2134,8 @@ extension ACMPCAClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm-pca") .withSigningRegion(value: config.signingRegion) .build() @@ -2149,6 +2212,8 @@ extension ACMPCAClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "acm-pca") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSAPIGateway/Package.swift.txt b/Sources/Services/AWSAPIGateway/Package.swift.txt index 9f0bb11c520..ad7ef721e41 100644 --- a/Sources/Services/AWSAPIGateway/Package.swift.txt +++ b/Sources/Services/AWSAPIGateway/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSAPIGateway/Sources/AWSAPIGateway/APIGatewayClient.swift b/Sources/Services/AWSAPIGateway/Sources/AWSAPIGateway/APIGatewayClient.swift index d152d7ae024..066f4baf964 100644 --- a/Sources/Services/AWSAPIGateway/Sources/AWSAPIGateway/APIGatewayClient.swift +++ b/Sources/Services/AWSAPIGateway/Sources/AWSAPIGateway/APIGatewayClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -68,7 +69,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class APIGatewayClient: ClientRuntime.Client { public static let clientName = "APIGatewayClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: APIGatewayClient.APIGatewayClientConfiguration let serviceName = "API Gateway" @@ -98,6 +99,8 @@ extension APIGatewayClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -123,6 +126,8 @@ extension APIGatewayClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -146,6 +151,8 @@ extension APIGatewayClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -172,6 +179,8 @@ extension APIGatewayClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -196,6 +205,8 @@ extension APIGatewayClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -222,6 +233,8 @@ extension APIGatewayClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -246,6 +259,8 @@ extension APIGatewayClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -273,6 +288,8 @@ extension APIGatewayClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -300,6 +317,8 @@ extension APIGatewayClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -376,6 +395,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -452,6 +473,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -528,6 +551,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -606,6 +631,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -682,6 +709,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -758,6 +787,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -833,6 +864,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -908,6 +941,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -984,6 +1019,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1060,6 +1097,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1136,6 +1175,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1211,6 +1252,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1287,6 +1330,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1363,6 +1408,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1439,6 +1486,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1514,6 +1563,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1589,6 +1640,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1661,6 +1714,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1733,6 +1788,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1806,6 +1863,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1879,6 +1938,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1951,6 +2012,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2023,6 +2086,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2095,6 +2160,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2168,6 +2235,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2240,6 +2309,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2312,6 +2383,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2384,6 +2457,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2455,6 +2530,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2527,6 +2604,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2599,6 +2678,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2671,6 +2752,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2743,6 +2826,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2815,6 +2900,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2888,6 +2975,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2960,6 +3049,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3032,6 +3123,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3104,6 +3197,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3177,6 +3272,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3250,6 +3347,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3322,6 +3421,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3396,6 +3497,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3467,6 +3570,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3539,6 +3644,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3611,6 +3718,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3682,6 +3791,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3754,6 +3865,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3826,6 +3939,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3898,6 +4013,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3969,6 +4086,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4042,6 +4161,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4115,6 +4236,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4187,6 +4310,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4258,6 +4383,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4329,6 +4456,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4400,6 +4529,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4472,6 +4603,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4544,6 +4677,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4616,6 +4751,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4690,6 +4827,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4763,6 +4902,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4834,6 +4975,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4906,6 +5049,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4977,6 +5122,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -5047,6 +5194,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -5117,6 +5266,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -5188,6 +5339,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -5260,6 +5413,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -5331,6 +5486,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -5403,6 +5560,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -5474,6 +5633,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -5545,6 +5706,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -5617,6 +5780,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -5689,6 +5854,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -5760,6 +5927,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -5834,6 +6003,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -5906,6 +6077,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -5977,6 +6150,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -6051,6 +6226,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -6124,6 +6301,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -6196,6 +6375,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -6268,6 +6449,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -6340,6 +6523,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -6411,6 +6596,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -6482,6 +6669,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -6554,6 +6743,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -6626,6 +6817,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -6697,6 +6890,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -6771,6 +6966,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -6848,6 +7045,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -6925,6 +7124,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -7002,6 +7203,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -7078,6 +7281,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -7154,6 +7359,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -7230,6 +7437,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -7306,6 +7515,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -7382,6 +7593,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -7458,6 +7671,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -7532,6 +7747,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -7606,6 +7823,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -7680,6 +7899,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -7756,6 +7977,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -7830,6 +8053,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -7906,6 +8131,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -7982,6 +8209,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -8058,6 +8287,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -8135,6 +8366,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -8212,6 +8445,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -8288,6 +8523,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -8364,6 +8601,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -8440,6 +8679,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -8517,6 +8758,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -8593,6 +8836,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -8669,6 +8914,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -8744,6 +8991,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -8820,6 +9069,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -8896,6 +9147,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -8972,6 +9225,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -9047,6 +9302,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -9123,6 +9380,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -9199,6 +9458,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -9275,6 +9536,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -9351,6 +9614,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -9427,6 +9692,8 @@ extension APIGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSAPIGateway/Sources/AWSAPIGateway/Models.swift b/Sources/Services/AWSAPIGateway/Sources/AWSAPIGateway/Models.swift index 0234aeea817..f97ea3f9ec3 100644 --- a/Sources/Services/AWSAPIGateway/Sources/AWSAPIGateway/Models.swift +++ b/Sources/Services/AWSAPIGateway/Sources/AWSAPIGateway/Models.swift @@ -804,7 +804,7 @@ public struct CreateBasePathMappingInput: Swift.Sendable { /// The domain name of the BasePathMapping resource to create. /// This member is required. public var domainName: Swift.String? - /// The identifier for the domain name resource. Supported only for private custom domain names. + /// The identifier for the domain name resource. Required for private custom domain names. public var domainNameId: Swift.String? /// The string identifier of the associated RestApi. /// This member is required. @@ -4092,7 +4092,7 @@ public struct GetDomainNameInput: Swift.Sendable { /// The name of the DomainName resource. /// This member is required. public var domainName: Swift.String? - /// The identifier for the domain name resource. Supported only for private custom domain names. + /// The identifier for the domain name resource. Required for private custom domain names. public var domainNameId: Swift.String? public init( diff --git a/Sources/Services/AWSARCZonalShift/Package.swift.txt b/Sources/Services/AWSARCZonalShift/Package.swift.txt index 783c4baf60d..75649b5a650 100644 --- a/Sources/Services/AWSARCZonalShift/Package.swift.txt +++ b/Sources/Services/AWSARCZonalShift/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSARCZonalShift/Sources/AWSARCZonalShift/ARCZonalShiftClient.swift b/Sources/Services/AWSARCZonalShift/Sources/AWSARCZonalShift/ARCZonalShiftClient.swift index 6b28bcf2c55..9bcc31e6a8b 100644 --- a/Sources/Services/AWSARCZonalShift/Sources/AWSARCZonalShift/ARCZonalShiftClient.swift +++ b/Sources/Services/AWSARCZonalShift/Sources/AWSARCZonalShift/ARCZonalShiftClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ARCZonalShiftClient: ClientRuntime.Client { public static let clientName = "ARCZonalShiftClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ARCZonalShiftClient.ARCZonalShiftClientConfiguration let serviceName = "ARC Zonal Shift" @@ -94,6 +95,8 @@ extension ARCZonalShiftClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension ARCZonalShiftClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension ARCZonalShiftClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension ARCZonalShiftClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension ARCZonalShiftClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension ARCZonalShiftClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension ARCZonalShiftClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension ARCZonalShiftClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension ARCZonalShiftClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension ARCZonalShiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "arc-zonal-shift") .withSigningRegion(value: config.signingRegion) .build() @@ -444,6 +465,8 @@ extension ARCZonalShiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "arc-zonal-shift") .withSigningRegion(value: config.signingRegion) .build() @@ -519,6 +542,8 @@ extension ARCZonalShiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "arc-zonal-shift") .withSigningRegion(value: config.signingRegion) .build() @@ -588,6 +613,8 @@ extension ARCZonalShiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "arc-zonal-shift") .withSigningRegion(value: config.signingRegion) .build() @@ -659,6 +686,8 @@ extension ARCZonalShiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "arc-zonal-shift") .withSigningRegion(value: config.signingRegion) .build() @@ -729,6 +758,8 @@ extension ARCZonalShiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "arc-zonal-shift") .withSigningRegion(value: config.signingRegion) .build() @@ -800,6 +831,8 @@ extension ARCZonalShiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "arc-zonal-shift") .withSigningRegion(value: config.signingRegion) .build() @@ -871,6 +904,8 @@ extension ARCZonalShiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "arc-zonal-shift") .withSigningRegion(value: config.signingRegion) .build() @@ -944,6 +979,8 @@ extension ARCZonalShiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "arc-zonal-shift") .withSigningRegion(value: config.signingRegion) .build() @@ -1017,6 +1054,8 @@ extension ARCZonalShiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "arc-zonal-shift") .withSigningRegion(value: config.signingRegion) .build() @@ -1092,6 +1131,8 @@ extension ARCZonalShiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "arc-zonal-shift") .withSigningRegion(value: config.signingRegion) .build() @@ -1167,6 +1208,8 @@ extension ARCZonalShiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "arc-zonal-shift") .withSigningRegion(value: config.signingRegion) .build() @@ -1242,6 +1285,8 @@ extension ARCZonalShiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "arc-zonal-shift") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSAccessAnalyzer/Package.swift.txt b/Sources/Services/AWSAccessAnalyzer/Package.swift.txt index 7bd180729b2..83dcbfd77d5 100644 --- a/Sources/Services/AWSAccessAnalyzer/Package.swift.txt +++ b/Sources/Services/AWSAccessAnalyzer/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSAccessAnalyzer/Sources/AWSAccessAnalyzer/AccessAnalyzerClient.swift b/Sources/Services/AWSAccessAnalyzer/Sources/AWSAccessAnalyzer/AccessAnalyzerClient.swift index c6f24cebf6a..157ca46888e 100644 --- a/Sources/Services/AWSAccessAnalyzer/Sources/AWSAccessAnalyzer/AccessAnalyzerClient.swift +++ b/Sources/Services/AWSAccessAnalyzer/Sources/AWSAccessAnalyzer/AccessAnalyzerClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AccessAnalyzerClient: ClientRuntime.Client { public static let clientName = "AccessAnalyzerClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: AccessAnalyzerClient.AccessAnalyzerClientConfiguration let serviceName = "AccessAnalyzer" @@ -95,6 +96,8 @@ extension AccessAnalyzerClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension AccessAnalyzerClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension AccessAnalyzerClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension AccessAnalyzerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension AccessAnalyzerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension AccessAnalyzerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension AccessAnalyzerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension AccessAnalyzerClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension AccessAnalyzerClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() @@ -518,6 +541,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() @@ -593,6 +618,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() @@ -668,6 +695,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() @@ -744,6 +773,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() @@ -820,6 +851,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() @@ -897,6 +930,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() @@ -972,6 +1007,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() @@ -1045,6 +1082,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() @@ -1117,6 +1156,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() @@ -1189,6 +1230,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() @@ -1261,6 +1304,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() @@ -1333,6 +1378,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() @@ -1404,6 +1451,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() @@ -1475,6 +1524,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() @@ -1547,6 +1598,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() @@ -1619,6 +1672,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() @@ -1690,6 +1745,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() @@ -1763,6 +1820,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() @@ -1837,6 +1896,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() @@ -1909,6 +1970,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() @@ -1982,6 +2045,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() @@ -2053,6 +2118,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() @@ -2125,6 +2192,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() @@ -2199,6 +2268,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() @@ -2272,6 +2343,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() @@ -2344,6 +2417,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() @@ -2416,6 +2491,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() @@ -2491,6 +2568,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() @@ -2565,6 +2644,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() @@ -2639,6 +2720,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() @@ -2712,6 +2795,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() @@ -2786,6 +2871,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() @@ -2861,6 +2948,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() @@ -2935,6 +3024,8 @@ extension AccessAnalyzerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "access-analyzer") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSAccount/Package.swift.txt b/Sources/Services/AWSAccount/Package.swift.txt index 9d8c85d3c11..4abe3e08400 100644 --- a/Sources/Services/AWSAccount/Package.swift.txt +++ b/Sources/Services/AWSAccount/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSAccount/Sources/AWSAccount/AccountClient.swift b/Sources/Services/AWSAccount/Sources/AWSAccount/AccountClient.swift index 08f8a96b24e..540771dbc36 100644 --- a/Sources/Services/AWSAccount/Sources/AWSAccount/AccountClient.swift +++ b/Sources/Services/AWSAccount/Sources/AWSAccount/AccountClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -62,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AccountClient: ClientRuntime.Client { public static let clientName = "AccountClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: AccountClient.AccountClientConfiguration let serviceName = "Account" @@ -92,6 +93,8 @@ extension AccountClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -117,6 +120,8 @@ extension AccountClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -140,6 +145,8 @@ extension AccountClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -166,6 +173,8 @@ extension AccountClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -190,6 +199,8 @@ extension AccountClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -216,6 +227,8 @@ extension AccountClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -240,6 +253,8 @@ extension AccountClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -267,6 +282,8 @@ extension AccountClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -294,6 +311,8 @@ extension AccountClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension AccountClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "account") .withSigningRegion(value: config.signingRegion) .build() @@ -444,6 +465,8 @@ extension AccountClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "account") .withSigningRegion(value: config.signingRegion) .build() @@ -518,6 +541,8 @@ extension AccountClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "account") .withSigningRegion(value: config.signingRegion) .build() @@ -592,6 +617,8 @@ extension AccountClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "account") .withSigningRegion(value: config.signingRegion) .build() @@ -666,6 +693,8 @@ extension AccountClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "account") .withSigningRegion(value: config.signingRegion) .build() @@ -740,6 +769,8 @@ extension AccountClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "account") .withSigningRegion(value: config.signingRegion) .build() @@ -814,6 +845,8 @@ extension AccountClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "account") .withSigningRegion(value: config.signingRegion) .build() @@ -887,6 +920,8 @@ extension AccountClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "account") .withSigningRegion(value: config.signingRegion) .build() @@ -960,6 +995,8 @@ extension AccountClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "account") .withSigningRegion(value: config.signingRegion) .build() @@ -1033,6 +1070,8 @@ extension AccountClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "account") .withSigningRegion(value: config.signingRegion) .build() @@ -1106,6 +1145,8 @@ extension AccountClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "account") .withSigningRegion(value: config.signingRegion) .build() @@ -1181,6 +1222,8 @@ extension AccountClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "account") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSAmp/Package.swift.txt b/Sources/Services/AWSAmp/Package.swift.txt index 19e3a5292e8..f6987a061e0 100644 --- a/Sources/Services/AWSAmp/Package.swift.txt +++ b/Sources/Services/AWSAmp/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSAmp/Sources/AWSAmp/AmpClient.swift b/Sources/Services/AWSAmp/Sources/AWSAmp/AmpClient.swift index 6f366572153..2ff8332d277 100644 --- a/Sources/Services/AWSAmp/Sources/AWSAmp/AmpClient.swift +++ b/Sources/Services/AWSAmp/Sources/AWSAmp/AmpClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AmpClient: ClientRuntime.Client { public static let clientName = "AmpClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: AmpClient.AmpClientConfiguration let serviceName = "amp" @@ -95,6 +96,8 @@ extension AmpClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension AmpClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension AmpClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension AmpClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension AmpClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension AmpClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension AmpClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension AmpClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension AmpClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension AmpClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aps") .withSigningRegion(value: config.signingRegion) .build() @@ -448,6 +469,8 @@ extension AmpClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aps") .withSigningRegion(value: config.signingRegion) .build() @@ -525,6 +548,8 @@ extension AmpClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aps") .withSigningRegion(value: config.signingRegion) .build() @@ -602,6 +627,8 @@ extension AmpClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aps") .withSigningRegion(value: config.signingRegion) .build() @@ -678,6 +705,8 @@ extension AmpClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aps") .withSigningRegion(value: config.signingRegion) .build() @@ -754,6 +783,8 @@ extension AmpClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aps") .withSigningRegion(value: config.signingRegion) .build() @@ -827,6 +858,8 @@ extension AmpClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aps") .withSigningRegion(value: config.signingRegion) .build() @@ -901,6 +934,8 @@ extension AmpClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aps") .withSigningRegion(value: config.signingRegion) .build() @@ -975,6 +1010,8 @@ extension AmpClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aps") .withSigningRegion(value: config.signingRegion) .build() @@ -1049,6 +1086,8 @@ extension AmpClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aps") .withSigningRegion(value: config.signingRegion) .build() @@ -1122,6 +1161,8 @@ extension AmpClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aps") .withSigningRegion(value: config.signingRegion) .build() @@ -1192,6 +1233,8 @@ extension AmpClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aps") .withSigningRegion(value: config.signingRegion) .build() @@ -1263,6 +1306,8 @@ extension AmpClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aps") .withSigningRegion(value: config.signingRegion) .build() @@ -1334,6 +1379,8 @@ extension AmpClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aps") .withSigningRegion(value: config.signingRegion) .build() @@ -1405,6 +1452,8 @@ extension AmpClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aps") .withSigningRegion(value: config.signingRegion) .build() @@ -1474,6 +1523,8 @@ extension AmpClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aps") .withSigningRegion(value: config.signingRegion) .build() @@ -1545,6 +1596,8 @@ extension AmpClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aps") .withSigningRegion(value: config.signingRegion) .build() @@ -1616,6 +1669,8 @@ extension AmpClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aps") .withSigningRegion(value: config.signingRegion) .build() @@ -1688,6 +1743,8 @@ extension AmpClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aps") .withSigningRegion(value: config.signingRegion) .build() @@ -1758,6 +1815,8 @@ extension AmpClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aps") .withSigningRegion(value: config.signingRegion) .build() @@ -1832,6 +1891,8 @@ extension AmpClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aps") .withSigningRegion(value: config.signingRegion) .build() @@ -1909,6 +1970,8 @@ extension AmpClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aps") .withSigningRegion(value: config.signingRegion) .build() @@ -1984,6 +2047,8 @@ extension AmpClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aps") .withSigningRegion(value: config.signingRegion) .build() @@ -2058,6 +2123,8 @@ extension AmpClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aps") .withSigningRegion(value: config.signingRegion) .build() @@ -2130,6 +2197,8 @@ extension AmpClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aps") .withSigningRegion(value: config.signingRegion) .build() @@ -2207,6 +2276,8 @@ extension AmpClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aps") .withSigningRegion(value: config.signingRegion) .build() @@ -2284,6 +2355,8 @@ extension AmpClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aps") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSAmplify/Package.swift.txt b/Sources/Services/AWSAmplify/Package.swift.txt index 1e1e1602374..0495e70400c 100644 --- a/Sources/Services/AWSAmplify/Package.swift.txt +++ b/Sources/Services/AWSAmplify/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSAmplify/Sources/AWSAmplify/AmplifyClient.swift b/Sources/Services/AWSAmplify/Sources/AWSAmplify/AmplifyClient.swift index 552ac1c7f9e..7644de5da78 100644 --- a/Sources/Services/AWSAmplify/Sources/AWSAmplify/AmplifyClient.swift +++ b/Sources/Services/AWSAmplify/Sources/AWSAmplify/AmplifyClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AmplifyClient: ClientRuntime.Client { public static let clientName = "AmplifyClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: AmplifyClient.AmplifyClientConfiguration let serviceName = "Amplify" @@ -94,6 +95,8 @@ extension AmplifyClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension AmplifyClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension AmplifyClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension AmplifyClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension AmplifyClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension AmplifyClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension AmplifyClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension AmplifyClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension AmplifyClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -445,6 +466,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -520,6 +543,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -593,6 +618,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -668,6 +695,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -743,6 +772,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -817,6 +848,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -888,6 +921,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -959,6 +994,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -1030,6 +1067,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -1101,6 +1140,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -1172,6 +1213,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -1242,6 +1285,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -1315,6 +1360,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -1386,6 +1433,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -1456,6 +1505,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -1526,6 +1577,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -1596,6 +1649,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -1667,6 +1722,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -1738,6 +1795,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -1807,6 +1866,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -1878,6 +1939,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -1948,6 +2011,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -2018,6 +2083,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -2088,6 +2155,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -2159,6 +2228,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -2229,6 +2300,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -2299,6 +2372,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -2371,6 +2446,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -2445,6 +2522,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -2519,6 +2598,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -2588,6 +2669,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -2660,6 +2743,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -2731,6 +2816,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -2805,6 +2892,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -2879,6 +2968,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() @@ -2953,6 +3044,8 @@ extension AmplifyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplify") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSAmplifyBackend/Package.swift.txt b/Sources/Services/AWSAmplifyBackend/Package.swift.txt index 58170b3d1f5..492d65791ee 100644 --- a/Sources/Services/AWSAmplifyBackend/Package.swift.txt +++ b/Sources/Services/AWSAmplifyBackend/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSAmplifyBackend/Sources/AWSAmplifyBackend/AmplifyBackendClient.swift b/Sources/Services/AWSAmplifyBackend/Sources/AWSAmplifyBackend/AmplifyBackendClient.swift index bf0395fd086..fc4d0e60d62 100644 --- a/Sources/Services/AWSAmplifyBackend/Sources/AWSAmplifyBackend/AmplifyBackendClient.swift +++ b/Sources/Services/AWSAmplifyBackend/Sources/AWSAmplifyBackend/AmplifyBackendClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -62,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AmplifyBackendClient: ClientRuntime.Client { public static let clientName = "AmplifyBackendClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: AmplifyBackendClient.AmplifyBackendClientConfiguration let serviceName = "AmplifyBackend" @@ -92,6 +93,8 @@ extension AmplifyBackendClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -117,6 +120,8 @@ extension AmplifyBackendClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -140,6 +145,8 @@ extension AmplifyBackendClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -166,6 +173,8 @@ extension AmplifyBackendClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -190,6 +199,8 @@ extension AmplifyBackendClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -216,6 +227,8 @@ extension AmplifyBackendClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -240,6 +253,8 @@ extension AmplifyBackendClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -267,6 +282,8 @@ extension AmplifyBackendClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -294,6 +311,8 @@ extension AmplifyBackendClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -368,6 +387,8 @@ extension AmplifyBackendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifybackend") .withSigningRegion(value: config.signingRegion) .build() @@ -441,6 +462,8 @@ extension AmplifyBackendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifybackend") .withSigningRegion(value: config.signingRegion) .build() @@ -514,6 +537,8 @@ extension AmplifyBackendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifybackend") .withSigningRegion(value: config.signingRegion) .build() @@ -587,6 +612,8 @@ extension AmplifyBackendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifybackend") .withSigningRegion(value: config.signingRegion) .build() @@ -660,6 +687,8 @@ extension AmplifyBackendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifybackend") .withSigningRegion(value: config.signingRegion) .build() @@ -733,6 +762,8 @@ extension AmplifyBackendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifybackend") .withSigningRegion(value: config.signingRegion) .build() @@ -806,6 +837,8 @@ extension AmplifyBackendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifybackend") .withSigningRegion(value: config.signingRegion) .build() @@ -876,6 +909,8 @@ extension AmplifyBackendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifybackend") .withSigningRegion(value: config.signingRegion) .build() @@ -946,6 +981,8 @@ extension AmplifyBackendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifybackend") .withSigningRegion(value: config.signingRegion) .build() @@ -1019,6 +1056,8 @@ extension AmplifyBackendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifybackend") .withSigningRegion(value: config.signingRegion) .build() @@ -1092,6 +1131,8 @@ extension AmplifyBackendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifybackend") .withSigningRegion(value: config.signingRegion) .build() @@ -1165,6 +1206,8 @@ extension AmplifyBackendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifybackend") .withSigningRegion(value: config.signingRegion) .build() @@ -1235,6 +1278,8 @@ extension AmplifyBackendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifybackend") .withSigningRegion(value: config.signingRegion) .build() @@ -1308,6 +1353,8 @@ extension AmplifyBackendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifybackend") .withSigningRegion(value: config.signingRegion) .build() @@ -1381,6 +1428,8 @@ extension AmplifyBackendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifybackend") .withSigningRegion(value: config.signingRegion) .build() @@ -1454,6 +1503,8 @@ extension AmplifyBackendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifybackend") .withSigningRegion(value: config.signingRegion) .build() @@ -1527,6 +1578,8 @@ extension AmplifyBackendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifybackend") .withSigningRegion(value: config.signingRegion) .build() @@ -1600,6 +1653,8 @@ extension AmplifyBackendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifybackend") .withSigningRegion(value: config.signingRegion) .build() @@ -1670,6 +1725,8 @@ extension AmplifyBackendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifybackend") .withSigningRegion(value: config.signingRegion) .build() @@ -1743,6 +1800,8 @@ extension AmplifyBackendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifybackend") .withSigningRegion(value: config.signingRegion) .build() @@ -1813,6 +1872,8 @@ extension AmplifyBackendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifybackend") .withSigningRegion(value: config.signingRegion) .build() @@ -1886,6 +1947,8 @@ extension AmplifyBackendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifybackend") .withSigningRegion(value: config.signingRegion) .build() @@ -1959,6 +2022,8 @@ extension AmplifyBackendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifybackend") .withSigningRegion(value: config.signingRegion) .build() @@ -2032,6 +2097,8 @@ extension AmplifyBackendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifybackend") .withSigningRegion(value: config.signingRegion) .build() @@ -2105,6 +2172,8 @@ extension AmplifyBackendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifybackend") .withSigningRegion(value: config.signingRegion) .build() @@ -2178,6 +2247,8 @@ extension AmplifyBackendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifybackend") .withSigningRegion(value: config.signingRegion) .build() @@ -2248,6 +2319,8 @@ extension AmplifyBackendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifybackend") .withSigningRegion(value: config.signingRegion) .build() @@ -2321,6 +2394,8 @@ extension AmplifyBackendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifybackend") .withSigningRegion(value: config.signingRegion) .build() @@ -2394,6 +2469,8 @@ extension AmplifyBackendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifybackend") .withSigningRegion(value: config.signingRegion) .build() @@ -2467,6 +2544,8 @@ extension AmplifyBackendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifybackend") .withSigningRegion(value: config.signingRegion) .build() @@ -2540,6 +2619,8 @@ extension AmplifyBackendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifybackend") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSAmplifyUIBuilder/Package.swift.txt b/Sources/Services/AWSAmplifyUIBuilder/Package.swift.txt index 90ffdd6b6c5..239d87c3e6a 100644 --- a/Sources/Services/AWSAmplifyUIBuilder/Package.swift.txt +++ b/Sources/Services/AWSAmplifyUIBuilder/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSAmplifyUIBuilder/Sources/AWSAmplifyUIBuilder/AmplifyUIBuilderClient.swift b/Sources/Services/AWSAmplifyUIBuilder/Sources/AWSAmplifyUIBuilder/AmplifyUIBuilderClient.swift index 570cb210421..232bd8f58f1 100644 --- a/Sources/Services/AWSAmplifyUIBuilder/Sources/AWSAmplifyUIBuilder/AmplifyUIBuilderClient.swift +++ b/Sources/Services/AWSAmplifyUIBuilder/Sources/AWSAmplifyUIBuilder/AmplifyUIBuilderClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AmplifyUIBuilderClient: ClientRuntime.Client { public static let clientName = "AmplifyUIBuilderClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: AmplifyUIBuilderClient.AmplifyUIBuilderClientConfiguration let serviceName = "AmplifyUIBuilder" @@ -95,6 +96,8 @@ extension AmplifyUIBuilderClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension AmplifyUIBuilderClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension AmplifyUIBuilderClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension AmplifyUIBuilderClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension AmplifyUIBuilderClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension AmplifyUIBuilderClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension AmplifyUIBuilderClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension AmplifyUIBuilderClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension AmplifyUIBuilderClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension AmplifyUIBuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifyuibuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension AmplifyUIBuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifyuibuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -521,6 +544,8 @@ extension AmplifyUIBuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifyuibuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -595,6 +620,8 @@ extension AmplifyUIBuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifyuibuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -664,6 +691,8 @@ extension AmplifyUIBuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifyuibuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -733,6 +762,8 @@ extension AmplifyUIBuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifyuibuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -800,6 +831,8 @@ extension AmplifyUIBuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifyuibuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -871,6 +904,8 @@ extension AmplifyUIBuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifyuibuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -940,6 +975,8 @@ extension AmplifyUIBuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifyuibuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -1009,6 +1046,8 @@ extension AmplifyUIBuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifyuibuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -1080,6 +1119,8 @@ extension AmplifyUIBuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifyuibuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -1149,6 +1190,8 @@ extension AmplifyUIBuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifyuibuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -1218,6 +1261,8 @@ extension AmplifyUIBuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifyuibuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -1286,6 +1331,8 @@ extension AmplifyUIBuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifyuibuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -1355,6 +1402,8 @@ extension AmplifyUIBuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifyuibuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -1424,6 +1473,8 @@ extension AmplifyUIBuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifyuibuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -1493,6 +1544,8 @@ extension AmplifyUIBuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifyuibuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -1562,6 +1615,8 @@ extension AmplifyUIBuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifyuibuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -1634,6 +1689,8 @@ extension AmplifyUIBuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifyuibuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -1702,6 +1759,8 @@ extension AmplifyUIBuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifyuibuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -1771,6 +1830,8 @@ extension AmplifyUIBuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifyuibuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -1841,6 +1902,8 @@ extension AmplifyUIBuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifyuibuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -1913,6 +1976,8 @@ extension AmplifyUIBuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifyuibuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -1989,6 +2054,8 @@ extension AmplifyUIBuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifyuibuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -2063,6 +2130,8 @@ extension AmplifyUIBuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifyuibuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -2133,6 +2202,8 @@ extension AmplifyUIBuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifyuibuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -2207,6 +2278,8 @@ extension AmplifyUIBuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifyuibuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -2281,6 +2354,8 @@ extension AmplifyUIBuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "amplifyuibuilder") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSApiGatewayManagementApi/Package.swift.txt b/Sources/Services/AWSApiGatewayManagementApi/Package.swift.txt index fbdda9b8fc0..b81defdf01f 100644 --- a/Sources/Services/AWSApiGatewayManagementApi/Package.swift.txt +++ b/Sources/Services/AWSApiGatewayManagementApi/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSApiGatewayManagementApi/Sources/AWSApiGatewayManagementApi/ApiGatewayManagementApiClient.swift b/Sources/Services/AWSApiGatewayManagementApi/Sources/AWSApiGatewayManagementApi/ApiGatewayManagementApiClient.swift index c127b111b4d..db81915b1c2 100644 --- a/Sources/Services/AWSApiGatewayManagementApi/Sources/AWSApiGatewayManagementApi/ApiGatewayManagementApiClient.swift +++ b/Sources/Services/AWSApiGatewayManagementApi/Sources/AWSApiGatewayManagementApi/ApiGatewayManagementApiClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPRequest import class SmithyHTTPAPI.HTTPResponse import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -62,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ApiGatewayManagementApiClient: ClientRuntime.Client { public static let clientName = "ApiGatewayManagementApiClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ApiGatewayManagementApiClient.ApiGatewayManagementApiClientConfiguration let serviceName = "ApiGatewayManagementApi" @@ -92,6 +93,8 @@ extension ApiGatewayManagementApiClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -117,6 +120,8 @@ extension ApiGatewayManagementApiClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -140,6 +145,8 @@ extension ApiGatewayManagementApiClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -166,6 +173,8 @@ extension ApiGatewayManagementApiClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -190,6 +199,8 @@ extension ApiGatewayManagementApiClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -216,6 +227,8 @@ extension ApiGatewayManagementApiClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -240,6 +253,8 @@ extension ApiGatewayManagementApiClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -267,6 +282,8 @@ extension ApiGatewayManagementApiClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -294,6 +311,8 @@ extension ApiGatewayManagementApiClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -367,6 +386,8 @@ extension ApiGatewayManagementApiClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "execute-api") .withSigningRegion(value: config.signingRegion) .build() @@ -436,6 +457,8 @@ extension ApiGatewayManagementApiClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "execute-api") .withSigningRegion(value: config.signingRegion) .build() @@ -506,6 +529,8 @@ extension ApiGatewayManagementApiClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "execute-api") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSApiGatewayV2/Package.swift.txt b/Sources/Services/AWSApiGatewayV2/Package.swift.txt index 3060b21146f..3ae48f851dc 100644 --- a/Sources/Services/AWSApiGatewayV2/Package.swift.txt +++ b/Sources/Services/AWSApiGatewayV2/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSApiGatewayV2/Sources/AWSApiGatewayV2/ApiGatewayV2Client.swift b/Sources/Services/AWSApiGatewayV2/Sources/AWSApiGatewayV2/ApiGatewayV2Client.swift index 7e71d426728..967be64fba2 100644 --- a/Sources/Services/AWSApiGatewayV2/Sources/AWSApiGatewayV2/ApiGatewayV2Client.swift +++ b/Sources/Services/AWSApiGatewayV2/Sources/AWSApiGatewayV2/ApiGatewayV2Client.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ApiGatewayV2Client: ClientRuntime.Client { public static let clientName = "ApiGatewayV2Client" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ApiGatewayV2Client.ApiGatewayV2ClientConfiguration let serviceName = "ApiGatewayV2" @@ -94,6 +95,8 @@ extension ApiGatewayV2Client { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension ApiGatewayV2Client { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension ApiGatewayV2Client { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension ApiGatewayV2Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension ApiGatewayV2Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension ApiGatewayV2Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension ApiGatewayV2Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension ApiGatewayV2Client { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension ApiGatewayV2Client { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -443,6 +464,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -516,6 +539,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -589,6 +614,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -663,6 +690,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -736,6 +765,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -809,6 +840,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -882,6 +915,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -955,6 +990,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1028,6 +1065,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1101,6 +1140,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1172,6 +1213,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1243,6 +1286,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1311,6 +1356,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1380,6 +1427,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1448,6 +1497,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1516,6 +1567,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1584,6 +1637,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1652,6 +1707,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1720,6 +1777,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1788,6 +1847,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1856,6 +1917,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1924,6 +1987,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1992,6 +2057,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2060,6 +2127,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2128,6 +2197,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2196,6 +2267,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2264,6 +2337,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2332,6 +2407,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2401,6 +2478,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2470,6 +2549,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2539,6 +2620,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2609,6 +2692,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2678,6 +2763,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2747,6 +2834,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2816,6 +2905,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2885,6 +2976,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2954,6 +3047,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3023,6 +3118,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3092,6 +3189,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3160,6 +3259,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3229,6 +3330,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3299,6 +3402,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3368,6 +3473,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3436,6 +3543,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3505,6 +3614,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3574,6 +3685,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3642,6 +3755,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3711,6 +3826,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3781,6 +3898,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3850,6 +3969,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3919,6 +4040,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3990,6 +4113,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4058,6 +4183,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4126,6 +4253,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4197,6 +4326,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4271,6 +4402,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4343,6 +4476,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4413,6 +4548,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4486,6 +4623,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4557,6 +4696,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4630,6 +4771,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4703,6 +4846,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4776,6 +4921,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4849,6 +4996,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4922,6 +5071,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4995,6 +5146,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -5068,6 +5221,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -5141,6 +5296,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -5214,6 +5371,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -5287,6 +5446,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() @@ -5359,6 +5520,8 @@ extension ApiGatewayV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apigateway") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSAppConfig/Package.swift.txt b/Sources/Services/AWSAppConfig/Package.swift.txt index 69be88a4dbf..b3e5e2c93a4 100644 --- a/Sources/Services/AWSAppConfig/Package.swift.txt +++ b/Sources/Services/AWSAppConfig/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSAppConfig/Sources/AWSAppConfig/AppConfigClient.swift b/Sources/Services/AWSAppConfig/Sources/AWSAppConfig/AppConfigClient.swift index 05233b6e845..f367a372872 100644 --- a/Sources/Services/AWSAppConfig/Sources/AWSAppConfig/AppConfigClient.swift +++ b/Sources/Services/AWSAppConfig/Sources/AWSAppConfig/AppConfigClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -67,7 +68,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppConfigClient: ClientRuntime.Client { public static let clientName = "AppConfigClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: AppConfigClient.AppConfigClientConfiguration let serviceName = "AppConfig" @@ -97,6 +98,8 @@ extension AppConfigClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -122,6 +125,8 @@ extension AppConfigClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -145,6 +150,8 @@ extension AppConfigClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -171,6 +178,8 @@ extension AppConfigClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -195,6 +204,8 @@ extension AppConfigClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -221,6 +232,8 @@ extension AppConfigClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -245,6 +258,8 @@ extension AppConfigClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -272,6 +287,8 @@ extension AppConfigClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -299,6 +316,8 @@ extension AppConfigClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -469,6 +490,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -541,6 +564,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -614,6 +639,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -696,6 +723,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -770,6 +799,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -845,6 +876,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -918,6 +951,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -988,6 +1023,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -1058,6 +1095,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -1128,6 +1167,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -1198,6 +1239,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -1268,6 +1311,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -1337,6 +1382,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -1405,6 +1452,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -1474,6 +1523,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -1548,6 +1599,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -1618,6 +1671,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -1687,6 +1742,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -1756,6 +1813,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -1825,6 +1884,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -1894,6 +1955,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -1964,6 +2027,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -2033,6 +2098,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -2101,6 +2168,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -2171,6 +2240,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -2240,6 +2311,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -2310,6 +2383,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -2380,6 +2455,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -2449,6 +2526,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -2518,6 +2597,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -2588,6 +2669,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -2658,6 +2741,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -2728,6 +2813,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -2800,6 +2887,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -2870,6 +2959,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -2942,6 +3033,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -3011,6 +3104,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -3083,6 +3178,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -3155,6 +3252,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -3227,6 +3326,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -3299,6 +3400,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -3372,6 +3475,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -3444,6 +3549,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -3516,6 +3623,8 @@ extension AppConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSAppConfigData/Package.swift.txt b/Sources/Services/AWSAppConfigData/Package.swift.txt index 91d4791c4a4..c9476ce2991 100644 --- a/Sources/Services/AWSAppConfigData/Package.swift.txt +++ b/Sources/Services/AWSAppConfigData/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSAppConfigData/Sources/AWSAppConfigData/AppConfigDataClient.swift b/Sources/Services/AWSAppConfigData/Sources/AWSAppConfigData/AppConfigDataClient.swift index efb7f813ed9..faeb1c5c73f 100644 --- a/Sources/Services/AWSAppConfigData/Sources/AWSAppConfigData/AppConfigDataClient.swift +++ b/Sources/Services/AWSAppConfigData/Sources/AWSAppConfigData/AppConfigDataClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppConfigDataClient: ClientRuntime.Client { public static let clientName = "AppConfigDataClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: AppConfigDataClient.AppConfigDataClientConfiguration let serviceName = "AppConfigData" @@ -94,6 +95,8 @@ extension AppConfigDataClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension AppConfigDataClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension AppConfigDataClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension AppConfigDataClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension AppConfigDataClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension AppConfigDataClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension AppConfigDataClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension AppConfigDataClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension AppConfigDataClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension AppConfigDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() @@ -445,6 +466,8 @@ extension AppConfigDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appconfig") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSAppFabric/Package.swift.txt b/Sources/Services/AWSAppFabric/Package.swift.txt index d244573b3b3..134c51b378e 100644 --- a/Sources/Services/AWSAppFabric/Package.swift.txt +++ b/Sources/Services/AWSAppFabric/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSAppFabric/Sources/AWSAppFabric/AppFabricClient.swift b/Sources/Services/AWSAppFabric/Sources/AWSAppFabric/AppFabricClient.swift index a95d858d57f..c792266d1a9 100644 --- a/Sources/Services/AWSAppFabric/Sources/AWSAppFabric/AppFabricClient.swift +++ b/Sources/Services/AWSAppFabric/Sources/AWSAppFabric/AppFabricClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppFabricClient: ClientRuntime.Client { public static let clientName = "AppFabricClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: AppFabricClient.AppFabricClientConfiguration let serviceName = "AppFabric" @@ -94,6 +95,8 @@ extension AppFabricClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension AppFabricClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension AppFabricClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension AppFabricClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension AppFabricClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension AppFabricClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension AppFabricClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension AppFabricClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension AppFabricClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension AppFabricClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appfabric") .withSigningRegion(value: config.signingRegion) .build() @@ -445,6 +466,8 @@ extension AppFabricClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appfabric") .withSigningRegion(value: config.signingRegion) .build() @@ -521,6 +544,8 @@ extension AppFabricClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appfabric") .withSigningRegion(value: config.signingRegion) .build() @@ -597,6 +622,8 @@ extension AppFabricClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appfabric") .withSigningRegion(value: config.signingRegion) .build() @@ -673,6 +700,8 @@ extension AppFabricClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appfabric") .withSigningRegion(value: config.signingRegion) .build() @@ -749,6 +778,8 @@ extension AppFabricClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appfabric") .withSigningRegion(value: config.signingRegion) .build() @@ -824,6 +855,8 @@ extension AppFabricClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appfabric") .withSigningRegion(value: config.signingRegion) .build() @@ -895,6 +928,8 @@ extension AppFabricClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appfabric") .withSigningRegion(value: config.signingRegion) .build() @@ -966,6 +1001,8 @@ extension AppFabricClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appfabric") .withSigningRegion(value: config.signingRegion) .build() @@ -1037,6 +1074,8 @@ extension AppFabricClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appfabric") .withSigningRegion(value: config.signingRegion) .build() @@ -1108,6 +1147,8 @@ extension AppFabricClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appfabric") .withSigningRegion(value: config.signingRegion) .build() @@ -1179,6 +1220,8 @@ extension AppFabricClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appfabric") .withSigningRegion(value: config.signingRegion) .build() @@ -1250,6 +1293,8 @@ extension AppFabricClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appfabric") .withSigningRegion(value: config.signingRegion) .build() @@ -1321,6 +1366,8 @@ extension AppFabricClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appfabric") .withSigningRegion(value: config.signingRegion) .build() @@ -1392,6 +1439,8 @@ extension AppFabricClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appfabric") .withSigningRegion(value: config.signingRegion) .build() @@ -1463,6 +1512,8 @@ extension AppFabricClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appfabric") .withSigningRegion(value: config.signingRegion) .build() @@ -1535,6 +1586,8 @@ extension AppFabricClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appfabric") .withSigningRegion(value: config.signingRegion) .build() @@ -1607,6 +1660,8 @@ extension AppFabricClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appfabric") .withSigningRegion(value: config.signingRegion) .build() @@ -1679,6 +1734,8 @@ extension AppFabricClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appfabric") .withSigningRegion(value: config.signingRegion) .build() @@ -1751,6 +1808,8 @@ extension AppFabricClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appfabric") .withSigningRegion(value: config.signingRegion) .build() @@ -1822,6 +1881,8 @@ extension AppFabricClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appfabric") .withSigningRegion(value: config.signingRegion) .build() @@ -1897,6 +1958,8 @@ extension AppFabricClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appfabric") .withSigningRegion(value: config.signingRegion) .build() @@ -1968,6 +2031,8 @@ extension AppFabricClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appfabric") .withSigningRegion(value: config.signingRegion) .build() @@ -2042,6 +2107,8 @@ extension AppFabricClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appfabric") .withSigningRegion(value: config.signingRegion) .build() @@ -2114,6 +2181,8 @@ extension AppFabricClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appfabric") .withSigningRegion(value: config.signingRegion) .build() @@ -2190,6 +2259,8 @@ extension AppFabricClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appfabric") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSAppIntegrations/Package.swift.txt b/Sources/Services/AWSAppIntegrations/Package.swift.txt index b92cc80115e..937917f99df 100644 --- a/Sources/Services/AWSAppIntegrations/Package.swift.txt +++ b/Sources/Services/AWSAppIntegrations/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSAppIntegrations/Sources/AWSAppIntegrations/AppIntegrationsClient.swift b/Sources/Services/AWSAppIntegrations/Sources/AWSAppIntegrations/AppIntegrationsClient.swift index 49e5d48892e..c04f0900994 100644 --- a/Sources/Services/AWSAppIntegrations/Sources/AWSAppIntegrations/AppIntegrationsClient.swift +++ b/Sources/Services/AWSAppIntegrations/Sources/AWSAppIntegrations/AppIntegrationsClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppIntegrationsClient: ClientRuntime.Client { public static let clientName = "AppIntegrationsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: AppIntegrationsClient.AppIntegrationsClientConfiguration let serviceName = "AppIntegrations" @@ -95,6 +96,8 @@ extension AppIntegrationsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension AppIntegrationsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension AppIntegrationsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension AppIntegrationsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension AppIntegrationsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension AppIntegrationsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension AppIntegrationsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension AppIntegrationsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension AppIntegrationsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension AppIntegrationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "app-integrations") .withSigningRegion(value: config.signingRegion) .build() @@ -450,6 +471,8 @@ extension AppIntegrationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "app-integrations") .withSigningRegion(value: config.signingRegion) .build() @@ -526,6 +549,8 @@ extension AppIntegrationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "app-integrations") .withSigningRegion(value: config.signingRegion) .build() @@ -602,6 +627,8 @@ extension AppIntegrationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "app-integrations") .withSigningRegion(value: config.signingRegion) .build() @@ -677,6 +704,8 @@ extension AppIntegrationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "app-integrations") .withSigningRegion(value: config.signingRegion) .build() @@ -748,6 +777,8 @@ extension AppIntegrationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "app-integrations") .withSigningRegion(value: config.signingRegion) .build() @@ -819,6 +850,8 @@ extension AppIntegrationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "app-integrations") .withSigningRegion(value: config.signingRegion) .build() @@ -890,6 +923,8 @@ extension AppIntegrationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "app-integrations") .withSigningRegion(value: config.signingRegion) .build() @@ -961,6 +996,8 @@ extension AppIntegrationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "app-integrations") .withSigningRegion(value: config.signingRegion) .build() @@ -1032,6 +1069,8 @@ extension AppIntegrationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "app-integrations") .withSigningRegion(value: config.signingRegion) .build() @@ -1103,6 +1142,8 @@ extension AppIntegrationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "app-integrations") .withSigningRegion(value: config.signingRegion) .build() @@ -1174,6 +1215,8 @@ extension AppIntegrationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "app-integrations") .withSigningRegion(value: config.signingRegion) .build() @@ -1246,6 +1289,8 @@ extension AppIntegrationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "app-integrations") .withSigningRegion(value: config.signingRegion) .build() @@ -1317,6 +1362,8 @@ extension AppIntegrationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "app-integrations") .withSigningRegion(value: config.signingRegion) .build() @@ -1389,6 +1436,8 @@ extension AppIntegrationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "app-integrations") .withSigningRegion(value: config.signingRegion) .build() @@ -1460,6 +1509,8 @@ extension AppIntegrationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "app-integrations") .withSigningRegion(value: config.signingRegion) .build() @@ -1531,6 +1582,8 @@ extension AppIntegrationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "app-integrations") .withSigningRegion(value: config.signingRegion) .build() @@ -1601,6 +1654,8 @@ extension AppIntegrationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "app-integrations") .withSigningRegion(value: config.signingRegion) .build() @@ -1674,6 +1729,8 @@ extension AppIntegrationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "app-integrations") .withSigningRegion(value: config.signingRegion) .build() @@ -1747,6 +1804,8 @@ extension AppIntegrationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "app-integrations") .withSigningRegion(value: config.signingRegion) .build() @@ -1821,6 +1880,8 @@ extension AppIntegrationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "app-integrations") .withSigningRegion(value: config.signingRegion) .build() @@ -1895,6 +1956,8 @@ extension AppIntegrationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "app-integrations") .withSigningRegion(value: config.signingRegion) .build() @@ -1969,6 +2032,8 @@ extension AppIntegrationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "app-integrations") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSAppMesh/Package.swift.txt b/Sources/Services/AWSAppMesh/Package.swift.txt index 4aac78a7ff6..39df0312575 100644 --- a/Sources/Services/AWSAppMesh/Package.swift.txt +++ b/Sources/Services/AWSAppMesh/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSAppMesh/Sources/AWSAppMesh/AppMeshClient.swift b/Sources/Services/AWSAppMesh/Sources/AWSAppMesh/AppMeshClient.swift index cd51cd1410a..f6af3eddac9 100644 --- a/Sources/Services/AWSAppMesh/Sources/AWSAppMesh/AppMeshClient.swift +++ b/Sources/Services/AWSAppMesh/Sources/AWSAppMesh/AppMeshClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppMeshClient: ClientRuntime.Client { public static let clientName = "AppMeshClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: AppMeshClient.AppMeshClientConfiguration let serviceName = "App Mesh" @@ -94,6 +95,8 @@ extension AppMeshClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension AppMeshClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension AppMeshClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension AppMeshClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension AppMeshClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension AppMeshClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension AppMeshClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension AppMeshClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension AppMeshClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -453,6 +474,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -531,6 +554,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -610,6 +635,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -689,6 +716,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -768,6 +797,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -847,6 +878,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -925,6 +958,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -999,6 +1034,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -1072,6 +1109,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -1146,6 +1185,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -1220,6 +1261,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -1294,6 +1337,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -1368,6 +1413,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -1441,6 +1488,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -1514,6 +1563,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -1587,6 +1638,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -1660,6 +1713,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -1733,6 +1788,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -1806,6 +1863,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -1879,6 +1938,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -1952,6 +2013,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -2025,6 +2088,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -2098,6 +2163,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -2171,6 +2238,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -2244,6 +2313,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -2317,6 +2388,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -2390,6 +2463,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -2463,6 +2538,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -2537,6 +2614,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -2613,6 +2692,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -2691,6 +2772,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -2769,6 +2852,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -2847,6 +2932,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -2926,6 +3013,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -3005,6 +3094,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -3084,6 +3175,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() @@ -3163,6 +3256,8 @@ extension AppMeshClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appmesh") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSAppRunner/Package.swift.txt b/Sources/Services/AWSAppRunner/Package.swift.txt index 35cf5d5340b..292a379609c 100644 --- a/Sources/Services/AWSAppRunner/Package.swift.txt +++ b/Sources/Services/AWSAppRunner/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSAppRunner/Sources/AWSAppRunner/AppRunnerClient.swift b/Sources/Services/AWSAppRunner/Sources/AWSAppRunner/AppRunnerClient.swift index 8557c2d582f..e7cd87f0ab5 100644 --- a/Sources/Services/AWSAppRunner/Sources/AWSAppRunner/AppRunnerClient.swift +++ b/Sources/Services/AWSAppRunner/Sources/AWSAppRunner/AppRunnerClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppRunnerClient: ClientRuntime.Client { public static let clientName = "AppRunnerClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: AppRunnerClient.AppRunnerClientConfiguration let serviceName = "AppRunner" @@ -93,6 +94,8 @@ extension AppRunnerClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension AppRunnerClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension AppRunnerClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension AppRunnerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension AppRunnerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension AppRunnerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension AppRunnerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension AppRunnerClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension AppRunnerClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -368,6 +387,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -441,6 +462,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -514,6 +537,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -587,6 +612,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -660,6 +687,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -733,6 +762,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -807,6 +838,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -880,6 +913,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -953,6 +988,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -1026,6 +1063,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -1100,6 +1139,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -1173,6 +1214,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -1255,6 +1298,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -1328,6 +1373,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -1401,6 +1448,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -1474,6 +1523,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -1547,6 +1598,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -1620,6 +1673,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -1693,6 +1748,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -1767,6 +1824,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -1839,6 +1898,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -1911,6 +1972,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -1983,6 +2046,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -2056,6 +2121,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -2128,6 +2195,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -2201,6 +2270,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -2275,6 +2346,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -2347,6 +2420,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -2419,6 +2494,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -2493,6 +2570,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -2567,6 +2646,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -2640,6 +2721,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -2714,6 +2797,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -2788,6 +2873,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -2861,6 +2948,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -2935,6 +3024,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() @@ -3015,6 +3106,8 @@ extension AppRunnerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apprunner") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSAppStream/Package.swift.txt b/Sources/Services/AWSAppStream/Package.swift.txt index d94d6f83454..3652af3f327 100644 --- a/Sources/Services/AWSAppStream/Package.swift.txt +++ b/Sources/Services/AWSAppStream/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSAppStream/Sources/AWSAppStream/AppStreamClient.swift b/Sources/Services/AWSAppStream/Sources/AWSAppStream/AppStreamClient.swift index 832c5b99862..c309cb21692 100644 --- a/Sources/Services/AWSAppStream/Sources/AWSAppStream/AppStreamClient.swift +++ b/Sources/Services/AWSAppStream/Sources/AWSAppStream/AppStreamClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppStreamClient: ClientRuntime.Client { public static let clientName = "AppStreamClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: AppStreamClient.AppStreamClientConfiguration let serviceName = "AppStream" @@ -94,6 +95,8 @@ extension AppStreamClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension AppStreamClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension AppStreamClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension AppStreamClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension AppStreamClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension AppStreamClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension AppStreamClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension AppStreamClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension AppStreamClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -520,6 +543,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -596,6 +621,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -668,6 +695,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -740,6 +769,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -816,6 +847,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -890,6 +923,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -970,6 +1005,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -1042,6 +1079,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -1117,6 +1156,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -1193,6 +1234,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -1267,6 +1310,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -1348,6 +1393,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -1429,6 +1476,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -1501,6 +1550,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -1579,6 +1630,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -1653,6 +1706,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -1729,6 +1784,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -1806,6 +1863,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -1879,6 +1938,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -1954,6 +2015,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -2027,6 +2090,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -2101,6 +2166,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -2175,6 +2242,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -2247,6 +2316,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -2321,6 +2392,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -2394,6 +2467,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -2468,6 +2543,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -2541,6 +2618,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -2613,6 +2692,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -2687,6 +2768,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -2760,6 +2843,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -2832,6 +2917,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -2903,6 +2990,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -2975,6 +3064,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -3047,6 +3138,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -3119,6 +3212,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -3191,6 +3286,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -3263,6 +3360,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -3334,6 +3433,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -3407,6 +3508,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -3478,6 +3581,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -3549,6 +3654,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -3620,6 +3727,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -3692,6 +3801,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -3763,6 +3874,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -3834,6 +3947,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -3906,6 +4021,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -3978,6 +4095,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -4054,6 +4173,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -4127,6 +4248,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -4198,6 +4321,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -4272,6 +4397,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -4345,6 +4472,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -4418,6 +4547,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -4492,6 +4623,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -4564,6 +4697,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -4630,6 +4765,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -4696,6 +4833,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -4762,6 +4901,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -4835,6 +4976,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -4906,6 +5049,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -4983,6 +5128,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -5061,6 +5208,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -5136,6 +5285,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -5209,6 +5360,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -5281,6 +5434,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -5354,6 +5509,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -5427,6 +5584,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -5498,6 +5657,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -5578,6 +5739,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -5651,6 +5814,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -5726,6 +5891,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -5800,6 +5967,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -5888,6 +6057,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -5961,6 +6132,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -6040,6 +6213,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() @@ -6116,6 +6291,8 @@ extension AppStreamClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appstream") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSAppSync/Package.swift.txt b/Sources/Services/AWSAppSync/Package.swift.txt index 5cc6befafd9..8bf38906088 100644 --- a/Sources/Services/AWSAppSync/Package.swift.txt +++ b/Sources/Services/AWSAppSync/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSAppSync/Sources/AWSAppSync/AppSyncClient.swift b/Sources/Services/AWSAppSync/Sources/AWSAppSync/AppSyncClient.swift index f17f93fd496..243e7be6634 100644 --- a/Sources/Services/AWSAppSync/Sources/AWSAppSync/AppSyncClient.swift +++ b/Sources/Services/AWSAppSync/Sources/AWSAppSync/AppSyncClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppSyncClient: ClientRuntime.Client { public static let clientName = "AppSyncClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: AppSyncClient.AppSyncClientConfiguration let serviceName = "AppSync" @@ -94,6 +95,8 @@ extension AppSyncClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension AppSyncClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension AppSyncClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension AppSyncClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension AppSyncClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension AppSyncClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension AppSyncClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension AppSyncClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension AppSyncClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -445,6 +466,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -520,6 +543,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -594,6 +619,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -668,6 +695,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -744,6 +773,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -820,6 +851,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -894,6 +927,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -966,6 +1001,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -1040,6 +1077,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -1115,6 +1154,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -1189,6 +1230,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -1263,6 +1306,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -1338,6 +1383,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -1409,6 +1456,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -1479,6 +1528,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -1551,6 +1602,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -1622,6 +1675,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -1693,6 +1748,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -1764,6 +1821,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -1836,6 +1895,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -1907,6 +1968,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -1978,6 +2041,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -2049,6 +2114,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -2120,6 +2187,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -2191,6 +2260,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -2260,6 +2331,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -2332,6 +2405,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -2406,6 +2481,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -2477,6 +2554,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -2547,6 +2626,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -2618,6 +2699,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -2689,6 +2772,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -2760,6 +2845,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -2829,6 +2916,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -2900,6 +2989,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -2969,6 +3060,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -3040,6 +3133,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -3111,6 +3206,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -3181,6 +3278,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -3251,6 +3350,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -3321,6 +3422,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -3391,6 +3494,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -3462,6 +3567,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -3533,6 +3640,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -3603,6 +3712,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -3674,6 +3785,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -3745,6 +3858,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -3815,6 +3930,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -3886,6 +4003,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -3956,6 +4075,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -4027,6 +4148,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -4098,6 +4221,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -4169,6 +4294,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -4242,6 +4369,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -4313,6 +4442,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -4385,6 +4516,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -4484,6 +4617,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -4557,6 +4692,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -4631,6 +4768,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -4705,6 +4844,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -4777,6 +4918,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -4852,6 +4995,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -4925,6 +5070,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -4999,6 +5146,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -5074,6 +5223,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -5149,6 +5300,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -5223,6 +5376,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -5297,6 +5452,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -5371,6 +5528,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -5446,6 +5605,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -5520,6 +5681,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -5594,6 +5757,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() @@ -5668,6 +5833,8 @@ extension AppSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appsync") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSAppTest/Package.swift.txt b/Sources/Services/AWSAppTest/Package.swift.txt index 519955551b5..1c7b030e254 100644 --- a/Sources/Services/AWSAppTest/Package.swift.txt +++ b/Sources/Services/AWSAppTest/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSAppTest/Sources/AWSAppTest/AppTestClient.swift b/Sources/Services/AWSAppTest/Sources/AWSAppTest/AppTestClient.swift index 1f909e2716f..ea44e3ab021 100644 --- a/Sources/Services/AWSAppTest/Sources/AWSAppTest/AppTestClient.swift +++ b/Sources/Services/AWSAppTest/Sources/AWSAppTest/AppTestClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppTestClient: ClientRuntime.Client { public static let clientName = "AppTestClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: AppTestClient.AppTestClientConfiguration let serviceName = "AppTest" @@ -95,6 +96,8 @@ extension AppTestClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension AppTestClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension AppTestClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension AppTestClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension AppTestClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension AppTestClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension AppTestClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension AppTestClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension AppTestClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension AppTestClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apptest") .withSigningRegion(value: config.signingRegion) .build() @@ -449,6 +470,8 @@ extension AppTestClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apptest") .withSigningRegion(value: config.signingRegion) .build() @@ -525,6 +548,8 @@ extension AppTestClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apptest") .withSigningRegion(value: config.signingRegion) .build() @@ -601,6 +626,8 @@ extension AppTestClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apptest") .withSigningRegion(value: config.signingRegion) .build() @@ -673,6 +700,8 @@ extension AppTestClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apptest") .withSigningRegion(value: config.signingRegion) .build() @@ -744,6 +773,8 @@ extension AppTestClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apptest") .withSigningRegion(value: config.signingRegion) .build() @@ -816,6 +847,8 @@ extension AppTestClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apptest") .withSigningRegion(value: config.signingRegion) .build() @@ -887,6 +920,8 @@ extension AppTestClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apptest") .withSigningRegion(value: config.signingRegion) .build() @@ -959,6 +994,8 @@ extension AppTestClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apptest") .withSigningRegion(value: config.signingRegion) .build() @@ -1031,6 +1068,8 @@ extension AppTestClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apptest") .withSigningRegion(value: config.signingRegion) .build() @@ -1103,6 +1142,8 @@ extension AppTestClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apptest") .withSigningRegion(value: config.signingRegion) .build() @@ -1175,6 +1216,8 @@ extension AppTestClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apptest") .withSigningRegion(value: config.signingRegion) .build() @@ -1246,6 +1289,8 @@ extension AppTestClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apptest") .withSigningRegion(value: config.signingRegion) .build() @@ -1318,6 +1363,8 @@ extension AppTestClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apptest") .withSigningRegion(value: config.signingRegion) .build() @@ -1390,6 +1437,8 @@ extension AppTestClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apptest") .withSigningRegion(value: config.signingRegion) .build() @@ -1462,6 +1511,8 @@ extension AppTestClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apptest") .withSigningRegion(value: config.signingRegion) .build() @@ -1534,6 +1585,8 @@ extension AppTestClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apptest") .withSigningRegion(value: config.signingRegion) .build() @@ -1606,6 +1659,8 @@ extension AppTestClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apptest") .withSigningRegion(value: config.signingRegion) .build() @@ -1680,6 +1735,8 @@ extension AppTestClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apptest") .withSigningRegion(value: config.signingRegion) .build() @@ -1756,6 +1813,8 @@ extension AppTestClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apptest") .withSigningRegion(value: config.signingRegion) .build() @@ -1830,6 +1889,8 @@ extension AppTestClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apptest") .withSigningRegion(value: config.signingRegion) .build() @@ -1903,6 +1964,8 @@ extension AppTestClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apptest") .withSigningRegion(value: config.signingRegion) .build() @@ -1978,6 +2041,8 @@ extension AppTestClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apptest") .withSigningRegion(value: config.signingRegion) .build() @@ -2053,6 +2118,8 @@ extension AppTestClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "apptest") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSAppflow/Package.swift.txt b/Sources/Services/AWSAppflow/Package.swift.txt index bd645469551..690aa67c2af 100644 --- a/Sources/Services/AWSAppflow/Package.swift.txt +++ b/Sources/Services/AWSAppflow/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSAppflow/Sources/AWSAppflow/AppflowClient.swift b/Sources/Services/AWSAppflow/Sources/AWSAppflow/AppflowClient.swift index 6f00200c9f4..c121ac917aa 100644 --- a/Sources/Services/AWSAppflow/Sources/AWSAppflow/AppflowClient.swift +++ b/Sources/Services/AWSAppflow/Sources/AWSAppflow/AppflowClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AppflowClient: ClientRuntime.Client { public static let clientName = "AppflowClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: AppflowClient.AppflowClientConfiguration let serviceName = "Appflow" @@ -95,6 +96,8 @@ extension AppflowClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension AppflowClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension AppflowClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension AppflowClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension AppflowClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension AppflowClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension AppflowClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension AppflowClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension AppflowClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension AppflowClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appflow") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension AppflowClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appflow") .withSigningRegion(value: config.signingRegion) .build() @@ -524,6 +547,8 @@ extension AppflowClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appflow") .withSigningRegion(value: config.signingRegion) .build() @@ -597,6 +622,8 @@ extension AppflowClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appflow") .withSigningRegion(value: config.signingRegion) .build() @@ -669,6 +696,8 @@ extension AppflowClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appflow") .withSigningRegion(value: config.signingRegion) .build() @@ -741,6 +770,8 @@ extension AppflowClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appflow") .withSigningRegion(value: config.signingRegion) .build() @@ -815,6 +846,8 @@ extension AppflowClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appflow") .withSigningRegion(value: config.signingRegion) .build() @@ -886,6 +919,8 @@ extension AppflowClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appflow") .withSigningRegion(value: config.signingRegion) .build() @@ -957,6 +992,8 @@ extension AppflowClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appflow") .withSigningRegion(value: config.signingRegion) .build() @@ -1028,6 +1065,8 @@ extension AppflowClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appflow") .withSigningRegion(value: config.signingRegion) .build() @@ -1100,6 +1139,8 @@ extension AppflowClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appflow") .withSigningRegion(value: config.signingRegion) .build() @@ -1174,6 +1215,8 @@ extension AppflowClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appflow") .withSigningRegion(value: config.signingRegion) .build() @@ -1245,6 +1288,8 @@ extension AppflowClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appflow") .withSigningRegion(value: config.signingRegion) .build() @@ -1316,6 +1361,8 @@ extension AppflowClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appflow") .withSigningRegion(value: config.signingRegion) .build() @@ -1388,6 +1435,8 @@ extension AppflowClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appflow") .withSigningRegion(value: config.signingRegion) .build() @@ -1463,6 +1512,8 @@ extension AppflowClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appflow") .withSigningRegion(value: config.signingRegion) .build() @@ -1537,6 +1588,8 @@ extension AppflowClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appflow") .withSigningRegion(value: config.signingRegion) .build() @@ -1610,6 +1663,8 @@ extension AppflowClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appflow") .withSigningRegion(value: config.signingRegion) .build() @@ -1684,6 +1739,8 @@ extension AppflowClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appflow") .withSigningRegion(value: config.signingRegion) .build() @@ -1756,6 +1813,8 @@ extension AppflowClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appflow") .withSigningRegion(value: config.signingRegion) .build() @@ -1828,6 +1887,8 @@ extension AppflowClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appflow") .withSigningRegion(value: config.signingRegion) .build() @@ -1900,6 +1961,8 @@ extension AppflowClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appflow") .withSigningRegion(value: config.signingRegion) .build() @@ -1972,6 +2035,8 @@ extension AppflowClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appflow") .withSigningRegion(value: config.signingRegion) .build() @@ -2055,6 +2120,8 @@ extension AppflowClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appflow") .withSigningRegion(value: config.signingRegion) .build() @@ -2133,6 +2200,8 @@ extension AppflowClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "appflow") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSApplicationAutoScaling/Package.swift.txt b/Sources/Services/AWSApplicationAutoScaling/Package.swift.txt index fd218207722..3d4ed072df1 100644 --- a/Sources/Services/AWSApplicationAutoScaling/Package.swift.txt +++ b/Sources/Services/AWSApplicationAutoScaling/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSApplicationAutoScaling/Sources/AWSApplicationAutoScaling/ApplicationAutoScalingClient.swift b/Sources/Services/AWSApplicationAutoScaling/Sources/AWSApplicationAutoScaling/ApplicationAutoScalingClient.swift index d5bbe393448..7e25508b04f 100644 --- a/Sources/Services/AWSApplicationAutoScaling/Sources/AWSApplicationAutoScaling/ApplicationAutoScalingClient.swift +++ b/Sources/Services/AWSApplicationAutoScaling/Sources/AWSApplicationAutoScaling/ApplicationAutoScalingClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ApplicationAutoScalingClient: ClientRuntime.Client { public static let clientName = "ApplicationAutoScalingClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ApplicationAutoScalingClient.ApplicationAutoScalingClientConfiguration let serviceName = "Application Auto Scaling" @@ -94,6 +95,8 @@ extension ApplicationAutoScalingClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension ApplicationAutoScalingClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension ApplicationAutoScalingClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension ApplicationAutoScalingClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension ApplicationAutoScalingClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension ApplicationAutoScalingClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension ApplicationAutoScalingClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension ApplicationAutoScalingClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension ApplicationAutoScalingClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension ApplicationAutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "application-autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -444,6 +465,8 @@ extension ApplicationAutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "application-autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -518,6 +541,8 @@ extension ApplicationAutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "application-autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -592,6 +617,8 @@ extension ApplicationAutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "application-autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -666,6 +693,8 @@ extension ApplicationAutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "application-autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -741,6 +770,8 @@ extension ApplicationAutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "application-autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -815,6 +846,8 @@ extension ApplicationAutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "application-autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -887,6 +920,8 @@ extension ApplicationAutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "application-autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -958,6 +993,8 @@ extension ApplicationAutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "application-autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -1034,6 +1071,8 @@ extension ApplicationAutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "application-autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -1109,6 +1148,8 @@ extension ApplicationAutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "application-autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -1183,6 +1224,8 @@ extension ApplicationAutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "application-autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -1256,6 +1299,8 @@ extension ApplicationAutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "application-autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -1328,6 +1373,8 @@ extension ApplicationAutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "application-autoscaling") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSApplicationCostProfiler/Package.swift.txt b/Sources/Services/AWSApplicationCostProfiler/Package.swift.txt index d010e1a882f..3676b333625 100644 --- a/Sources/Services/AWSApplicationCostProfiler/Package.swift.txt +++ b/Sources/Services/AWSApplicationCostProfiler/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSApplicationCostProfiler/Sources/AWSApplicationCostProfiler/ApplicationCostProfilerClient.swift b/Sources/Services/AWSApplicationCostProfiler/Sources/AWSApplicationCostProfiler/ApplicationCostProfilerClient.swift index c6b5678b488..960f1c266f7 100644 --- a/Sources/Services/AWSApplicationCostProfiler/Sources/AWSApplicationCostProfiler/ApplicationCostProfilerClient.swift +++ b/Sources/Services/AWSApplicationCostProfiler/Sources/AWSApplicationCostProfiler/ApplicationCostProfilerClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ApplicationCostProfilerClient: ClientRuntime.Client { public static let clientName = "ApplicationCostProfilerClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ApplicationCostProfilerClient.ApplicationCostProfilerClientConfiguration let serviceName = "ApplicationCostProfiler" @@ -94,6 +95,8 @@ extension ApplicationCostProfilerClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension ApplicationCostProfilerClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension ApplicationCostProfilerClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension ApplicationCostProfilerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension ApplicationCostProfilerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension ApplicationCostProfilerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension ApplicationCostProfilerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension ApplicationCostProfilerClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension ApplicationCostProfilerClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension ApplicationCostProfilerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "application-cost-profiler") .withSigningRegion(value: config.signingRegion) .build() @@ -440,6 +461,8 @@ extension ApplicationCostProfilerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "application-cost-profiler") .withSigningRegion(value: config.signingRegion) .build() @@ -510,6 +533,8 @@ extension ApplicationCostProfilerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "application-cost-profiler") .withSigningRegion(value: config.signingRegion) .build() @@ -583,6 +608,8 @@ extension ApplicationCostProfilerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "application-cost-profiler") .withSigningRegion(value: config.signingRegion) .build() @@ -655,6 +682,8 @@ extension ApplicationCostProfilerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "application-cost-profiler") .withSigningRegion(value: config.signingRegion) .build() @@ -728,6 +757,8 @@ extension ApplicationCostProfilerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "application-cost-profiler") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSApplicationDiscoveryService/Package.swift.txt b/Sources/Services/AWSApplicationDiscoveryService/Package.swift.txt index 18cec6ac01f..a57cb3dd7bc 100644 --- a/Sources/Services/AWSApplicationDiscoveryService/Package.swift.txt +++ b/Sources/Services/AWSApplicationDiscoveryService/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSApplicationDiscoveryService/Sources/AWSApplicationDiscoveryService/ApplicationDiscoveryClient.swift b/Sources/Services/AWSApplicationDiscoveryService/Sources/AWSApplicationDiscoveryService/ApplicationDiscoveryClient.swift index 1a68dad6f71..73e50b6d49a 100644 --- a/Sources/Services/AWSApplicationDiscoveryService/Sources/AWSApplicationDiscoveryService/ApplicationDiscoveryClient.swift +++ b/Sources/Services/AWSApplicationDiscoveryService/Sources/AWSApplicationDiscoveryService/ApplicationDiscoveryClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ApplicationDiscoveryClient: ClientRuntime.Client { public static let clientName = "ApplicationDiscoveryClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ApplicationDiscoveryClient.ApplicationDiscoveryClientConfiguration let serviceName = "Application Discovery" @@ -95,6 +96,8 @@ extension ApplicationDiscoveryClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension ApplicationDiscoveryClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension ApplicationDiscoveryClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension ApplicationDiscoveryClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension ApplicationDiscoveryClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension ApplicationDiscoveryClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension ApplicationDiscoveryClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension ApplicationDiscoveryClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension ApplicationDiscoveryClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension ApplicationDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "discovery") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension ApplicationDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "discovery") .withSigningRegion(value: config.signingRegion) .build() @@ -521,6 +544,8 @@ extension ApplicationDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "discovery") .withSigningRegion(value: config.signingRegion) .build() @@ -596,6 +621,8 @@ extension ApplicationDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "discovery") .withSigningRegion(value: config.signingRegion) .build() @@ -672,6 +699,8 @@ extension ApplicationDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "discovery") .withSigningRegion(value: config.signingRegion) .build() @@ -747,6 +776,8 @@ extension ApplicationDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "discovery") .withSigningRegion(value: config.signingRegion) .build() @@ -823,6 +854,8 @@ extension ApplicationDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "discovery") .withSigningRegion(value: config.signingRegion) .build() @@ -898,6 +931,8 @@ extension ApplicationDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "discovery") .withSigningRegion(value: config.signingRegion) .build() @@ -972,6 +1007,8 @@ extension ApplicationDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "discovery") .withSigningRegion(value: config.signingRegion) .build() @@ -1058,6 +1095,8 @@ extension ApplicationDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "discovery") .withSigningRegion(value: config.signingRegion) .build() @@ -1135,6 +1174,8 @@ extension ApplicationDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "discovery") .withSigningRegion(value: config.signingRegion) .build() @@ -1212,6 +1253,8 @@ extension ApplicationDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "discovery") .withSigningRegion(value: config.signingRegion) .build() @@ -1287,6 +1330,8 @@ extension ApplicationDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "discovery") .withSigningRegion(value: config.signingRegion) .build() @@ -1362,6 +1407,8 @@ extension ApplicationDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "discovery") .withSigningRegion(value: config.signingRegion) .build() @@ -1447,6 +1494,8 @@ extension ApplicationDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "discovery") .withSigningRegion(value: config.signingRegion) .build() @@ -1522,6 +1571,8 @@ extension ApplicationDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "discovery") .withSigningRegion(value: config.signingRegion) .build() @@ -1599,6 +1650,8 @@ extension ApplicationDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "discovery") .withSigningRegion(value: config.signingRegion) .build() @@ -1674,6 +1727,8 @@ extension ApplicationDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "discovery") .withSigningRegion(value: config.signingRegion) .build() @@ -1750,6 +1805,8 @@ extension ApplicationDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "discovery") .withSigningRegion(value: config.signingRegion) .build() @@ -1825,6 +1882,8 @@ extension ApplicationDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "discovery") .withSigningRegion(value: config.signingRegion) .build() @@ -1902,6 +1961,8 @@ extension ApplicationDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "discovery") .withSigningRegion(value: config.signingRegion) .build() @@ -1980,6 +2041,8 @@ extension ApplicationDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "discovery") .withSigningRegion(value: config.signingRegion) .build() @@ -2055,6 +2118,8 @@ extension ApplicationDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "discovery") .withSigningRegion(value: config.signingRegion) .build() @@ -2131,6 +2196,8 @@ extension ApplicationDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "discovery") .withSigningRegion(value: config.signingRegion) .build() @@ -2218,6 +2285,8 @@ extension ApplicationDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "discovery") .withSigningRegion(value: config.signingRegion) .build() @@ -2297,6 +2366,8 @@ extension ApplicationDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "discovery") .withSigningRegion(value: config.signingRegion) .build() @@ -2372,6 +2443,8 @@ extension ApplicationDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "discovery") .withSigningRegion(value: config.signingRegion) .build() @@ -2447,6 +2520,8 @@ extension ApplicationDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "discovery") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSApplicationInsights/Package.swift.txt b/Sources/Services/AWSApplicationInsights/Package.swift.txt index f2d50f9a55d..17c34d3a665 100644 --- a/Sources/Services/AWSApplicationInsights/Package.swift.txt +++ b/Sources/Services/AWSApplicationInsights/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSApplicationInsights/Sources/AWSApplicationInsights/ApplicationInsightsClient.swift b/Sources/Services/AWSApplicationInsights/Sources/AWSApplicationInsights/ApplicationInsightsClient.swift index 0aee27d3dfe..cbbf7c0387b 100644 --- a/Sources/Services/AWSApplicationInsights/Sources/AWSApplicationInsights/ApplicationInsightsClient.swift +++ b/Sources/Services/AWSApplicationInsights/Sources/AWSApplicationInsights/ApplicationInsightsClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ApplicationInsightsClient: ClientRuntime.Client { public static let clientName = "ApplicationInsightsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ApplicationInsightsClient.ApplicationInsightsClientConfiguration let serviceName = "Application Insights" @@ -94,6 +95,8 @@ extension ApplicationInsightsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension ApplicationInsightsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension ApplicationInsightsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension ApplicationInsightsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension ApplicationInsightsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension ApplicationInsightsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension ApplicationInsightsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension ApplicationInsightsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension ApplicationInsightsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension ApplicationInsightsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "applicationinsights") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension ApplicationInsightsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "applicationinsights") .withSigningRegion(value: config.signingRegion) .build() @@ -520,6 +543,8 @@ extension ApplicationInsightsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "applicationinsights") .withSigningRegion(value: config.signingRegion) .build() @@ -594,6 +619,8 @@ extension ApplicationInsightsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "applicationinsights") .withSigningRegion(value: config.signingRegion) .build() @@ -668,6 +695,8 @@ extension ApplicationInsightsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "applicationinsights") .withSigningRegion(value: config.signingRegion) .build() @@ -741,6 +770,8 @@ extension ApplicationInsightsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "applicationinsights") .withSigningRegion(value: config.signingRegion) .build() @@ -815,6 +846,8 @@ extension ApplicationInsightsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "applicationinsights") .withSigningRegion(value: config.signingRegion) .build() @@ -888,6 +921,8 @@ extension ApplicationInsightsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "applicationinsights") .withSigningRegion(value: config.signingRegion) .build() @@ -961,6 +996,8 @@ extension ApplicationInsightsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "applicationinsights") .withSigningRegion(value: config.signingRegion) .build() @@ -1034,6 +1071,8 @@ extension ApplicationInsightsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "applicationinsights") .withSigningRegion(value: config.signingRegion) .build() @@ -1107,6 +1146,8 @@ extension ApplicationInsightsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "applicationinsights") .withSigningRegion(value: config.signingRegion) .build() @@ -1180,6 +1221,8 @@ extension ApplicationInsightsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "applicationinsights") .withSigningRegion(value: config.signingRegion) .build() @@ -1253,6 +1296,8 @@ extension ApplicationInsightsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "applicationinsights") .withSigningRegion(value: config.signingRegion) .build() @@ -1326,6 +1371,8 @@ extension ApplicationInsightsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "applicationinsights") .withSigningRegion(value: config.signingRegion) .build() @@ -1399,6 +1446,8 @@ extension ApplicationInsightsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "applicationinsights") .withSigningRegion(value: config.signingRegion) .build() @@ -1472,6 +1521,8 @@ extension ApplicationInsightsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "applicationinsights") .withSigningRegion(value: config.signingRegion) .build() @@ -1544,6 +1595,8 @@ extension ApplicationInsightsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "applicationinsights") .withSigningRegion(value: config.signingRegion) .build() @@ -1617,6 +1670,8 @@ extension ApplicationInsightsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "applicationinsights") .withSigningRegion(value: config.signingRegion) .build() @@ -1696,6 +1751,8 @@ extension ApplicationInsightsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "applicationinsights") .withSigningRegion(value: config.signingRegion) .build() @@ -1769,6 +1826,8 @@ extension ApplicationInsightsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "applicationinsights") .withSigningRegion(value: config.signingRegion) .build() @@ -1842,6 +1901,8 @@ extension ApplicationInsightsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "applicationinsights") .withSigningRegion(value: config.signingRegion) .build() @@ -1915,6 +1976,8 @@ extension ApplicationInsightsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "applicationinsights") .withSigningRegion(value: config.signingRegion) .build() @@ -1987,6 +2050,8 @@ extension ApplicationInsightsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "applicationinsights") .withSigningRegion(value: config.signingRegion) .build() @@ -2060,6 +2125,8 @@ extension ApplicationInsightsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "applicationinsights") .withSigningRegion(value: config.signingRegion) .build() @@ -2133,6 +2200,8 @@ extension ApplicationInsightsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "applicationinsights") .withSigningRegion(value: config.signingRegion) .build() @@ -2206,6 +2275,8 @@ extension ApplicationInsightsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "applicationinsights") .withSigningRegion(value: config.signingRegion) .build() @@ -2278,6 +2349,8 @@ extension ApplicationInsightsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "applicationinsights") .withSigningRegion(value: config.signingRegion) .build() @@ -2351,6 +2424,8 @@ extension ApplicationInsightsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "applicationinsights") .withSigningRegion(value: config.signingRegion) .build() @@ -2425,6 +2500,8 @@ extension ApplicationInsightsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "applicationinsights") .withSigningRegion(value: config.signingRegion) .build() @@ -2499,6 +2576,8 @@ extension ApplicationInsightsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "applicationinsights") .withSigningRegion(value: config.signingRegion) .build() @@ -2573,6 +2652,8 @@ extension ApplicationInsightsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "applicationinsights") .withSigningRegion(value: config.signingRegion) .build() @@ -2646,6 +2727,8 @@ extension ApplicationInsightsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "applicationinsights") .withSigningRegion(value: config.signingRegion) .build() @@ -2719,6 +2802,8 @@ extension ApplicationInsightsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "applicationinsights") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSApplicationSignals/Package.swift.txt b/Sources/Services/AWSApplicationSignals/Package.swift.txt index 8f65871ebcd..b585d365e1a 100644 --- a/Sources/Services/AWSApplicationSignals/Package.swift.txt +++ b/Sources/Services/AWSApplicationSignals/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSApplicationSignals/Sources/AWSApplicationSignals/ApplicationSignalsClient.swift b/Sources/Services/AWSApplicationSignals/Sources/AWSApplicationSignals/ApplicationSignalsClient.swift index 4ecc700297b..67850d1fd2e 100644 --- a/Sources/Services/AWSApplicationSignals/Sources/AWSApplicationSignals/ApplicationSignalsClient.swift +++ b/Sources/Services/AWSApplicationSignals/Sources/AWSApplicationSignals/ApplicationSignalsClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ApplicationSignalsClient: ClientRuntime.Client { public static let clientName = "ApplicationSignalsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ApplicationSignalsClient.ApplicationSignalsClientConfiguration let serviceName = "Application Signals" @@ -94,6 +95,8 @@ extension ApplicationSignalsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension ApplicationSignalsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension ApplicationSignalsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension ApplicationSignalsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension ApplicationSignalsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension ApplicationSignalsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension ApplicationSignalsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension ApplicationSignalsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension ApplicationSignalsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -368,6 +387,8 @@ extension ApplicationSignalsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "application-signals") .withSigningRegion(value: config.signingRegion) .build() @@ -470,6 +491,8 @@ extension ApplicationSignalsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "application-signals") .withSigningRegion(value: config.signingRegion) .build() @@ -542,6 +565,8 @@ extension ApplicationSignalsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "application-signals") .withSigningRegion(value: config.signingRegion) .build() @@ -610,6 +635,8 @@ extension ApplicationSignalsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "application-signals") .withSigningRegion(value: config.signingRegion) .build() @@ -683,6 +710,8 @@ extension ApplicationSignalsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "application-signals") .withSigningRegion(value: config.signingRegion) .build() @@ -751,6 +780,8 @@ extension ApplicationSignalsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "application-signals") .withSigningRegion(value: config.signingRegion) .build() @@ -823,6 +854,8 @@ extension ApplicationSignalsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "application-signals") .withSigningRegion(value: config.signingRegion) .build() @@ -895,6 +928,8 @@ extension ApplicationSignalsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "application-signals") .withSigningRegion(value: config.signingRegion) .build() @@ -967,6 +1002,8 @@ extension ApplicationSignalsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "application-signals") .withSigningRegion(value: config.signingRegion) .build() @@ -1039,6 +1076,8 @@ extension ApplicationSignalsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "application-signals") .withSigningRegion(value: config.signingRegion) .build() @@ -1108,6 +1147,8 @@ extension ApplicationSignalsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "application-signals") .withSigningRegion(value: config.signingRegion) .build() @@ -1195,6 +1236,8 @@ extension ApplicationSignalsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "application-signals") .withSigningRegion(value: config.signingRegion) .build() @@ -1264,6 +1307,8 @@ extension ApplicationSignalsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "application-signals") .withSigningRegion(value: config.signingRegion) .build() @@ -1335,6 +1380,8 @@ extension ApplicationSignalsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "application-signals") .withSigningRegion(value: config.signingRegion) .build() @@ -1407,6 +1454,8 @@ extension ApplicationSignalsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "application-signals") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSArtifact/Package.swift.txt b/Sources/Services/AWSArtifact/Package.swift.txt index b3ecab751fb..545191b2f4b 100644 --- a/Sources/Services/AWSArtifact/Package.swift.txt +++ b/Sources/Services/AWSArtifact/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSArtifact/Sources/AWSArtifact/ArtifactClient.swift b/Sources/Services/AWSArtifact/Sources/AWSArtifact/ArtifactClient.swift index 2e1ce3686cf..b0f814f9286 100644 --- a/Sources/Services/AWSArtifact/Sources/AWSArtifact/ArtifactClient.swift +++ b/Sources/Services/AWSArtifact/Sources/AWSArtifact/ArtifactClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ArtifactClient: ClientRuntime.Client { public static let clientName = "ArtifactClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ArtifactClient.ArtifactClientConfiguration let serviceName = "Artifact" @@ -93,6 +94,8 @@ extension ArtifactClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension ArtifactClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension ArtifactClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension ArtifactClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension ArtifactClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension ArtifactClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension ArtifactClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension ArtifactClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension ArtifactClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension ArtifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "artifact") .withSigningRegion(value: config.signingRegion) .build() @@ -445,6 +466,8 @@ extension ArtifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "artifact") .withSigningRegion(value: config.signingRegion) .build() @@ -518,6 +541,8 @@ extension ArtifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "artifact") .withSigningRegion(value: config.signingRegion) .build() @@ -592,6 +617,8 @@ extension ArtifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "artifact") .withSigningRegion(value: config.signingRegion) .build() @@ -663,6 +690,8 @@ extension ArtifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "artifact") .withSigningRegion(value: config.signingRegion) .build() @@ -736,6 +765,8 @@ extension ArtifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "artifact") .withSigningRegion(value: config.signingRegion) .build() @@ -810,6 +841,8 @@ extension ArtifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "artifact") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSAthena/Package.swift.txt b/Sources/Services/AWSAthena/Package.swift.txt index 417dc9d513b..771e2604eb5 100644 --- a/Sources/Services/AWSAthena/Package.swift.txt +++ b/Sources/Services/AWSAthena/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSAthena/Sources/AWSAthena/AthenaClient.swift b/Sources/Services/AWSAthena/Sources/AWSAthena/AthenaClient.swift index f56b8d3ffd8..4fec49b44a8 100644 --- a/Sources/Services/AWSAthena/Sources/AWSAthena/AthenaClient.swift +++ b/Sources/Services/AWSAthena/Sources/AWSAthena/AthenaClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AthenaClient: ClientRuntime.Client { public static let clientName = "AthenaClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: AthenaClient.AthenaClientConfiguration let serviceName = "Athena" @@ -94,6 +95,8 @@ extension AthenaClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension AthenaClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension AthenaClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension AthenaClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension AthenaClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension AthenaClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension AthenaClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension AthenaClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension AthenaClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -368,6 +387,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -440,6 +461,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -512,6 +535,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -584,6 +609,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -656,6 +683,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -734,6 +763,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -806,6 +837,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -880,6 +913,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -952,6 +987,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -1025,6 +1062,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -1097,6 +1136,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -1169,6 +1210,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -1241,6 +1284,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -1313,6 +1358,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -1387,6 +1434,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -1460,6 +1509,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -1532,6 +1583,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -1605,6 +1658,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -1678,6 +1733,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -1751,6 +1808,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -1824,6 +1883,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -1896,6 +1957,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -1968,6 +2031,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -2040,6 +2105,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -2113,6 +2180,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -2185,6 +2254,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -2258,6 +2329,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -2331,6 +2404,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -2403,6 +2478,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -2476,6 +2553,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -2548,6 +2627,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -2621,6 +2702,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -2694,6 +2777,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -2767,6 +2852,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -2839,6 +2926,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -2912,6 +3001,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -2985,6 +3076,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -3058,6 +3151,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -3130,6 +3225,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -3202,6 +3299,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -3275,6 +3374,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -3347,6 +3448,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -3420,6 +3523,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -3492,6 +3597,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -3565,6 +3672,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -3638,6 +3747,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -3710,6 +3821,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -3782,6 +3895,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -3855,6 +3970,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -3928,6 +4045,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -4001,6 +4120,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -4073,6 +4194,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -4145,6 +4268,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -4218,6 +4343,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -4291,6 +4418,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -4367,6 +4496,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -4440,6 +4571,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -4512,6 +4645,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -4586,6 +4721,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -4659,6 +4796,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -4732,6 +4871,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -4804,6 +4945,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -4876,6 +5019,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -4948,6 +5093,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -5021,6 +5168,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -5094,6 +5243,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -5167,6 +5318,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() @@ -5239,6 +5392,8 @@ extension AthenaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "athena") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSAuditManager/Package.swift.txt b/Sources/Services/AWSAuditManager/Package.swift.txt index 731122358b7..fb74aa2f020 100644 --- a/Sources/Services/AWSAuditManager/Package.swift.txt +++ b/Sources/Services/AWSAuditManager/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSAuditManager/Sources/AWSAuditManager/AuditManagerClient.swift b/Sources/Services/AWSAuditManager/Sources/AWSAuditManager/AuditManagerClient.swift index c71349c627e..2ef8d1d6926 100644 --- a/Sources/Services/AWSAuditManager/Sources/AWSAuditManager/AuditManagerClient.swift +++ b/Sources/Services/AWSAuditManager/Sources/AWSAuditManager/AuditManagerClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AuditManagerClient: ClientRuntime.Client { public static let clientName = "AuditManagerClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: AuditManagerClient.AuditManagerClientConfiguration let serviceName = "AuditManager" @@ -93,6 +94,8 @@ extension AuditManagerClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension AuditManagerClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension AuditManagerClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension AuditManagerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension AuditManagerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension AuditManagerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension AuditManagerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension AuditManagerClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension AuditManagerClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -369,6 +388,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -442,6 +463,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -515,6 +538,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -588,6 +613,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -661,6 +688,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -746,6 +775,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -821,6 +852,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -895,6 +928,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -968,6 +1003,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1042,6 +1079,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1115,6 +1154,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1185,6 +1226,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1255,6 +1298,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1333,6 +1378,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1403,6 +1450,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1473,6 +1522,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1556,6 +1607,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1629,6 +1682,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1699,6 +1754,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1769,6 +1826,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1839,6 +1898,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1909,6 +1970,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1979,6 +2042,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -2050,6 +2115,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -2119,6 +2186,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -2190,6 +2259,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -2260,6 +2331,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -2340,6 +2413,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -2411,6 +2486,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -2481,6 +2558,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -2552,6 +2631,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -2621,6 +2702,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -2691,6 +2774,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -2761,6 +2846,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -2830,6 +2917,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -2898,6 +2987,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -2968,6 +3059,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -3038,6 +3131,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -3108,6 +3203,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -3178,6 +3275,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -3248,6 +3347,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -3319,6 +3420,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -3390,6 +3493,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -3461,6 +3566,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -3531,6 +3638,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -3601,6 +3710,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -3671,6 +3782,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -3741,6 +3854,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -3812,6 +3927,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -3885,6 +4002,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -3969,6 +4088,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -4041,6 +4162,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -4113,6 +4236,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -4185,6 +4310,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -4258,6 +4385,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -4331,6 +4460,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -4404,6 +4535,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -4478,6 +4611,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -4552,6 +4687,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -4625,6 +4762,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -4697,6 +4836,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -4770,6 +4911,8 @@ extension AuditManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "auditmanager") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSAutoScaling/Package.swift.txt b/Sources/Services/AWSAutoScaling/Package.swift.txt index c2f75c63690..60e9f9ad024 100644 --- a/Sources/Services/AWSAutoScaling/Package.swift.txt +++ b/Sources/Services/AWSAutoScaling/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSAutoScaling/Sources/AWSAutoScaling/AutoScalingClient.swift b/Sources/Services/AWSAutoScaling/Sources/AWSAutoScaling/AutoScalingClient.swift index 499360b4db7..bccd7414bc6 100644 --- a/Sources/Services/AWSAutoScaling/Sources/AWSAutoScaling/AutoScalingClient.swift +++ b/Sources/Services/AWSAutoScaling/Sources/AWSAutoScaling/AutoScalingClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPRequest import class SmithyHTTPAPI.HTTPResponse import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AutoScalingClient: ClientRuntime.Client { public static let clientName = "AutoScalingClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: AutoScalingClient.AutoScalingClientConfiguration let serviceName = "Auto Scaling" @@ -93,6 +94,8 @@ extension AutoScalingClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension AutoScalingClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension AutoScalingClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension AutoScalingClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension AutoScalingClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension AutoScalingClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension AutoScalingClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension AutoScalingClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension AutoScalingClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -367,6 +386,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -447,6 +468,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -518,6 +541,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -602,6 +627,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -672,6 +699,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -744,6 +773,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -816,6 +847,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -901,6 +934,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -974,6 +1009,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -1046,6 +1083,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -1119,6 +1158,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -1191,6 +1232,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -1262,6 +1305,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -1332,6 +1377,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -1402,6 +1449,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -1473,6 +1522,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -1543,6 +1594,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -1614,6 +1667,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -1687,6 +1742,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -1757,6 +1814,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -1833,6 +1892,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -1904,6 +1965,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -1975,6 +2038,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -2045,6 +2110,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -2116,6 +2183,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -2187,6 +2256,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -2261,6 +2332,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -2331,6 +2404,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -2402,6 +2477,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -2473,6 +2550,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -2543,6 +2622,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -2614,6 +2695,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -2686,6 +2769,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -2757,6 +2842,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -2827,6 +2914,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -2898,6 +2987,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -2969,6 +3060,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -3039,6 +3132,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -3110,6 +3205,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -3182,6 +3279,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -3252,6 +3351,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -3322,6 +3423,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -3392,6 +3495,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -3462,6 +3567,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -3532,6 +3639,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -3602,6 +3711,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -3672,6 +3783,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -3743,6 +3856,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -3813,6 +3928,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -3883,6 +4000,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -3969,6 +4088,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -4041,6 +4162,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -4113,6 +4236,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -4185,6 +4310,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -4256,6 +4383,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -4341,6 +4470,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -4412,6 +4543,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -4494,6 +4627,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -4565,6 +4700,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -4635,6 +4772,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -4706,6 +4845,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -4778,6 +4919,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -4849,6 +4992,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -4920,6 +5065,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() @@ -5001,6 +5148,8 @@ extension AutoScalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSAutoScalingPlans/Package.swift.txt b/Sources/Services/AWSAutoScalingPlans/Package.swift.txt index c0d2c4252ed..3b1381378bd 100644 --- a/Sources/Services/AWSAutoScalingPlans/Package.swift.txt +++ b/Sources/Services/AWSAutoScalingPlans/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSAutoScalingPlans/Sources/AWSAutoScalingPlans/AutoScalingPlansClient.swift b/Sources/Services/AWSAutoScalingPlans/Sources/AWSAutoScalingPlans/AutoScalingPlansClient.swift index d9fc95a55db..9e845a4b7da 100644 --- a/Sources/Services/AWSAutoScalingPlans/Sources/AWSAutoScalingPlans/AutoScalingPlansClient.swift +++ b/Sources/Services/AWSAutoScalingPlans/Sources/AWSAutoScalingPlans/AutoScalingPlansClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class AutoScalingPlansClient: ClientRuntime.Client { public static let clientName = "AutoScalingPlansClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: AutoScalingPlansClient.AutoScalingPlansClientConfiguration let serviceName = "Auto Scaling Plans" @@ -94,6 +95,8 @@ extension AutoScalingPlansClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension AutoScalingPlansClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension AutoScalingPlansClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension AutoScalingPlansClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension AutoScalingPlansClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension AutoScalingPlansClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension AutoScalingPlansClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension AutoScalingPlansClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension AutoScalingPlansClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension AutoScalingPlansClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling-plans") .withSigningRegion(value: config.signingRegion) .build() @@ -444,6 +465,8 @@ extension AutoScalingPlansClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling-plans") .withSigningRegion(value: config.signingRegion) .build() @@ -518,6 +541,8 @@ extension AutoScalingPlansClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling-plans") .withSigningRegion(value: config.signingRegion) .build() @@ -592,6 +617,8 @@ extension AutoScalingPlansClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling-plans") .withSigningRegion(value: config.signingRegion) .build() @@ -664,6 +691,8 @@ extension AutoScalingPlansClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling-plans") .withSigningRegion(value: config.signingRegion) .build() @@ -738,6 +767,8 @@ extension AutoScalingPlansClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "autoscaling-plans") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSB2bi/Package.swift.txt b/Sources/Services/AWSB2bi/Package.swift.txt index 9d1f091baa1..f7a40f60a6e 100644 --- a/Sources/Services/AWSB2bi/Package.swift.txt +++ b/Sources/Services/AWSB2bi/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSB2bi/Sources/AWSB2bi/B2biClient.swift b/Sources/Services/AWSB2bi/Sources/AWSB2bi/B2biClient.swift index 93075d32d1e..0910d20fb51 100644 --- a/Sources/Services/AWSB2bi/Sources/AWSB2bi/B2biClient.swift +++ b/Sources/Services/AWSB2bi/Sources/AWSB2bi/B2biClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -66,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class B2biClient: ClientRuntime.Client { public static let clientName = "B2biClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: B2biClient.B2biClientConfiguration let serviceName = "b2bi" @@ -96,6 +97,8 @@ extension B2biClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -121,6 +124,8 @@ extension B2biClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -144,6 +149,8 @@ extension B2biClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -170,6 +177,8 @@ extension B2biClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -194,6 +203,8 @@ extension B2biClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -220,6 +231,8 @@ extension B2biClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -244,6 +257,8 @@ extension B2biClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -271,6 +286,8 @@ extension B2biClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -298,6 +315,8 @@ extension B2biClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -375,6 +394,8 @@ extension B2biClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "b2bi") .withSigningRegion(value: config.signingRegion) .build() @@ -453,6 +474,8 @@ extension B2biClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "b2bi") .withSigningRegion(value: config.signingRegion) .build() @@ -531,6 +554,8 @@ extension B2biClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "b2bi") .withSigningRegion(value: config.signingRegion) .build() @@ -606,6 +631,8 @@ extension B2biClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "b2bi") .withSigningRegion(value: config.signingRegion) .build() @@ -696,6 +723,8 @@ extension B2biClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "b2bi") .withSigningRegion(value: config.signingRegion) .build() @@ -773,6 +802,8 @@ extension B2biClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "b2bi") .withSigningRegion(value: config.signingRegion) .build() @@ -849,6 +880,8 @@ extension B2biClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "b2bi") .withSigningRegion(value: config.signingRegion) .build() @@ -925,6 +958,8 @@ extension B2biClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "b2bi") .withSigningRegion(value: config.signingRegion) .build() @@ -1001,6 +1036,8 @@ extension B2biClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "b2bi") .withSigningRegion(value: config.signingRegion) .build() @@ -1075,6 +1112,8 @@ extension B2biClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "b2bi") .withSigningRegion(value: config.signingRegion) .build() @@ -1150,6 +1189,8 @@ extension B2biClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "b2bi") .withSigningRegion(value: config.signingRegion) .build() @@ -1225,6 +1266,8 @@ extension B2biClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "b2bi") .withSigningRegion(value: config.signingRegion) .build() @@ -1300,6 +1343,8 @@ extension B2biClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "b2bi") .withSigningRegion(value: config.signingRegion) .build() @@ -1375,6 +1420,8 @@ extension B2biClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "b2bi") .withSigningRegion(value: config.signingRegion) .build() @@ -1450,6 +1497,8 @@ extension B2biClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "b2bi") .withSigningRegion(value: config.signingRegion) .build() @@ -1525,6 +1574,8 @@ extension B2biClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "b2bi") .withSigningRegion(value: config.signingRegion) .build() @@ -1601,6 +1652,8 @@ extension B2biClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "b2bi") .withSigningRegion(value: config.signingRegion) .build() @@ -1676,6 +1729,8 @@ extension B2biClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "b2bi") .withSigningRegion(value: config.signingRegion) .build() @@ -1750,6 +1805,8 @@ extension B2biClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "b2bi") .withSigningRegion(value: config.signingRegion) .build() @@ -1824,6 +1881,8 @@ extension B2biClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "b2bi") .withSigningRegion(value: config.signingRegion) .build() @@ -1901,6 +1960,8 @@ extension B2biClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "b2bi") .withSigningRegion(value: config.signingRegion) .build() @@ -1976,6 +2037,8 @@ extension B2biClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "b2bi") .withSigningRegion(value: config.signingRegion) .build() @@ -2051,6 +2114,8 @@ extension B2biClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "b2bi") .withSigningRegion(value: config.signingRegion) .build() @@ -2126,6 +2191,8 @@ extension B2biClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "b2bi") .withSigningRegion(value: config.signingRegion) .build() @@ -2201,6 +2268,8 @@ extension B2biClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "b2bi") .withSigningRegion(value: config.signingRegion) .build() @@ -2274,6 +2343,8 @@ extension B2biClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "b2bi") .withSigningRegion(value: config.signingRegion) .build() @@ -2352,6 +2423,8 @@ extension B2biClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "b2bi") .withSigningRegion(value: config.signingRegion) .build() @@ -2429,6 +2502,8 @@ extension B2biClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "b2bi") .withSigningRegion(value: config.signingRegion) .build() @@ -2506,6 +2581,8 @@ extension B2biClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "b2bi") .withSigningRegion(value: config.signingRegion) .build() @@ -2583,6 +2660,8 @@ extension B2biClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "b2bi") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSBCMDataExports/Package.swift.txt b/Sources/Services/AWSBCMDataExports/Package.swift.txt index ac25cc2cc00..285f0e25ea4 100644 --- a/Sources/Services/AWSBCMDataExports/Package.swift.txt +++ b/Sources/Services/AWSBCMDataExports/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSBCMDataExports/Sources/AWSBCMDataExports/BCMDataExportsClient.swift b/Sources/Services/AWSBCMDataExports/Sources/AWSBCMDataExports/BCMDataExportsClient.swift index 389cdc740af..32e3df491e6 100644 --- a/Sources/Services/AWSBCMDataExports/Sources/AWSBCMDataExports/BCMDataExportsClient.swift +++ b/Sources/Services/AWSBCMDataExports/Sources/AWSBCMDataExports/BCMDataExportsClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BCMDataExportsClient: ClientRuntime.Client { public static let clientName = "BCMDataExportsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: BCMDataExportsClient.BCMDataExportsClientConfiguration let serviceName = "BCM Data Exports" @@ -93,6 +94,8 @@ extension BCMDataExportsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension BCMDataExportsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension BCMDataExportsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension BCMDataExportsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension BCMDataExportsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension BCMDataExportsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension BCMDataExportsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension BCMDataExportsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension BCMDataExportsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -369,6 +388,8 @@ extension BCMDataExportsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-data-exports") .withSigningRegion(value: config.signingRegion) .build() @@ -443,6 +464,8 @@ extension BCMDataExportsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-data-exports") .withSigningRegion(value: config.signingRegion) .build() @@ -517,6 +540,8 @@ extension BCMDataExportsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-data-exports") .withSigningRegion(value: config.signingRegion) .build() @@ -591,6 +616,8 @@ extension BCMDataExportsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-data-exports") .withSigningRegion(value: config.signingRegion) .build() @@ -664,6 +691,8 @@ extension BCMDataExportsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-data-exports") .withSigningRegion(value: config.signingRegion) .build() @@ -738,6 +767,8 @@ extension BCMDataExportsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-data-exports") .withSigningRegion(value: config.signingRegion) .build() @@ -811,6 +842,8 @@ extension BCMDataExportsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-data-exports") .withSigningRegion(value: config.signingRegion) .build() @@ -884,6 +917,8 @@ extension BCMDataExportsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-data-exports") .withSigningRegion(value: config.signingRegion) .build() @@ -958,6 +993,8 @@ extension BCMDataExportsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-data-exports") .withSigningRegion(value: config.signingRegion) .build() @@ -1032,6 +1069,8 @@ extension BCMDataExportsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-data-exports") .withSigningRegion(value: config.signingRegion) .build() @@ -1106,6 +1145,8 @@ extension BCMDataExportsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-data-exports") .withSigningRegion(value: config.signingRegion) .build() @@ -1180,6 +1221,8 @@ extension BCMDataExportsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-data-exports") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSBCMPricingCalculator/Package.swift.txt b/Sources/Services/AWSBCMPricingCalculator/Package.swift.txt index 862035e87db..b11f2cec603 100644 --- a/Sources/Services/AWSBCMPricingCalculator/Package.swift.txt +++ b/Sources/Services/AWSBCMPricingCalculator/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSBCMPricingCalculator/Sources/AWSBCMPricingCalculator/BCMPricingCalculatorClient.swift b/Sources/Services/AWSBCMPricingCalculator/Sources/AWSBCMPricingCalculator/BCMPricingCalculatorClient.swift index 179fac22052..76bea89bc40 100644 --- a/Sources/Services/AWSBCMPricingCalculator/Sources/AWSBCMPricingCalculator/BCMPricingCalculatorClient.swift +++ b/Sources/Services/AWSBCMPricingCalculator/Sources/AWSBCMPricingCalculator/BCMPricingCalculatorClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BCMPricingCalculatorClient: ClientRuntime.Client { public static let clientName = "BCMPricingCalculatorClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: BCMPricingCalculatorClient.BCMPricingCalculatorClientConfiguration let serviceName = "BCM Pricing Calculator" @@ -95,6 +96,8 @@ extension BCMPricingCalculatorClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension BCMPricingCalculatorClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension BCMPricingCalculatorClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension BCMPricingCalculatorClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension BCMPricingCalculatorClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension BCMPricingCalculatorClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension BCMPricingCalculatorClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension BCMPricingCalculatorClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension BCMPricingCalculatorClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() @@ -453,6 +474,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() @@ -532,6 +555,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() @@ -609,6 +634,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() @@ -686,6 +713,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() @@ -763,6 +792,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() @@ -839,6 +870,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() @@ -916,6 +949,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() @@ -993,6 +1028,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() @@ -1070,6 +1107,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() @@ -1148,6 +1187,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() @@ -1226,6 +1267,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() @@ -1303,6 +1346,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() @@ -1378,6 +1423,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() @@ -1453,6 +1500,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() @@ -1529,6 +1578,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() @@ -1605,6 +1656,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() @@ -1680,6 +1733,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() @@ -1756,6 +1811,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() @@ -1832,6 +1889,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() @@ -1908,6 +1967,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() @@ -1984,6 +2045,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() @@ -2060,6 +2123,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() @@ -2135,6 +2200,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() @@ -2211,6 +2278,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() @@ -2287,6 +2356,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() @@ -2362,6 +2433,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() @@ -2437,6 +2510,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() @@ -2513,6 +2588,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() @@ -2588,6 +2665,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() @@ -2664,6 +2743,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() @@ -2739,6 +2820,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() @@ -2816,6 +2899,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() @@ -2893,6 +2978,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() @@ -2969,6 +3056,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() @@ -3046,6 +3135,8 @@ extension BCMPricingCalculatorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bcm-pricing-calculator") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSBackup/Package.swift.txt b/Sources/Services/AWSBackup/Package.swift.txt index d99c42b16ef..32aa1681154 100644 --- a/Sources/Services/AWSBackup/Package.swift.txt +++ b/Sources/Services/AWSBackup/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSBackup/Sources/AWSBackup/BackupClient.swift b/Sources/Services/AWSBackup/Sources/AWSBackup/BackupClient.swift index cb4f73df8bf..581893f16b3 100644 --- a/Sources/Services/AWSBackup/Sources/AWSBackup/BackupClient.swift +++ b/Sources/Services/AWSBackup/Sources/AWSBackup/BackupClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BackupClient: ClientRuntime.Client { public static let clientName = "BackupClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: BackupClient.BackupClientConfiguration let serviceName = "Backup" @@ -95,6 +96,8 @@ extension BackupClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension BackupClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension BackupClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension BackupClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension BackupClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension BackupClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension BackupClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension BackupClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension BackupClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -444,6 +465,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -518,6 +541,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -592,6 +617,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -666,6 +693,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -740,6 +769,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -815,6 +846,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -889,6 +922,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -965,6 +1000,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -1047,6 +1084,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -1121,6 +1160,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -1191,6 +1232,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -1262,6 +1305,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -1332,6 +1377,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -1403,6 +1450,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -1473,6 +1522,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -1544,6 +1595,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -1616,6 +1669,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -1687,6 +1742,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -1755,6 +1812,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -1823,6 +1882,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -1894,6 +1955,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -1964,6 +2027,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -2035,6 +2100,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -2105,6 +2172,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -2173,6 +2242,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -2243,6 +2314,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -2313,6 +2386,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -2381,6 +2456,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -2450,6 +2527,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -2520,6 +2599,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -2591,6 +2672,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -2663,6 +2746,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -2734,6 +2819,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -2804,6 +2891,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -2874,6 +2963,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -2946,6 +3037,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -3019,6 +3112,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -3089,6 +3184,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -3159,6 +3256,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -3229,6 +3328,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -3299,6 +3400,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -3369,6 +3472,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -3439,6 +3544,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -3510,6 +3617,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -3580,6 +3689,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -3649,6 +3760,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -3717,6 +3830,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -3784,6 +3899,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -3852,6 +3969,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -3921,6 +4040,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -3992,6 +4113,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -4063,6 +4186,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -4134,6 +4259,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -4205,6 +4332,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -4276,6 +4405,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -4345,6 +4476,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -4414,6 +4547,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -4483,6 +4618,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -4553,6 +4690,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -4622,6 +4761,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -4691,6 +4832,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -4761,6 +4904,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -4832,6 +4977,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -4902,6 +5049,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -4973,6 +5122,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -5043,6 +5194,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -5112,6 +5265,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -5181,6 +5336,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -5252,6 +5409,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -5323,6 +5482,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -5392,6 +5553,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -5462,6 +5625,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -5533,6 +5698,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -5604,6 +5771,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -5678,6 +5847,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -5751,6 +5922,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -5825,6 +5998,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -5900,6 +6075,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -5975,6 +6152,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -6048,6 +6227,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -6123,6 +6304,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -6197,6 +6380,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -6268,6 +6453,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -6341,6 +6528,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -6414,6 +6603,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -6490,6 +6681,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -6564,6 +6757,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -6638,6 +6833,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -6712,6 +6909,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -6784,6 +6983,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -6858,6 +7059,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -6943,6 +7146,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() @@ -7017,6 +7222,8 @@ extension BackupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSBackupGateway/Package.swift.txt b/Sources/Services/AWSBackupGateway/Package.swift.txt index 5de7fd7790c..9cab4504b3b 100644 --- a/Sources/Services/AWSBackupGateway/Package.swift.txt +++ b/Sources/Services/AWSBackupGateway/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSBackupGateway/Sources/AWSBackupGateway/BackupGatewayClient.swift b/Sources/Services/AWSBackupGateway/Sources/AWSBackupGateway/BackupGatewayClient.swift index e7e02a4dac3..cc02e9809af 100644 --- a/Sources/Services/AWSBackupGateway/Sources/AWSBackupGateway/BackupGatewayClient.swift +++ b/Sources/Services/AWSBackupGateway/Sources/AWSBackupGateway/BackupGatewayClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BackupGatewayClient: ClientRuntime.Client { public static let clientName = "BackupGatewayClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: BackupGatewayClient.BackupGatewayClientConfiguration let serviceName = "Backup Gateway" @@ -93,6 +94,8 @@ extension BackupGatewayClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension BackupGatewayClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension BackupGatewayClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension BackupGatewayClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension BackupGatewayClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension BackupGatewayClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension BackupGatewayClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension BackupGatewayClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension BackupGatewayClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -369,6 +388,8 @@ extension BackupGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-gateway") .withSigningRegion(value: config.signingRegion) .build() @@ -442,6 +463,8 @@ extension BackupGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-gateway") .withSigningRegion(value: config.signingRegion) .build() @@ -516,6 +539,8 @@ extension BackupGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-gateway") .withSigningRegion(value: config.signingRegion) .build() @@ -592,6 +617,8 @@ extension BackupGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-gateway") .withSigningRegion(value: config.signingRegion) .build() @@ -667,6 +694,8 @@ extension BackupGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-gateway") .withSigningRegion(value: config.signingRegion) .build() @@ -741,6 +770,8 @@ extension BackupGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-gateway") .withSigningRegion(value: config.signingRegion) .build() @@ -815,6 +846,8 @@ extension BackupGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-gateway") .withSigningRegion(value: config.signingRegion) .build() @@ -889,6 +922,8 @@ extension BackupGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-gateway") .withSigningRegion(value: config.signingRegion) .build() @@ -963,6 +998,8 @@ extension BackupGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-gateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1037,6 +1074,8 @@ extension BackupGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-gateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1112,6 +1151,8 @@ extension BackupGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-gateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1185,6 +1226,8 @@ extension BackupGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-gateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1258,6 +1301,8 @@ extension BackupGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-gateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1332,6 +1377,8 @@ extension BackupGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-gateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1405,6 +1452,8 @@ extension BackupGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-gateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1479,6 +1528,8 @@ extension BackupGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-gateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1555,6 +1606,8 @@ extension BackupGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-gateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1630,6 +1683,8 @@ extension BackupGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-gateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1705,6 +1760,8 @@ extension BackupGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-gateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1779,6 +1836,8 @@ extension BackupGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-gateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1854,6 +1913,8 @@ extension BackupGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-gateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1928,6 +1989,8 @@ extension BackupGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-gateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2003,6 +2066,8 @@ extension BackupGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-gateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2077,6 +2142,8 @@ extension BackupGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-gateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2153,6 +2220,8 @@ extension BackupGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-gateway") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSBackupSearch/Package.swift.txt b/Sources/Services/AWSBackupSearch/Package.swift.txt index 716462a3a95..5dbb7c731d6 100644 --- a/Sources/Services/AWSBackupSearch/Package.swift.txt +++ b/Sources/Services/AWSBackupSearch/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSBackupSearch/Sources/AWSBackupSearch/BackupSearchClient.swift b/Sources/Services/AWSBackupSearch/Sources/AWSBackupSearch/BackupSearchClient.swift index 875897339aa..7a091ce6ae6 100644 --- a/Sources/Services/AWSBackupSearch/Sources/AWSBackupSearch/BackupSearchClient.swift +++ b/Sources/Services/AWSBackupSearch/Sources/AWSBackupSearch/BackupSearchClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BackupSearchClient: ClientRuntime.Client { public static let clientName = "BackupSearchClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: BackupSearchClient.BackupSearchClientConfiguration let serviceName = "BackupSearch" @@ -94,6 +95,8 @@ extension BackupSearchClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension BackupSearchClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension BackupSearchClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension BackupSearchClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension BackupSearchClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension BackupSearchClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension BackupSearchClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension BackupSearchClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension BackupSearchClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension BackupSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-search") .withSigningRegion(value: config.signingRegion) .build() @@ -442,6 +463,8 @@ extension BackupSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-search") .withSigningRegion(value: config.signingRegion) .build() @@ -513,6 +536,8 @@ extension BackupSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-search") .withSigningRegion(value: config.signingRegion) .build() @@ -585,6 +610,8 @@ extension BackupSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-search") .withSigningRegion(value: config.signingRegion) .build() @@ -656,6 +683,8 @@ extension BackupSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-search") .withSigningRegion(value: config.signingRegion) .build() @@ -729,6 +758,8 @@ extension BackupSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-search") .withSigningRegion(value: config.signingRegion) .build() @@ -801,6 +832,8 @@ extension BackupSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-search") .withSigningRegion(value: config.signingRegion) .build() @@ -873,6 +906,8 @@ extension BackupSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-search") .withSigningRegion(value: config.signingRegion) .build() @@ -949,6 +984,8 @@ extension BackupSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-search") .withSigningRegion(value: config.signingRegion) .build() @@ -1024,6 +1061,8 @@ extension BackupSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-search") .withSigningRegion(value: config.signingRegion) .build() @@ -1095,6 +1134,8 @@ extension BackupSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-search") .withSigningRegion(value: config.signingRegion) .build() @@ -1169,6 +1210,8 @@ extension BackupSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "backup-search") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSBatch/Package.swift.txt b/Sources/Services/AWSBatch/Package.swift.txt index dd48e07c6ad..6162b51fb34 100644 --- a/Sources/Services/AWSBatch/Package.swift.txt +++ b/Sources/Services/AWSBatch/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSBatch/Sources/AWSBatch/BatchClient.swift b/Sources/Services/AWSBatch/Sources/AWSBatch/BatchClient.swift index 9ff4ba49394..dd9d449af6e 100644 --- a/Sources/Services/AWSBatch/Sources/AWSBatch/BatchClient.swift +++ b/Sources/Services/AWSBatch/Sources/AWSBatch/BatchClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BatchClient: ClientRuntime.Client { public static let clientName = "BatchClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: BatchClient.BatchClientConfiguration let serviceName = "Batch" @@ -93,6 +94,8 @@ extension BatchClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension BatchClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension BatchClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension BatchClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension BatchClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension BatchClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension BatchClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension BatchClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension BatchClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -367,6 +386,8 @@ extension BatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "batch") .withSigningRegion(value: config.signingRegion) .build() @@ -460,6 +481,8 @@ extension BatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "batch") .withSigningRegion(value: config.signingRegion) .build() @@ -531,6 +554,8 @@ extension BatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "batch") .withSigningRegion(value: config.signingRegion) .build() @@ -602,6 +627,8 @@ extension BatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "batch") .withSigningRegion(value: config.signingRegion) .build() @@ -673,6 +700,8 @@ extension BatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "batch") .withSigningRegion(value: config.signingRegion) .build() @@ -744,6 +773,8 @@ extension BatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "batch") .withSigningRegion(value: config.signingRegion) .build() @@ -815,6 +846,8 @@ extension BatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "batch") .withSigningRegion(value: config.signingRegion) .build() @@ -886,6 +919,8 @@ extension BatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "batch") .withSigningRegion(value: config.signingRegion) .build() @@ -957,6 +992,8 @@ extension BatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "batch") .withSigningRegion(value: config.signingRegion) .build() @@ -1028,6 +1065,8 @@ extension BatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "batch") .withSigningRegion(value: config.signingRegion) .build() @@ -1099,6 +1138,8 @@ extension BatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "batch") .withSigningRegion(value: config.signingRegion) .build() @@ -1170,6 +1211,8 @@ extension BatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "batch") .withSigningRegion(value: config.signingRegion) .build() @@ -1241,6 +1284,8 @@ extension BatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "batch") .withSigningRegion(value: config.signingRegion) .build() @@ -1312,6 +1357,8 @@ extension BatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "batch") .withSigningRegion(value: config.signingRegion) .build() @@ -1392,6 +1439,8 @@ extension BatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "batch") .withSigningRegion(value: config.signingRegion) .build() @@ -1463,6 +1512,8 @@ extension BatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "batch") .withSigningRegion(value: config.signingRegion) .build() @@ -1534,6 +1585,8 @@ extension BatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "batch") .withSigningRegion(value: config.signingRegion) .build() @@ -1602,6 +1655,8 @@ extension BatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "batch") .withSigningRegion(value: config.signingRegion) .build() @@ -1673,6 +1728,8 @@ extension BatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "batch") .withSigningRegion(value: config.signingRegion) .build() @@ -1744,6 +1801,8 @@ extension BatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "batch") .withSigningRegion(value: config.signingRegion) .build() @@ -1815,6 +1874,8 @@ extension BatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "batch") .withSigningRegion(value: config.signingRegion) .build() @@ -1886,6 +1947,8 @@ extension BatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "batch") .withSigningRegion(value: config.signingRegion) .build() @@ -1955,6 +2018,8 @@ extension BatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "batch") .withSigningRegion(value: config.signingRegion) .build() @@ -2026,6 +2091,8 @@ extension BatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "batch") .withSigningRegion(value: config.signingRegion) .build() @@ -2097,6 +2164,8 @@ extension BatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "batch") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSBedrock/Package.swift.txt b/Sources/Services/AWSBedrock/Package.swift.txt index 006b736e423..9d359e1c411 100644 --- a/Sources/Services/AWSBedrock/Package.swift.txt +++ b/Sources/Services/AWSBedrock/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSBedrock/Sources/AWSBedrock/BedrockClient.swift b/Sources/Services/AWSBedrock/Sources/AWSBedrock/BedrockClient.swift index 3935796795e..f56143c505c 100644 --- a/Sources/Services/AWSBedrock/Sources/AWSBedrock/BedrockClient.swift +++ b/Sources/Services/AWSBedrock/Sources/AWSBedrock/BedrockClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BedrockClient: ClientRuntime.Client { public static let clientName = "BedrockClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: BedrockClient.BedrockClientConfiguration let serviceName = "Bedrock" @@ -95,6 +96,8 @@ extension BedrockClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension BedrockClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension BedrockClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension BedrockClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension BedrockClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension BedrockClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension BedrockClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension BedrockClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension BedrockClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -449,6 +470,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -538,6 +561,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -615,6 +640,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -693,6 +720,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -770,6 +799,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -844,6 +875,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -922,6 +955,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -1000,6 +1035,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -1076,6 +1113,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -1153,6 +1192,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -1229,6 +1270,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -1305,6 +1348,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -1378,6 +1423,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -1450,6 +1497,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -1521,6 +1570,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -1590,6 +1641,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -1662,6 +1715,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -1734,6 +1789,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -1805,6 +1862,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -1876,6 +1935,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -1947,6 +2008,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -2018,6 +2081,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -2090,6 +2155,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -2161,6 +2228,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -2232,6 +2301,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -2303,6 +2374,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -2374,6 +2447,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -2445,6 +2520,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -2516,6 +2593,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -2585,6 +2664,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -2656,6 +2737,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -2727,6 +2810,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -2797,6 +2882,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -2868,6 +2955,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -2939,6 +3028,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -3011,6 +3102,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -3082,6 +3175,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -3153,6 +3248,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -3225,6 +3322,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -3297,6 +3396,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -3368,6 +3469,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -3439,6 +3542,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -3510,6 +3615,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -3581,6 +3688,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -3652,6 +3761,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -3724,6 +3835,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -3797,6 +3910,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -3872,6 +3987,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -3947,6 +4064,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -4019,6 +4138,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -4091,6 +4212,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -4163,6 +4286,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -4237,6 +4362,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -4339,6 +4466,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -4415,6 +4544,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -4490,6 +4621,8 @@ extension BedrockClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSBedrockAgent/Package.swift.txt b/Sources/Services/AWSBedrockAgent/Package.swift.txt index 79f859088c8..f91513e4352 100644 --- a/Sources/Services/AWSBedrockAgent/Package.swift.txt +++ b/Sources/Services/AWSBedrockAgent/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSBedrockAgent/Sources/AWSBedrockAgent/BedrockAgentClient.swift b/Sources/Services/AWSBedrockAgent/Sources/AWSBedrockAgent/BedrockAgentClient.swift index 359397f5cca..b3a4f6e07b0 100644 --- a/Sources/Services/AWSBedrockAgent/Sources/AWSBedrockAgent/BedrockAgentClient.swift +++ b/Sources/Services/AWSBedrockAgent/Sources/AWSBedrockAgent/BedrockAgentClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BedrockAgentClient: ClientRuntime.Client { public static let clientName = "BedrockAgentClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: BedrockAgentClient.BedrockAgentClientConfiguration let serviceName = "Bedrock Agent" @@ -95,6 +96,8 @@ extension BedrockAgentClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension BedrockAgentClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension BedrockAgentClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension BedrockAgentClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension BedrockAgentClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension BedrockAgentClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension BedrockAgentClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension BedrockAgentClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension BedrockAgentClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -451,6 +472,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -545,6 +568,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -622,6 +647,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -699,6 +726,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -776,6 +805,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -852,6 +883,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -929,6 +962,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -1006,6 +1041,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -1098,6 +1135,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -1174,6 +1213,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -1251,6 +1292,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -1327,6 +1370,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -1400,6 +1445,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -1472,6 +1519,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -1544,6 +1593,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -1617,6 +1668,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -1689,6 +1742,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -1762,6 +1817,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -1834,6 +1891,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -1907,6 +1966,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -1979,6 +2040,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -2055,6 +2118,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -2128,6 +2193,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -2200,6 +2267,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -2271,6 +2340,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -2342,6 +2413,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -2413,6 +2486,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -2484,6 +2559,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -2555,6 +2632,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -2626,6 +2705,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -2697,6 +2778,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -2768,6 +2851,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -2839,6 +2924,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -2910,6 +2997,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -2981,6 +3070,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -3052,6 +3143,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -3124,6 +3217,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -3198,6 +3293,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -3271,6 +3368,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -3346,6 +3445,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -3420,6 +3521,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -3494,6 +3597,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -3568,6 +3673,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -3642,6 +3749,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -3715,6 +3824,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -3789,6 +3900,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -3863,6 +3976,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -3935,6 +4050,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -4006,6 +4123,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -4078,6 +4197,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -4153,6 +4274,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -4226,6 +4349,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -4300,6 +4425,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -4372,6 +4499,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -4445,6 +4574,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -4518,6 +4649,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -4591,6 +4724,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -4667,6 +4802,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -4739,6 +4876,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -4813,6 +4952,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -4887,6 +5028,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -4963,6 +5106,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -5039,6 +5184,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -5115,6 +5262,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -5190,6 +5339,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -5265,6 +5416,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -5341,6 +5494,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -5417,6 +5572,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -5501,6 +5658,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -5577,6 +5736,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -5650,6 +5811,8 @@ extension BedrockAgentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSBedrockAgentRuntime/Package.swift.txt b/Sources/Services/AWSBedrockAgentRuntime/Package.swift.txt index 964bd95e6ec..cccd272fd64 100644 --- a/Sources/Services/AWSBedrockAgentRuntime/Package.swift.txt +++ b/Sources/Services/AWSBedrockAgentRuntime/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/BedrockAgentRuntimeClient.swift b/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/BedrockAgentRuntimeClient.swift index edc796786ff..4359d81f055 100644 --- a/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/BedrockAgentRuntimeClient.swift +++ b/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/BedrockAgentRuntimeClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BedrockAgentRuntimeClient: ClientRuntime.Client { public static let clientName = "BedrockAgentRuntimeClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: BedrockAgentRuntimeClient.BedrockAgentRuntimeClientConfiguration let serviceName = "Bedrock Agent Runtime" @@ -94,6 +95,8 @@ extension BedrockAgentRuntimeClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension BedrockAgentRuntimeClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension BedrockAgentRuntimeClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension BedrockAgentRuntimeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension BedrockAgentRuntimeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension BedrockAgentRuntimeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension BedrockAgentRuntimeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension BedrockAgentRuntimeClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension BedrockAgentRuntimeClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -375,6 +394,8 @@ extension BedrockAgentRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -451,6 +472,8 @@ extension BedrockAgentRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -529,6 +552,8 @@ extension BedrockAgentRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -571,7 +596,7 @@ extension BedrockAgentRuntimeClient { /// Performs the `InvokeAgent` operation on the `BedrockAgentRuntime` service. /// - /// 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: + /// 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. /// @@ -593,7 +618,7 @@ extension BedrockAgentRuntimeClient { /// * In the sessionState object, you can include attributes for the session or prompt or, if you configured an action group to return control, results from invocation of the action group. /// /// - /// The response is returned in the bytes field of the chunk object. + /// The response contains both chunk and trace attributes. The final response is returned in the bytes field of the chunk object. The InvokeAgent returns one chunk for the entire interaction. /// /// * The attribution object contains citations for parts of the response. /// @@ -636,6 +661,8 @@ extension BedrockAgentRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -715,6 +742,8 @@ extension BedrockAgentRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -774,9 +803,6 @@ extension BedrockAgentRuntimeClient { /// /// * The agent instructions will not be honored if your agent has only one knowledge base, uses default prompts, has no action group, and user input is disabled. /// - /// - /// The CLI doesn't support streaming operations in Amazon Bedrock, including InvokeInlineAgent. - /// /// - Parameter InvokeInlineAgentInput : [no documentation found] /// /// - Returns: `InvokeInlineAgentOutput` : [no documentation found] @@ -809,6 +835,8 @@ extension BedrockAgentRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -884,6 +912,8 @@ extension BedrockAgentRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -962,6 +992,8 @@ extension BedrockAgentRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -1040,6 +1072,8 @@ extension BedrockAgentRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -1118,6 +1152,8 @@ extension BedrockAgentRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -1196,6 +1232,8 @@ extension BedrockAgentRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/Models.swift b/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/Models.swift index 26af404cee8..e35b6a5387c 100644 --- a/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/Models.swift +++ b/Sources/Services/AWSBedrockAgentRuntime/Sources/AWSBedrockAgentRuntime/Models.swift @@ -6849,6 +6849,8 @@ public struct InvokeInlineAgentInput: Swift.Sendable { /// 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? + /// Specifies the configurations for streaming. To use agent streaming, you need permissions to perform the bedrock:InvokeModelWithResponseStream action. + public var streamingConfigurations: BedrockAgentRuntimeClientTypes.StreamingConfigurations? public init( actionGroups: [BedrockAgentRuntimeClientTypes.AgentActionGroup]? = nil, @@ -6864,7 +6866,8 @@ public struct InvokeInlineAgentInput: Swift.Sendable { instruction: Swift.String? = nil, knowledgeBases: [BedrockAgentRuntimeClientTypes.KnowledgeBase]? = nil, promptOverrideConfiguration: BedrockAgentRuntimeClientTypes.PromptOverrideConfiguration? = nil, - sessionId: Swift.String? = nil + sessionId: Swift.String? = nil, + streamingConfigurations: BedrockAgentRuntimeClientTypes.StreamingConfigurations? = nil ) { self.actionGroups = actionGroups self.bedrockModelConfigurations = bedrockModelConfigurations @@ -6880,12 +6883,13 @@ public struct InvokeInlineAgentInput: Swift.Sendable { self.knowledgeBases = knowledgeBases self.promptOverrideConfiguration = promptOverrideConfiguration self.sessionId = sessionId + self.streamingConfigurations = streamingConfigurations } } extension InvokeInlineAgentInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "InvokeInlineAgentInput(actionGroups: \(Swift.String(describing: actionGroups)), bedrockModelConfigurations: \(Swift.String(describing: bedrockModelConfigurations)), customerEncryptionKeyArn: \(Swift.String(describing: customerEncryptionKeyArn)), enableTrace: \(Swift.String(describing: enableTrace)), endSession: \(Swift.String(describing: endSession)), foundationModel: \(Swift.String(describing: foundationModel)), guardrailConfiguration: \(Swift.String(describing: guardrailConfiguration)), idleSessionTTLInSeconds: \(Swift.String(describing: idleSessionTTLInSeconds)), inlineSessionState: \(Swift.String(describing: inlineSessionState)), knowledgeBases: \(Swift.String(describing: knowledgeBases)), sessionId: \(Swift.String(describing: sessionId)), inputText: \"CONTENT_REDACTED\", instruction: \"CONTENT_REDACTED\", promptOverrideConfiguration: \"CONTENT_REDACTED\")"} + "InvokeInlineAgentInput(actionGroups: \(Swift.String(describing: actionGroups)), bedrockModelConfigurations: \(Swift.String(describing: bedrockModelConfigurations)), customerEncryptionKeyArn: \(Swift.String(describing: customerEncryptionKeyArn)), enableTrace: \(Swift.String(describing: enableTrace)), endSession: \(Swift.String(describing: endSession)), foundationModel: \(Swift.String(describing: foundationModel)), guardrailConfiguration: \(Swift.String(describing: guardrailConfiguration)), idleSessionTTLInSeconds: \(Swift.String(describing: idleSessionTTLInSeconds)), inlineSessionState: \(Swift.String(describing: inlineSessionState)), knowledgeBases: \(Swift.String(describing: knowledgeBases)), sessionId: \(Swift.String(describing: sessionId)), streamingConfigurations: \(Swift.String(describing: streamingConfigurations)), inputText: \"CONTENT_REDACTED\", instruction: \"CONTENT_REDACTED\", promptOverrideConfiguration: \"CONTENT_REDACTED\")"} } public struct RetrieveAndGenerateInput: Swift.Sendable { @@ -7220,6 +7224,7 @@ extension InvokeInlineAgentInput { try writer["instruction"].write(value.instruction) try writer["knowledgeBases"].writeList(value.knowledgeBases, memberWritingClosure: BedrockAgentRuntimeClientTypes.KnowledgeBase.write(value:to:), memberNodeInfo: "member", isFlattened: false) try writer["promptOverrideConfiguration"].write(value.promptOverrideConfiguration, with: BedrockAgentRuntimeClientTypes.PromptOverrideConfiguration.write(value:to:)) + try writer["streamingConfigurations"].write(value.streamingConfigurations, with: BedrockAgentRuntimeClientTypes.StreamingConfigurations.write(value:to:)) } } diff --git a/Sources/Services/AWSBedrockDataAutomation/Package.swift.txt b/Sources/Services/AWSBedrockDataAutomation/Package.swift.txt index d1c44cc6172..e3cc8635a37 100644 --- a/Sources/Services/AWSBedrockDataAutomation/Package.swift.txt +++ b/Sources/Services/AWSBedrockDataAutomation/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSBedrockDataAutomation/Sources/AWSBedrockDataAutomation/BedrockDataAutomationClient.swift b/Sources/Services/AWSBedrockDataAutomation/Sources/AWSBedrockDataAutomation/BedrockDataAutomationClient.swift index d3d01a88802..5bbdd00664c 100644 --- a/Sources/Services/AWSBedrockDataAutomation/Sources/AWSBedrockDataAutomation/BedrockDataAutomationClient.swift +++ b/Sources/Services/AWSBedrockDataAutomation/Sources/AWSBedrockDataAutomation/BedrockDataAutomationClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BedrockDataAutomationClient: ClientRuntime.Client { public static let clientName = "BedrockDataAutomationClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: BedrockDataAutomationClient.BedrockDataAutomationClientConfiguration let serviceName = "Bedrock Data Automation" @@ -94,6 +95,8 @@ extension BedrockDataAutomationClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension BedrockDataAutomationClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension BedrockDataAutomationClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension BedrockDataAutomationClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension BedrockDataAutomationClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension BedrockDataAutomationClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension BedrockDataAutomationClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension BedrockDataAutomationClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension BedrockDataAutomationClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension BedrockDataAutomationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -448,6 +469,8 @@ extension BedrockDataAutomationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -524,6 +547,8 @@ extension BedrockDataAutomationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -599,6 +624,8 @@ extension BedrockDataAutomationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -671,6 +698,8 @@ extension BedrockDataAutomationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -742,6 +771,8 @@ extension BedrockDataAutomationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -816,6 +847,8 @@ extension BedrockDataAutomationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -890,6 +923,8 @@ extension BedrockDataAutomationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -964,6 +999,8 @@ extension BedrockDataAutomationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -1039,6 +1076,8 @@ extension BedrockDataAutomationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -1114,6 +1153,8 @@ extension BedrockDataAutomationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSBedrockDataAutomationRuntime/Package.swift.txt b/Sources/Services/AWSBedrockDataAutomationRuntime/Package.swift.txt index 22aaf13a357..6de5ddb8252 100644 --- a/Sources/Services/AWSBedrockDataAutomationRuntime/Package.swift.txt +++ b/Sources/Services/AWSBedrockDataAutomationRuntime/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSBedrockDataAutomationRuntime/Sources/AWSBedrockDataAutomationRuntime/BedrockDataAutomationRuntimeClient.swift b/Sources/Services/AWSBedrockDataAutomationRuntime/Sources/AWSBedrockDataAutomationRuntime/BedrockDataAutomationRuntimeClient.swift index 6ee0793e8fd..119d3fa35ac 100644 --- a/Sources/Services/AWSBedrockDataAutomationRuntime/Sources/AWSBedrockDataAutomationRuntime/BedrockDataAutomationRuntimeClient.swift +++ b/Sources/Services/AWSBedrockDataAutomationRuntime/Sources/AWSBedrockDataAutomationRuntime/BedrockDataAutomationRuntimeClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BedrockDataAutomationRuntimeClient: ClientRuntime.Client { public static let clientName = "BedrockDataAutomationRuntimeClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: BedrockDataAutomationRuntimeClient.BedrockDataAutomationRuntimeClientConfiguration let serviceName = "Bedrock Data Automation Runtime" @@ -94,6 +95,8 @@ extension BedrockDataAutomationRuntimeClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension BedrockDataAutomationRuntimeClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension BedrockDataAutomationRuntimeClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension BedrockDataAutomationRuntimeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension BedrockDataAutomationRuntimeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension BedrockDataAutomationRuntimeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension BedrockDataAutomationRuntimeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension BedrockDataAutomationRuntimeClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension BedrockDataAutomationRuntimeClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension BedrockDataAutomationRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension BedrockDataAutomationRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSBedrockRuntime/Package.swift.txt b/Sources/Services/AWSBedrockRuntime/Package.swift.txt index c51e1aedb01..b43eb0ff37a 100644 --- a/Sources/Services/AWSBedrockRuntime/Package.swift.txt +++ b/Sources/Services/AWSBedrockRuntime/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSBedrockRuntime/Sources/AWSBedrockRuntime/BedrockRuntimeClient.swift b/Sources/Services/AWSBedrockRuntime/Sources/AWSBedrockRuntime/BedrockRuntimeClient.swift index 2f5ebea6b47..0efea61330c 100644 --- a/Sources/Services/AWSBedrockRuntime/Sources/AWSBedrockRuntime/BedrockRuntimeClient.swift +++ b/Sources/Services/AWSBedrockRuntime/Sources/AWSBedrockRuntime/BedrockRuntimeClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -69,7 +70,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BedrockRuntimeClient: ClientRuntime.Client { public static let clientName = "BedrockRuntimeClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: BedrockRuntimeClient.BedrockRuntimeClientConfiguration let serviceName = "Bedrock Runtime" @@ -99,6 +100,8 @@ extension BedrockRuntimeClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -124,6 +127,8 @@ extension BedrockRuntimeClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -147,6 +152,8 @@ extension BedrockRuntimeClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -173,6 +180,8 @@ extension BedrockRuntimeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -197,6 +206,8 @@ extension BedrockRuntimeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -223,6 +234,8 @@ extension BedrockRuntimeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -247,6 +260,8 @@ extension BedrockRuntimeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -274,6 +289,8 @@ extension BedrockRuntimeClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -301,6 +318,8 @@ extension BedrockRuntimeClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -377,6 +396,8 @@ extension BedrockRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -455,6 +476,8 @@ extension BedrockRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -533,6 +556,8 @@ extension BedrockRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -606,6 +631,8 @@ extension BedrockRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -682,6 +709,8 @@ extension BedrockRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -763,6 +792,8 @@ extension BedrockRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -837,6 +868,8 @@ extension BedrockRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() @@ -912,6 +945,8 @@ extension BedrockRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "bedrock") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSBilling/Package.swift.txt b/Sources/Services/AWSBilling/Package.swift.txt index fed207b336d..d4e464e2611 100644 --- a/Sources/Services/AWSBilling/Package.swift.txt +++ b/Sources/Services/AWSBilling/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSBilling/Sources/AWSBilling/BillingClient.swift b/Sources/Services/AWSBilling/Sources/AWSBilling/BillingClient.swift index 611b64beb15..d73e4252cce 100644 --- a/Sources/Services/AWSBilling/Sources/AWSBilling/BillingClient.swift +++ b/Sources/Services/AWSBilling/Sources/AWSBilling/BillingClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BillingClient: ClientRuntime.Client { public static let clientName = "BillingClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: BillingClient.BillingClientConfiguration let serviceName = "Billing" @@ -95,6 +96,8 @@ extension BillingClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension BillingClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension BillingClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension BillingClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension BillingClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension BillingClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension BillingClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension BillingClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension BillingClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension BillingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billing") .withSigningRegion(value: config.signingRegion) .build() @@ -449,6 +470,8 @@ extension BillingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billing") .withSigningRegion(value: config.signingRegion) .build() @@ -524,6 +547,8 @@ extension BillingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billing") .withSigningRegion(value: config.signingRegion) .build() @@ -599,6 +624,8 @@ extension BillingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billing") .withSigningRegion(value: config.signingRegion) .build() @@ -673,6 +700,8 @@ extension BillingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billing") .withSigningRegion(value: config.signingRegion) .build() @@ -748,6 +777,8 @@ extension BillingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billing") .withSigningRegion(value: config.signingRegion) .build() @@ -823,6 +854,8 @@ extension BillingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billing") .withSigningRegion(value: config.signingRegion) .build() @@ -898,6 +931,8 @@ extension BillingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billing") .withSigningRegion(value: config.signingRegion) .build() @@ -973,6 +1008,8 @@ extension BillingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billing") .withSigningRegion(value: config.signingRegion) .build() @@ -1050,6 +1087,8 @@ extension BillingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billing") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSBillingconductor/Package.swift.txt b/Sources/Services/AWSBillingconductor/Package.swift.txt index c1579b5ba89..451a7f4c4f0 100644 --- a/Sources/Services/AWSBillingconductor/Package.swift.txt +++ b/Sources/Services/AWSBillingconductor/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSBillingconductor/Sources/AWSBillingconductor/BillingconductorClient.swift b/Sources/Services/AWSBillingconductor/Sources/AWSBillingconductor/BillingconductorClient.swift index 6260fa104a9..3d0d08979ff 100644 --- a/Sources/Services/AWSBillingconductor/Sources/AWSBillingconductor/BillingconductorClient.swift +++ b/Sources/Services/AWSBillingconductor/Sources/AWSBillingconductor/BillingconductorClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BillingconductorClient: ClientRuntime.Client { public static let clientName = "BillingconductorClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: BillingconductorClient.BillingconductorClientConfiguration let serviceName = "billingconductor" @@ -95,6 +96,8 @@ extension BillingconductorClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension BillingconductorClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension BillingconductorClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension BillingconductorClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension BillingconductorClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension BillingconductorClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension BillingconductorClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension BillingconductorClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension BillingconductorClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension BillingconductorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billingconductor") .withSigningRegion(value: config.signingRegion) .build() @@ -450,6 +471,8 @@ extension BillingconductorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billingconductor") .withSigningRegion(value: config.signingRegion) .build() @@ -526,6 +549,8 @@ extension BillingconductorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billingconductor") .withSigningRegion(value: config.signingRegion) .build() @@ -601,6 +626,8 @@ extension BillingconductorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billingconductor") .withSigningRegion(value: config.signingRegion) .build() @@ -676,6 +703,8 @@ extension BillingconductorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billingconductor") .withSigningRegion(value: config.signingRegion) .build() @@ -753,6 +782,8 @@ extension BillingconductorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billingconductor") .withSigningRegion(value: config.signingRegion) .build() @@ -831,6 +862,8 @@ extension BillingconductorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billingconductor") .withSigningRegion(value: config.signingRegion) .build() @@ -908,6 +941,8 @@ extension BillingconductorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billingconductor") .withSigningRegion(value: config.signingRegion) .build() @@ -983,6 +1018,8 @@ extension BillingconductorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billingconductor") .withSigningRegion(value: config.signingRegion) .build() @@ -1057,6 +1094,8 @@ extension BillingconductorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billingconductor") .withSigningRegion(value: config.signingRegion) .build() @@ -1131,6 +1170,8 @@ extension BillingconductorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billingconductor") .withSigningRegion(value: config.signingRegion) .build() @@ -1205,6 +1246,8 @@ extension BillingconductorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billingconductor") .withSigningRegion(value: config.signingRegion) .build() @@ -1280,6 +1323,8 @@ extension BillingconductorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billingconductor") .withSigningRegion(value: config.signingRegion) .build() @@ -1355,6 +1400,8 @@ extension BillingconductorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billingconductor") .withSigningRegion(value: config.signingRegion) .build() @@ -1429,6 +1476,8 @@ extension BillingconductorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billingconductor") .withSigningRegion(value: config.signingRegion) .build() @@ -1503,6 +1552,8 @@ extension BillingconductorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billingconductor") .withSigningRegion(value: config.signingRegion) .build() @@ -1577,6 +1628,8 @@ extension BillingconductorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billingconductor") .withSigningRegion(value: config.signingRegion) .build() @@ -1651,6 +1704,8 @@ extension BillingconductorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billingconductor") .withSigningRegion(value: config.signingRegion) .build() @@ -1724,6 +1779,8 @@ extension BillingconductorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billingconductor") .withSigningRegion(value: config.signingRegion) .build() @@ -1798,6 +1855,8 @@ extension BillingconductorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billingconductor") .withSigningRegion(value: config.signingRegion) .build() @@ -1871,6 +1930,8 @@ extension BillingconductorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billingconductor") .withSigningRegion(value: config.signingRegion) .build() @@ -1945,6 +2006,8 @@ extension BillingconductorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billingconductor") .withSigningRegion(value: config.signingRegion) .build() @@ -2018,6 +2081,8 @@ extension BillingconductorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billingconductor") .withSigningRegion(value: config.signingRegion) .build() @@ -2092,6 +2157,8 @@ extension BillingconductorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billingconductor") .withSigningRegion(value: config.signingRegion) .build() @@ -2166,6 +2233,8 @@ extension BillingconductorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billingconductor") .withSigningRegion(value: config.signingRegion) .build() @@ -2240,6 +2309,8 @@ extension BillingconductorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billingconductor") .withSigningRegion(value: config.signingRegion) .build() @@ -2311,6 +2382,8 @@ extension BillingconductorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billingconductor") .withSigningRegion(value: config.signingRegion) .build() @@ -2385,6 +2458,8 @@ extension BillingconductorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billingconductor") .withSigningRegion(value: config.signingRegion) .build() @@ -2458,6 +2533,8 @@ extension BillingconductorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billingconductor") .withSigningRegion(value: config.signingRegion) .build() @@ -2532,6 +2609,8 @@ extension BillingconductorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billingconductor") .withSigningRegion(value: config.signingRegion) .build() @@ -2607,6 +2686,8 @@ extension BillingconductorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billingconductor") .withSigningRegion(value: config.signingRegion) .build() @@ -2682,6 +2763,8 @@ extension BillingconductorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "billingconductor") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSBraket/Package.swift.txt b/Sources/Services/AWSBraket/Package.swift.txt index f611978a255..af3c26e3bc2 100644 --- a/Sources/Services/AWSBraket/Package.swift.txt +++ b/Sources/Services/AWSBraket/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSBraket/Sources/AWSBraket/BraketClient.swift b/Sources/Services/AWSBraket/Sources/AWSBraket/BraketClient.swift index c97ea5eda8a..2b7298cded7 100644 --- a/Sources/Services/AWSBraket/Sources/AWSBraket/BraketClient.swift +++ b/Sources/Services/AWSBraket/Sources/AWSBraket/BraketClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BraketClient: ClientRuntime.Client { public static let clientName = "BraketClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: BraketClient.BraketClientConfiguration let serviceName = "Braket" @@ -95,6 +96,8 @@ extension BraketClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension BraketClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension BraketClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension BraketClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension BraketClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension BraketClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension BraketClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension BraketClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension BraketClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension BraketClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "braket") .withSigningRegion(value: config.signingRegion) .build() @@ -445,6 +466,8 @@ extension BraketClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "braket") .withSigningRegion(value: config.signingRegion) .build() @@ -523,6 +546,8 @@ extension BraketClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "braket") .withSigningRegion(value: config.signingRegion) .build() @@ -600,6 +625,8 @@ extension BraketClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "braket") .withSigningRegion(value: config.signingRegion) .build() @@ -675,6 +702,8 @@ extension BraketClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "braket") .withSigningRegion(value: config.signingRegion) .build() @@ -746,6 +775,8 @@ extension BraketClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "braket") .withSigningRegion(value: config.signingRegion) .build() @@ -818,6 +849,8 @@ extension BraketClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "braket") .withSigningRegion(value: config.signingRegion) .build() @@ -888,6 +921,8 @@ extension BraketClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "braket") .withSigningRegion(value: config.signingRegion) .build() @@ -958,6 +993,8 @@ extension BraketClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "braket") .withSigningRegion(value: config.signingRegion) .build() @@ -1031,6 +1068,8 @@ extension BraketClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "braket") .withSigningRegion(value: config.signingRegion) .build() @@ -1104,6 +1143,8 @@ extension BraketClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "braket") .withSigningRegion(value: config.signingRegion) .build() @@ -1176,6 +1217,8 @@ extension BraketClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "braket") .withSigningRegion(value: config.signingRegion) .build() @@ -1248,6 +1291,8 @@ extension BraketClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "braket") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSBudgets/Package.swift.txt b/Sources/Services/AWSBudgets/Package.swift.txt index 95f65eed2ea..a6c33560537 100644 --- a/Sources/Services/AWSBudgets/Package.swift.txt +++ b/Sources/Services/AWSBudgets/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSBudgets/Sources/AWSBudgets/BudgetsClient.swift b/Sources/Services/AWSBudgets/Sources/AWSBudgets/BudgetsClient.swift index d3dbd634d9d..2f681859fc9 100644 --- a/Sources/Services/AWSBudgets/Sources/AWSBudgets/BudgetsClient.swift +++ b/Sources/Services/AWSBudgets/Sources/AWSBudgets/BudgetsClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class BudgetsClient: ClientRuntime.Client { public static let clientName = "BudgetsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: BudgetsClient.BudgetsClientConfiguration let serviceName = "Budgets" @@ -93,6 +94,8 @@ extension BudgetsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension BudgetsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension BudgetsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension BudgetsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension BudgetsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension BudgetsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension BudgetsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension BudgetsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension BudgetsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension BudgetsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "budgets") .withSigningRegion(value: config.signingRegion) .build() @@ -450,6 +471,8 @@ extension BudgetsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "budgets") .withSigningRegion(value: config.signingRegion) .build() @@ -527,6 +550,8 @@ extension BudgetsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "budgets") .withSigningRegion(value: config.signingRegion) .build() @@ -604,6 +629,8 @@ extension BudgetsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "budgets") .withSigningRegion(value: config.signingRegion) .build() @@ -679,6 +706,8 @@ extension BudgetsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "budgets") .withSigningRegion(value: config.signingRegion) .build() @@ -755,6 +784,8 @@ extension BudgetsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "budgets") .withSigningRegion(value: config.signingRegion) .build() @@ -830,6 +861,8 @@ extension BudgetsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "budgets") .withSigningRegion(value: config.signingRegion) .build() @@ -905,6 +938,8 @@ extension BudgetsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "budgets") .withSigningRegion(value: config.signingRegion) .build() @@ -980,6 +1015,8 @@ extension BudgetsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "budgets") .withSigningRegion(value: config.signingRegion) .build() @@ -1055,6 +1092,8 @@ extension BudgetsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "budgets") .withSigningRegion(value: config.signingRegion) .build() @@ -1131,6 +1170,8 @@ extension BudgetsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "budgets") .withSigningRegion(value: config.signingRegion) .build() @@ -1206,6 +1247,8 @@ extension BudgetsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "budgets") .withSigningRegion(value: config.signingRegion) .build() @@ -1282,6 +1325,8 @@ extension BudgetsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "budgets") .withSigningRegion(value: config.signingRegion) .build() @@ -1359,6 +1404,8 @@ extension BudgetsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "budgets") .withSigningRegion(value: config.signingRegion) .build() @@ -1436,6 +1483,8 @@ extension BudgetsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "budgets") .withSigningRegion(value: config.signingRegion) .build() @@ -1513,6 +1562,8 @@ extension BudgetsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "budgets") .withSigningRegion(value: config.signingRegion) .build() @@ -1590,6 +1641,8 @@ extension BudgetsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "budgets") .withSigningRegion(value: config.signingRegion) .build() @@ -1667,6 +1720,8 @@ extension BudgetsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "budgets") .withSigningRegion(value: config.signingRegion) .build() @@ -1743,6 +1798,8 @@ extension BudgetsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "budgets") .withSigningRegion(value: config.signingRegion) .build() @@ -1818,6 +1875,8 @@ extension BudgetsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "budgets") .withSigningRegion(value: config.signingRegion) .build() @@ -1894,6 +1953,8 @@ extension BudgetsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "budgets") .withSigningRegion(value: config.signingRegion) .build() @@ -1969,6 +2030,8 @@ extension BudgetsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "budgets") .withSigningRegion(value: config.signingRegion) .build() @@ -2044,6 +2107,8 @@ extension BudgetsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "budgets") .withSigningRegion(value: config.signingRegion) .build() @@ -2120,6 +2185,8 @@ extension BudgetsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "budgets") .withSigningRegion(value: config.signingRegion) .build() @@ -2196,6 +2263,8 @@ extension BudgetsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "budgets") .withSigningRegion(value: config.signingRegion) .build() @@ -2272,6 +2341,8 @@ extension BudgetsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "budgets") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSChatbot/Package.swift.txt b/Sources/Services/AWSChatbot/Package.swift.txt index 5593a61dfdf..0011bc20177 100644 --- a/Sources/Services/AWSChatbot/Package.swift.txt +++ b/Sources/Services/AWSChatbot/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSChatbot/Sources/AWSChatbot/ChatbotClient.swift b/Sources/Services/AWSChatbot/Sources/AWSChatbot/ChatbotClient.swift index 12828058c66..baa14db08f7 100644 --- a/Sources/Services/AWSChatbot/Sources/AWSChatbot/ChatbotClient.swift +++ b/Sources/Services/AWSChatbot/Sources/AWSChatbot/ChatbotClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ChatbotClient: ClientRuntime.Client { public static let clientName = "ChatbotClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ChatbotClient.ChatbotClientConfiguration let serviceName = "chatbot" @@ -93,6 +94,8 @@ extension ChatbotClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension ChatbotClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension ChatbotClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension ChatbotClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension ChatbotClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension ChatbotClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension ChatbotClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension ChatbotClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension ChatbotClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -368,6 +387,8 @@ extension ChatbotClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chatbot") .withSigningRegion(value: config.signingRegion) .build() @@ -442,6 +463,8 @@ extension ChatbotClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chatbot") .withSigningRegion(value: config.signingRegion) .build() @@ -516,6 +539,8 @@ extension ChatbotClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chatbot") .withSigningRegion(value: config.signingRegion) .build() @@ -591,6 +616,8 @@ extension ChatbotClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chatbot") .withSigningRegion(value: config.signingRegion) .build() @@ -665,6 +692,8 @@ extension ChatbotClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chatbot") .withSigningRegion(value: config.signingRegion) .build() @@ -738,6 +767,8 @@ extension ChatbotClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chatbot") .withSigningRegion(value: config.signingRegion) .build() @@ -811,6 +842,8 @@ extension ChatbotClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chatbot") .withSigningRegion(value: config.signingRegion) .build() @@ -884,6 +917,8 @@ extension ChatbotClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chatbot") .withSigningRegion(value: config.signingRegion) .build() @@ -955,6 +990,8 @@ extension ChatbotClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chatbot") .withSigningRegion(value: config.signingRegion) .build() @@ -1027,6 +1064,8 @@ extension ChatbotClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chatbot") .withSigningRegion(value: config.signingRegion) .build() @@ -1100,6 +1139,8 @@ extension ChatbotClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chatbot") .withSigningRegion(value: config.signingRegion) .build() @@ -1172,6 +1213,8 @@ extension ChatbotClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chatbot") .withSigningRegion(value: config.signingRegion) .build() @@ -1243,6 +1286,8 @@ extension ChatbotClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chatbot") .withSigningRegion(value: config.signingRegion) .build() @@ -1315,6 +1360,8 @@ extension ChatbotClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chatbot") .withSigningRegion(value: config.signingRegion) .build() @@ -1387,6 +1434,8 @@ extension ChatbotClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chatbot") .withSigningRegion(value: config.signingRegion) .build() @@ -1459,6 +1508,8 @@ extension ChatbotClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chatbot") .withSigningRegion(value: config.signingRegion) .build() @@ -1531,6 +1582,8 @@ extension ChatbotClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chatbot") .withSigningRegion(value: config.signingRegion) .build() @@ -1603,6 +1656,8 @@ extension ChatbotClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chatbot") .withSigningRegion(value: config.signingRegion) .build() @@ -1674,6 +1729,8 @@ extension ChatbotClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chatbot") .withSigningRegion(value: config.signingRegion) .build() @@ -1744,6 +1801,8 @@ extension ChatbotClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chatbot") .withSigningRegion(value: config.signingRegion) .build() @@ -1816,6 +1875,8 @@ extension ChatbotClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chatbot") .withSigningRegion(value: config.signingRegion) .build() @@ -1881,6 +1942,8 @@ extension ChatbotClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chatbot") .withSigningRegion(value: config.signingRegion) .build() @@ -1953,6 +2016,8 @@ extension ChatbotClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chatbot") .withSigningRegion(value: config.signingRegion) .build() @@ -2025,6 +2090,8 @@ extension ChatbotClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chatbot") .withSigningRegion(value: config.signingRegion) .build() @@ -2097,6 +2164,8 @@ extension ChatbotClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chatbot") .withSigningRegion(value: config.signingRegion) .build() @@ -2169,6 +2238,8 @@ extension ChatbotClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chatbot") .withSigningRegion(value: config.signingRegion) .build() @@ -2241,6 +2312,8 @@ extension ChatbotClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chatbot") .withSigningRegion(value: config.signingRegion) .build() @@ -2314,6 +2387,8 @@ extension ChatbotClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chatbot") .withSigningRegion(value: config.signingRegion) .build() @@ -2386,6 +2461,8 @@ extension ChatbotClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chatbot") .withSigningRegion(value: config.signingRegion) .build() @@ -2458,6 +2535,8 @@ extension ChatbotClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chatbot") .withSigningRegion(value: config.signingRegion) .build() @@ -2531,6 +2610,8 @@ extension ChatbotClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chatbot") .withSigningRegion(value: config.signingRegion) .build() @@ -2604,6 +2685,8 @@ extension ChatbotClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chatbot") .withSigningRegion(value: config.signingRegion) .build() @@ -2677,6 +2760,8 @@ extension ChatbotClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chatbot") .withSigningRegion(value: config.signingRegion) .build() @@ -2750,6 +2835,8 @@ extension ChatbotClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chatbot") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSChime/Package.swift.txt b/Sources/Services/AWSChime/Package.swift.txt index 9d1f3cfc7a0..64c06636999 100644 --- a/Sources/Services/AWSChime/Package.swift.txt +++ b/Sources/Services/AWSChime/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSChime/Sources/AWSChime/ChimeClient.swift b/Sources/Services/AWSChime/Sources/AWSChime/ChimeClient.swift index e28fe816e2e..e367321dc57 100644 --- a/Sources/Services/AWSChime/Sources/AWSChime/ChimeClient.swift +++ b/Sources/Services/AWSChime/Sources/AWSChime/ChimeClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -66,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ChimeClient: ClientRuntime.Client { public static let clientName = "ChimeClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ChimeClient.ChimeClientConfiguration let serviceName = "Chime" @@ -96,6 +97,8 @@ extension ChimeClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -121,6 +124,8 @@ extension ChimeClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -144,6 +149,8 @@ extension ChimeClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -170,6 +177,8 @@ extension ChimeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -194,6 +203,8 @@ extension ChimeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -220,6 +231,8 @@ extension ChimeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -244,6 +257,8 @@ extension ChimeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -271,6 +286,8 @@ extension ChimeClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -298,6 +315,8 @@ extension ChimeClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -376,6 +395,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -455,6 +476,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -534,6 +557,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -611,6 +636,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -690,6 +717,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -767,6 +796,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -845,6 +876,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -922,6 +955,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -999,6 +1034,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1076,6 +1113,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1153,6 +1192,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1230,6 +1271,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1306,6 +1349,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1384,6 +1429,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1470,6 +1517,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1548,6 +1597,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1627,6 +1678,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1704,6 +1757,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1782,6 +1837,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1862,6 +1919,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1961,6 +2020,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2053,6 +2114,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2131,6 +2194,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2209,6 +2274,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2287,6 +2354,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2364,6 +2433,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2443,6 +2514,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2520,6 +2593,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2597,6 +2672,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2676,6 +2753,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2755,6 +2834,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2833,6 +2914,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2912,6 +2995,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2989,6 +3074,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3068,6 +3155,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3146,6 +3235,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3223,6 +3314,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3296,6 +3389,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3370,6 +3465,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3444,6 +3541,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3517,6 +3616,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3591,6 +3692,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3664,6 +3767,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3738,6 +3843,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3813,6 +3920,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3887,6 +3996,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3961,6 +4072,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -4034,6 +4147,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -4108,6 +4223,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -4182,6 +4299,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -4255,6 +4374,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -4329,6 +4450,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -4402,6 +4525,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -4475,6 +4600,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -4550,6 +4677,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -4625,6 +4754,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -4700,6 +4831,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -4774,6 +4907,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -4849,6 +4984,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -4923,6 +5060,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -4997,6 +5136,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -5071,6 +5212,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -5145,6 +5288,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -5219,6 +5364,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -5296,6 +5443,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -5369,6 +5518,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -5442,6 +5593,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -5515,6 +5668,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -5590,6 +5745,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -5665,6 +5822,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -5739,6 +5898,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -5814,6 +5975,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -5890,6 +6053,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -5964,6 +6129,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -6039,6 +6206,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -6117,6 +6286,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -6194,6 +6365,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -6271,6 +6444,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -6344,6 +6519,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -6418,6 +6595,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -6492,6 +6671,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -6566,6 +6747,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -6639,6 +6822,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -6713,6 +6898,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -6787,6 +6974,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -6859,6 +7048,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -6933,6 +7124,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -7007,6 +7200,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -7079,6 +7274,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -7152,6 +7349,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -7225,6 +7424,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -7297,6 +7498,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -7371,6 +7574,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -7444,6 +7649,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -7517,6 +7724,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -7591,6 +7800,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -7665,6 +7876,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -7739,6 +7952,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -7812,6 +8027,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -7885,6 +8102,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -7959,6 +8178,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -8033,6 +8254,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -8107,6 +8330,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -8181,6 +8406,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -8255,6 +8482,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -8329,6 +8558,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -8403,6 +8634,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -8477,6 +8710,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -8551,6 +8786,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -8624,6 +8861,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -8701,6 +8940,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -8775,6 +9016,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -8849,6 +9092,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -8923,6 +9168,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -8998,6 +9245,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -9072,6 +9321,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -9146,6 +9397,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -9220,6 +9473,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -9295,6 +9550,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -9370,6 +9627,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -9445,6 +9704,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -9520,6 +9781,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -9602,6 +9865,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -9677,6 +9942,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -9752,6 +10019,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -9827,6 +10096,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -9900,6 +10171,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -9973,6 +10246,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -10047,6 +10322,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -10122,6 +10399,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -10196,6 +10475,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -10270,6 +10551,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -10344,6 +10627,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -10418,6 +10703,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -10492,6 +10779,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -10573,6 +10862,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -10647,6 +10938,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -10721,6 +11014,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -10796,6 +11091,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -10869,6 +11166,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -10943,6 +11242,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -11019,6 +11320,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -11096,6 +11399,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -11172,6 +11477,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -11249,6 +11556,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -11326,6 +11635,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -11403,6 +11714,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -11480,6 +11793,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -11557,6 +11872,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -11635,6 +11952,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -11712,6 +12031,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -11790,6 +12111,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -11867,6 +12190,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -11944,6 +12269,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -12019,6 +12346,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -12093,6 +12422,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -12167,6 +12498,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -12241,6 +12574,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -12316,6 +12651,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -12390,6 +12727,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -12465,6 +12804,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -12546,6 +12887,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -12625,6 +12968,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -12701,6 +13046,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -12780,6 +13127,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -12857,6 +13206,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -12935,6 +13286,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -13013,6 +13366,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -13090,6 +13445,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -13167,6 +13524,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -13244,6 +13603,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -13321,6 +13682,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -13398,6 +13761,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -13474,6 +13839,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -13551,6 +13918,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -13629,6 +13998,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -13707,6 +14078,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -13780,6 +14153,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -13857,6 +14232,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -13932,6 +14309,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -14009,6 +14388,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -14085,6 +14466,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -14161,6 +14544,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -14239,6 +14624,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -14317,6 +14704,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -14396,6 +14785,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -14472,6 +14863,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -14548,6 +14941,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -14625,6 +15020,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -14703,6 +15100,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -14780,6 +15179,8 @@ extension ChimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSChimeSDKIdentity/Package.swift.txt b/Sources/Services/AWSChimeSDKIdentity/Package.swift.txt index dd4b1a8ca17..612412a988c 100644 --- a/Sources/Services/AWSChimeSDKIdentity/Package.swift.txt +++ b/Sources/Services/AWSChimeSDKIdentity/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSChimeSDKIdentity/Sources/AWSChimeSDKIdentity/ChimeSDKIdentityClient.swift b/Sources/Services/AWSChimeSDKIdentity/Sources/AWSChimeSDKIdentity/ChimeSDKIdentityClient.swift index 1290f1194eb..b3d3bd080d3 100644 --- a/Sources/Services/AWSChimeSDKIdentity/Sources/AWSChimeSDKIdentity/ChimeSDKIdentityClient.swift +++ b/Sources/Services/AWSChimeSDKIdentity/Sources/AWSChimeSDKIdentity/ChimeSDKIdentityClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ChimeSDKIdentityClient: ClientRuntime.Client { public static let clientName = "ChimeSDKIdentityClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ChimeSDKIdentityClient.ChimeSDKIdentityClientConfiguration let serviceName = "Chime SDK Identity" @@ -95,6 +96,8 @@ extension ChimeSDKIdentityClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension ChimeSDKIdentityClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension ChimeSDKIdentityClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension ChimeSDKIdentityClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension ChimeSDKIdentityClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension ChimeSDKIdentityClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension ChimeSDKIdentityClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension ChimeSDKIdentityClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension ChimeSDKIdentityClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -375,6 +394,8 @@ extension ChimeSDKIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -460,6 +481,8 @@ extension ChimeSDKIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -537,6 +560,8 @@ extension ChimeSDKIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -615,6 +640,8 @@ extension ChimeSDKIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -692,6 +719,8 @@ extension ChimeSDKIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -766,6 +795,8 @@ extension ChimeSDKIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -840,6 +871,8 @@ extension ChimeSDKIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -914,6 +947,8 @@ extension ChimeSDKIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -986,6 +1021,8 @@ extension ChimeSDKIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1058,6 +1095,8 @@ extension ChimeSDKIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1130,6 +1169,8 @@ extension ChimeSDKIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1203,6 +1244,8 @@ extension ChimeSDKIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1275,6 +1318,8 @@ extension ChimeSDKIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1347,6 +1392,8 @@ extension ChimeSDKIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1419,6 +1466,8 @@ extension ChimeSDKIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1492,6 +1541,8 @@ extension ChimeSDKIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1566,6 +1617,8 @@ extension ChimeSDKIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1639,6 +1692,8 @@ extension ChimeSDKIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1712,6 +1767,8 @@ extension ChimeSDKIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1785,6 +1842,8 @@ extension ChimeSDKIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1858,6 +1917,8 @@ extension ChimeSDKIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1931,6 +1992,8 @@ extension ChimeSDKIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2007,6 +2070,8 @@ extension ChimeSDKIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2084,6 +2149,8 @@ extension ChimeSDKIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2161,6 +2228,8 @@ extension ChimeSDKIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2237,6 +2306,8 @@ extension ChimeSDKIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2314,6 +2385,8 @@ extension ChimeSDKIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2391,6 +2464,8 @@ extension ChimeSDKIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2468,6 +2543,8 @@ extension ChimeSDKIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2544,6 +2621,8 @@ extension ChimeSDKIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSChimeSDKMediaPipelines/Package.swift.txt b/Sources/Services/AWSChimeSDKMediaPipelines/Package.swift.txt index 7b10d0a54a6..8b94c682970 100644 --- a/Sources/Services/AWSChimeSDKMediaPipelines/Package.swift.txt +++ b/Sources/Services/AWSChimeSDKMediaPipelines/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSChimeSDKMediaPipelines/Sources/AWSChimeSDKMediaPipelines/ChimeSDKMediaPipelinesClient.swift b/Sources/Services/AWSChimeSDKMediaPipelines/Sources/AWSChimeSDKMediaPipelines/ChimeSDKMediaPipelinesClient.swift index ec332fdcf66..bd26ba31e6b 100644 --- a/Sources/Services/AWSChimeSDKMediaPipelines/Sources/AWSChimeSDKMediaPipelines/ChimeSDKMediaPipelinesClient.swift +++ b/Sources/Services/AWSChimeSDKMediaPipelines/Sources/AWSChimeSDKMediaPipelines/ChimeSDKMediaPipelinesClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ChimeSDKMediaPipelinesClient: ClientRuntime.Client { public static let clientName = "ChimeSDKMediaPipelinesClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ChimeSDKMediaPipelinesClient.ChimeSDKMediaPipelinesClientConfiguration let serviceName = "Chime SDK Media Pipelines" @@ -94,6 +95,8 @@ extension ChimeSDKMediaPipelinesClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension ChimeSDKMediaPipelinesClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension ChimeSDKMediaPipelinesClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension ChimeSDKMediaPipelinesClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension ChimeSDKMediaPipelinesClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension ChimeSDKMediaPipelinesClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension ChimeSDKMediaPipelinesClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension ChimeSDKMediaPipelinesClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension ChimeSDKMediaPipelinesClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension ChimeSDKMediaPipelinesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -450,6 +471,8 @@ extension ChimeSDKMediaPipelinesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -528,6 +551,8 @@ extension ChimeSDKMediaPipelinesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -606,6 +631,8 @@ extension ChimeSDKMediaPipelinesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -683,6 +710,8 @@ extension ChimeSDKMediaPipelinesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -761,6 +790,8 @@ extension ChimeSDKMediaPipelinesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -839,6 +870,8 @@ extension ChimeSDKMediaPipelinesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -916,6 +949,8 @@ extension ChimeSDKMediaPipelinesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -990,6 +1025,8 @@ extension ChimeSDKMediaPipelinesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1064,6 +1101,8 @@ extension ChimeSDKMediaPipelinesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1138,6 +1177,8 @@ extension ChimeSDKMediaPipelinesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1211,6 +1252,8 @@ extension ChimeSDKMediaPipelinesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1284,6 +1327,8 @@ extension ChimeSDKMediaPipelinesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1357,6 +1402,8 @@ extension ChimeSDKMediaPipelinesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1430,6 +1477,8 @@ extension ChimeSDKMediaPipelinesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1503,6 +1552,8 @@ extension ChimeSDKMediaPipelinesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1576,6 +1627,8 @@ extension ChimeSDKMediaPipelinesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1649,6 +1702,8 @@ extension ChimeSDKMediaPipelinesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1723,6 +1778,8 @@ extension ChimeSDKMediaPipelinesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1797,6 +1854,8 @@ extension ChimeSDKMediaPipelinesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1871,6 +1930,8 @@ extension ChimeSDKMediaPipelinesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1945,6 +2006,8 @@ extension ChimeSDKMediaPipelinesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2020,6 +2083,8 @@ extension ChimeSDKMediaPipelinesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2099,6 +2164,8 @@ extension ChimeSDKMediaPipelinesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2178,6 +2245,8 @@ extension ChimeSDKMediaPipelinesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2253,6 +2322,8 @@ extension ChimeSDKMediaPipelinesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2327,6 +2398,8 @@ extension ChimeSDKMediaPipelinesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2404,6 +2477,8 @@ extension ChimeSDKMediaPipelinesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2482,6 +2557,8 @@ extension ChimeSDKMediaPipelinesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2559,6 +2636,8 @@ extension ChimeSDKMediaPipelinesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2636,6 +2715,8 @@ extension ChimeSDKMediaPipelinesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSChimeSDKMeetings/Package.swift.txt b/Sources/Services/AWSChimeSDKMeetings/Package.swift.txt index 1984269d3fb..9c6640e25eb 100644 --- a/Sources/Services/AWSChimeSDKMeetings/Package.swift.txt +++ b/Sources/Services/AWSChimeSDKMeetings/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSChimeSDKMeetings/Sources/AWSChimeSDKMeetings/ChimeSDKMeetingsClient.swift b/Sources/Services/AWSChimeSDKMeetings/Sources/AWSChimeSDKMeetings/ChimeSDKMeetingsClient.swift index d79e72df59d..b0e00a0850a 100644 --- a/Sources/Services/AWSChimeSDKMeetings/Sources/AWSChimeSDKMeetings/ChimeSDKMeetingsClient.swift +++ b/Sources/Services/AWSChimeSDKMeetings/Sources/AWSChimeSDKMeetings/ChimeSDKMeetingsClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ChimeSDKMeetingsClient: ClientRuntime.Client { public static let clientName = "ChimeSDKMeetingsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ChimeSDKMeetingsClient.ChimeSDKMeetingsClientConfiguration let serviceName = "Chime SDK Meetings" @@ -94,6 +95,8 @@ extension ChimeSDKMeetingsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension ChimeSDKMeetingsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension ChimeSDKMeetingsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension ChimeSDKMeetingsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension ChimeSDKMeetingsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension ChimeSDKMeetingsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension ChimeSDKMeetingsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension ChimeSDKMeetingsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension ChimeSDKMeetingsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -375,6 +394,8 @@ extension ChimeSDKMeetingsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -463,6 +484,8 @@ extension ChimeSDKMeetingsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -542,6 +565,8 @@ extension ChimeSDKMeetingsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -619,6 +644,8 @@ extension ChimeSDKMeetingsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -697,6 +724,8 @@ extension ChimeSDKMeetingsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -775,6 +804,8 @@ extension ChimeSDKMeetingsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -848,6 +879,8 @@ extension ChimeSDKMeetingsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -921,6 +954,8 @@ extension ChimeSDKMeetingsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -994,6 +1029,8 @@ extension ChimeSDKMeetingsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1067,6 +1104,8 @@ extension ChimeSDKMeetingsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1142,6 +1181,8 @@ extension ChimeSDKMeetingsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1218,6 +1259,8 @@ extension ChimeSDKMeetingsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1296,6 +1339,8 @@ extension ChimeSDKMeetingsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1372,6 +1417,8 @@ extension ChimeSDKMeetingsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1458,6 +1505,8 @@ extension ChimeSDKMeetingsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1546,6 +1595,8 @@ extension ChimeSDKMeetingsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSChimeSDKMessaging/Package.swift.txt b/Sources/Services/AWSChimeSDKMessaging/Package.swift.txt index 72f52705020..4347dc0bb0f 100644 --- a/Sources/Services/AWSChimeSDKMessaging/Package.swift.txt +++ b/Sources/Services/AWSChimeSDKMessaging/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSChimeSDKMessaging/Sources/AWSChimeSDKMessaging/ChimeSDKMessagingClient.swift b/Sources/Services/AWSChimeSDKMessaging/Sources/AWSChimeSDKMessaging/ChimeSDKMessagingClient.swift index 9a44514af47..2ae81d4e2cc 100644 --- a/Sources/Services/AWSChimeSDKMessaging/Sources/AWSChimeSDKMessaging/ChimeSDKMessagingClient.swift +++ b/Sources/Services/AWSChimeSDKMessaging/Sources/AWSChimeSDKMessaging/ChimeSDKMessagingClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -66,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ChimeSDKMessagingClient: ClientRuntime.Client { public static let clientName = "ChimeSDKMessagingClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ChimeSDKMessagingClient.ChimeSDKMessagingClientConfiguration let serviceName = "Chime SDK Messaging" @@ -96,6 +97,8 @@ extension ChimeSDKMessagingClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -121,6 +124,8 @@ extension ChimeSDKMessagingClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -144,6 +149,8 @@ extension ChimeSDKMessagingClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -170,6 +177,8 @@ extension ChimeSDKMessagingClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -194,6 +203,8 @@ extension ChimeSDKMessagingClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -220,6 +231,8 @@ extension ChimeSDKMessagingClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -244,6 +257,8 @@ extension ChimeSDKMessagingClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -271,6 +286,8 @@ extension ChimeSDKMessagingClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -298,6 +315,8 @@ extension ChimeSDKMessagingClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -376,6 +395,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -454,6 +475,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -538,6 +561,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -617,6 +642,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -696,6 +723,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -783,6 +812,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -882,6 +913,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -973,6 +1006,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1050,6 +1085,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1123,6 +1160,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1197,6 +1236,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1270,6 +1311,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1344,6 +1387,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1418,6 +1463,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1491,6 +1538,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1563,6 +1612,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1637,6 +1688,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1710,6 +1763,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1783,6 +1838,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1857,6 +1914,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1931,6 +1990,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2006,6 +2067,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2081,6 +2144,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2154,6 +2219,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2228,6 +2295,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2308,6 +2377,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2381,6 +2452,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2454,6 +2527,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2526,6 +2601,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2600,6 +2677,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2673,6 +2752,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2747,6 +2828,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2821,6 +2904,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2895,6 +2980,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2976,6 +3063,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3050,6 +3139,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3123,6 +3214,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3197,6 +3290,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3271,6 +3366,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3351,6 +3448,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3428,6 +3527,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3506,6 +3607,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3582,6 +3685,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3659,6 +3764,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3737,6 +3844,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3815,6 +3924,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3891,6 +4002,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3968,6 +4081,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -4045,6 +4160,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -4121,6 +4238,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -4198,6 +4317,8 @@ extension ChimeSDKMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSChimeSDKVoice/Package.swift.txt b/Sources/Services/AWSChimeSDKVoice/Package.swift.txt index 6707b6a76f6..6a9bc41704f 100644 --- a/Sources/Services/AWSChimeSDKVoice/Package.swift.txt +++ b/Sources/Services/AWSChimeSDKVoice/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSChimeSDKVoice/Sources/AWSChimeSDKVoice/ChimeSDKVoiceClient.swift b/Sources/Services/AWSChimeSDKVoice/Sources/AWSChimeSDKVoice/ChimeSDKVoiceClient.swift index 9505ab8a84e..c2ec0542002 100644 --- a/Sources/Services/AWSChimeSDKVoice/Sources/AWSChimeSDKVoice/ChimeSDKVoiceClient.swift +++ b/Sources/Services/AWSChimeSDKVoice/Sources/AWSChimeSDKVoice/ChimeSDKVoiceClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ChimeSDKVoiceClient: ClientRuntime.Client { public static let clientName = "ChimeSDKVoiceClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ChimeSDKVoiceClient.ChimeSDKVoiceClientConfiguration let serviceName = "Chime SDK Voice" @@ -94,6 +95,8 @@ extension ChimeSDKVoiceClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension ChimeSDKVoiceClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension ChimeSDKVoiceClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension ChimeSDKVoiceClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension ChimeSDKVoiceClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension ChimeSDKVoiceClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension ChimeSDKVoiceClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension ChimeSDKVoiceClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension ChimeSDKVoiceClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -452,6 +473,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -529,6 +552,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -606,6 +631,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -684,6 +711,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -760,6 +789,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -838,6 +869,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -915,6 +948,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -993,6 +1028,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1070,6 +1107,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1147,6 +1186,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1227,6 +1268,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1305,6 +1348,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1381,6 +1426,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1454,6 +1501,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1528,6 +1577,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1602,6 +1653,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1676,6 +1729,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1749,6 +1804,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1822,6 +1879,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1896,6 +1955,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -1969,6 +2030,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2042,6 +2105,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2115,6 +2180,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2188,6 +2255,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2261,6 +2330,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2340,6 +2411,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2415,6 +2488,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2488,6 +2563,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2565,6 +2642,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2641,6 +2720,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2714,6 +2795,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2787,6 +2870,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2859,6 +2944,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -2932,6 +3019,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3005,6 +3094,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3079,6 +3170,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3152,6 +3245,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3225,6 +3320,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3300,6 +3397,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3373,6 +3472,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3446,6 +3547,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3519,6 +3622,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3592,6 +3697,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3665,6 +3772,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3738,6 +3847,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3811,6 +3922,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3884,6 +3997,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -3957,6 +4072,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -4030,6 +4147,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -4104,6 +4223,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -4178,6 +4299,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -4253,6 +4376,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -4326,6 +4451,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -4398,6 +4525,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -4472,6 +4601,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -4546,6 +4677,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -4619,6 +4752,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -4692,6 +4827,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -4766,6 +4903,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -4839,6 +4978,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -4912,6 +5053,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -4986,6 +5129,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -5058,6 +5203,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -5132,6 +5279,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -5206,6 +5355,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -5281,6 +5432,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -5357,6 +5510,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -5433,6 +5588,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -5510,6 +5667,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -5586,6 +5745,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -5662,6 +5823,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -5739,6 +5902,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -5815,6 +5980,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -5892,6 +6059,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -5968,6 +6137,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -6046,6 +6217,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -6120,6 +6293,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -6199,6 +6374,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -6280,6 +6457,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -6359,6 +6538,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -6436,6 +6617,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -6510,6 +6693,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -6586,6 +6771,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -6662,6 +6849,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -6739,6 +6928,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -6814,6 +7005,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -6890,6 +7083,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -6967,6 +7162,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -7044,6 +7241,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -7122,6 +7321,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -7198,6 +7399,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -7275,6 +7478,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -7354,6 +7559,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -7431,6 +7638,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() @@ -7507,6 +7716,8 @@ extension ChimeSDKVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "chime") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSCleanRooms/Package.swift.txt b/Sources/Services/AWSCleanRooms/Package.swift.txt index b4051933e80..4ef4ff34273 100644 --- a/Sources/Services/AWSCleanRooms/Package.swift.txt +++ b/Sources/Services/AWSCleanRooms/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSCleanRooms/Sources/AWSCleanRooms/CleanRoomsClient.swift b/Sources/Services/AWSCleanRooms/Sources/AWSCleanRooms/CleanRoomsClient.swift index af4ff76971d..4bf532415fa 100644 --- a/Sources/Services/AWSCleanRooms/Sources/AWSCleanRooms/CleanRoomsClient.swift +++ b/Sources/Services/AWSCleanRooms/Sources/AWSCleanRooms/CleanRoomsClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CleanRoomsClient: ClientRuntime.Client { public static let clientName = "CleanRoomsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: CleanRoomsClient.CleanRoomsClientConfiguration let serviceName = "CleanRooms" @@ -93,6 +94,8 @@ extension CleanRoomsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension CleanRoomsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension CleanRoomsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension CleanRoomsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension CleanRoomsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension CleanRoomsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension CleanRoomsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension CleanRoomsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension CleanRoomsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -444,6 +465,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -518,6 +541,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -594,6 +619,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -668,6 +695,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -744,6 +773,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -820,6 +851,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -895,6 +928,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -971,6 +1006,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -1046,6 +1083,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -1122,6 +1161,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -1198,6 +1239,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -1274,6 +1317,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -1349,6 +1394,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -1423,6 +1470,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -1493,6 +1542,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -1564,6 +1615,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -1636,6 +1689,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -1708,6 +1763,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -1780,6 +1837,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -1852,6 +1911,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -1923,6 +1984,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -1994,6 +2057,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -2066,6 +2131,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -2138,6 +2205,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -2209,6 +2278,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -2280,6 +2351,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -2350,6 +2423,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -2421,6 +2496,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -2492,6 +2569,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -2563,6 +2642,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -2634,6 +2715,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -2705,6 +2788,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -2776,6 +2861,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -2847,6 +2934,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -2918,6 +3007,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -2989,6 +3080,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -3060,6 +3153,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -3131,6 +3226,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -3202,6 +3299,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -3273,6 +3372,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -3344,6 +3445,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -3415,6 +3518,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -3486,6 +3591,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -3557,6 +3664,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -3629,6 +3738,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -3701,6 +3812,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -3773,6 +3886,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -3845,6 +3960,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -3917,6 +4034,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -3988,6 +4107,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -4060,6 +4181,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -4132,6 +4255,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -4203,6 +4328,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -4275,6 +4402,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -4347,6 +4476,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -4419,6 +4550,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -4490,6 +4623,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -4562,6 +4697,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -4634,6 +4771,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -4706,6 +4845,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -4778,6 +4919,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -4847,6 +4990,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -4920,6 +5065,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -4991,6 +5138,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -5066,6 +5215,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -5137,6 +5288,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -5208,6 +5361,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -5280,6 +5435,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -5353,6 +5510,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -5427,6 +5586,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -5502,6 +5663,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -5577,6 +5740,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -5652,6 +5817,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -5727,6 +5894,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -5801,6 +5970,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -5875,6 +6046,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -5950,6 +6123,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -6025,6 +6200,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() @@ -6100,6 +6277,8 @@ extension CleanRoomsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSCleanRoomsML/Package.swift.txt b/Sources/Services/AWSCleanRoomsML/Package.swift.txt index 68b4f59ca98..60983fd3279 100644 --- a/Sources/Services/AWSCleanRoomsML/Package.swift.txt +++ b/Sources/Services/AWSCleanRoomsML/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSCleanRoomsML/Sources/AWSCleanRoomsML/CleanRoomsMLClient.swift b/Sources/Services/AWSCleanRoomsML/Sources/AWSCleanRoomsML/CleanRoomsMLClient.swift index 928fcc9b8f1..babba34afca 100644 --- a/Sources/Services/AWSCleanRoomsML/Sources/AWSCleanRoomsML/CleanRoomsMLClient.swift +++ b/Sources/Services/AWSCleanRoomsML/Sources/AWSCleanRoomsML/CleanRoomsMLClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CleanRoomsMLClient: ClientRuntime.Client { public static let clientName = "CleanRoomsMLClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: CleanRoomsMLClient.CleanRoomsMLClientConfiguration let serviceName = "CleanRoomsML" @@ -94,6 +95,8 @@ extension CleanRoomsMLClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension CleanRoomsMLClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension CleanRoomsMLClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension CleanRoomsMLClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension CleanRoomsMLClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension CleanRoomsMLClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension CleanRoomsMLClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension CleanRoomsMLClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension CleanRoomsMLClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -440,6 +461,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -511,6 +534,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -585,6 +610,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -658,6 +685,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -732,6 +761,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -806,6 +837,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -880,6 +913,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -952,6 +987,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -1025,6 +1062,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -1095,6 +1134,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -1165,6 +1206,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -1234,6 +1277,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -1304,6 +1349,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -1374,6 +1421,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -1443,6 +1492,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -1513,6 +1564,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -1583,6 +1636,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -1653,6 +1708,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -1722,6 +1779,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -1791,6 +1850,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -1860,6 +1921,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -1929,6 +1992,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -1998,6 +2063,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -2067,6 +2134,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -2136,6 +2205,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -2205,6 +2276,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -2274,6 +2347,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -2343,6 +2418,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -2412,6 +2489,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -2481,6 +2560,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -2550,6 +2631,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -2619,6 +2702,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -2687,6 +2772,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -2756,6 +2843,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -2825,6 +2914,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -2894,6 +2985,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -2963,6 +3056,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -3032,6 +3127,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -3101,6 +3198,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -3170,6 +3269,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -3239,6 +3340,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -3308,6 +3411,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -3377,6 +3482,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -3446,6 +3553,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -3516,6 +3625,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -3584,6 +3695,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -3653,6 +3766,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -3722,6 +3837,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -3792,6 +3909,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -3863,6 +3982,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -3937,6 +4058,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -4011,6 +4134,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -4084,6 +4209,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -4158,6 +4285,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -4230,6 +4359,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -4302,6 +4433,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() @@ -4373,6 +4506,8 @@ extension CleanRoomsMLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cleanrooms-ml") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSCloud9/Package.swift.txt b/Sources/Services/AWSCloud9/Package.swift.txt index 1159e4f0bd4..2cb4667f9ac 100644 --- a/Sources/Services/AWSCloud9/Package.swift.txt +++ b/Sources/Services/AWSCloud9/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSCloud9/Sources/AWSCloud9/Cloud9Client.swift b/Sources/Services/AWSCloud9/Sources/AWSCloud9/Cloud9Client.swift index 13e8f87ff8f..946f69ce330 100644 --- a/Sources/Services/AWSCloud9/Sources/AWSCloud9/Cloud9Client.swift +++ b/Sources/Services/AWSCloud9/Sources/AWSCloud9/Cloud9Client.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Cloud9Client: ClientRuntime.Client { public static let clientName = "Cloud9Client" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: Cloud9Client.Cloud9ClientConfiguration let serviceName = "Cloud9" @@ -93,6 +94,8 @@ extension Cloud9Client { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension Cloud9Client { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension Cloud9Client { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension Cloud9Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension Cloud9Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension Cloud9Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension Cloud9Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension Cloud9Client { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension Cloud9Client { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension Cloud9Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloud9") .withSigningRegion(value: config.signingRegion) .build() @@ -449,6 +470,8 @@ extension Cloud9Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloud9") .withSigningRegion(value: config.signingRegion) .build() @@ -526,6 +549,8 @@ extension Cloud9Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloud9") .withSigningRegion(value: config.signingRegion) .build() @@ -603,6 +628,8 @@ extension Cloud9Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloud9") .withSigningRegion(value: config.signingRegion) .build() @@ -680,6 +707,8 @@ extension Cloud9Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloud9") .withSigningRegion(value: config.signingRegion) .build() @@ -757,6 +786,8 @@ extension Cloud9Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloud9") .withSigningRegion(value: config.signingRegion) .build() @@ -834,6 +865,8 @@ extension Cloud9Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloud9") .withSigningRegion(value: config.signingRegion) .build() @@ -911,6 +944,8 @@ extension Cloud9Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloud9") .withSigningRegion(value: config.signingRegion) .build() @@ -984,6 +1019,8 @@ extension Cloud9Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloud9") .withSigningRegion(value: config.signingRegion) .build() @@ -1058,6 +1095,8 @@ extension Cloud9Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloud9") .withSigningRegion(value: config.signingRegion) .build() @@ -1132,6 +1171,8 @@ extension Cloud9Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloud9") .withSigningRegion(value: config.signingRegion) .build() @@ -1209,6 +1250,8 @@ extension Cloud9Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloud9") .withSigningRegion(value: config.signingRegion) .build() @@ -1286,6 +1329,8 @@ extension Cloud9Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloud9") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSCloudControl/Package.swift.txt b/Sources/Services/AWSCloudControl/Package.swift.txt index a4057c19f64..eb9f6c81314 100644 --- a/Sources/Services/AWSCloudControl/Package.swift.txt +++ b/Sources/Services/AWSCloudControl/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSCloudControl/Sources/AWSCloudControl/CloudControlClient.swift b/Sources/Services/AWSCloudControl/Sources/AWSCloudControl/CloudControlClient.swift index d455caf296e..87b19789f67 100644 --- a/Sources/Services/AWSCloudControl/Sources/AWSCloudControl/CloudControlClient.swift +++ b/Sources/Services/AWSCloudControl/Sources/AWSCloudControl/CloudControlClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudControlClient: ClientRuntime.Client { public static let clientName = "CloudControlClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: CloudControlClient.CloudControlClientConfiguration let serviceName = "CloudControl" @@ -94,6 +95,8 @@ extension CloudControlClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension CloudControlClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension CloudControlClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension CloudControlClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension CloudControlClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension CloudControlClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension CloudControlClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension CloudControlClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension CloudControlClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -368,6 +387,8 @@ extension CloudControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudcontrolapi") .withSigningRegion(value: config.signingRegion) .build() @@ -457,6 +478,8 @@ extension CloudControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudcontrolapi") .withSigningRegion(value: config.signingRegion) .build() @@ -547,6 +570,8 @@ extension CloudControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudcontrolapi") .withSigningRegion(value: config.signingRegion) .build() @@ -635,6 +660,8 @@ extension CloudControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudcontrolapi") .withSigningRegion(value: config.signingRegion) .build() @@ -706,6 +733,8 @@ extension CloudControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudcontrolapi") .withSigningRegion(value: config.signingRegion) .build() @@ -772,6 +801,8 @@ extension CloudControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudcontrolapi") .withSigningRegion(value: config.signingRegion) .build() @@ -859,6 +890,8 @@ extension CloudControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudcontrolapi") .withSigningRegion(value: config.signingRegion) .build() @@ -948,6 +981,8 @@ extension CloudControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudcontrolapi") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSCloudDirectory/Package.swift.txt b/Sources/Services/AWSCloudDirectory/Package.swift.txt index 9fa029713a3..fa7441d4bbc 100644 --- a/Sources/Services/AWSCloudDirectory/Package.swift.txt +++ b/Sources/Services/AWSCloudDirectory/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSCloudDirectory/Sources/AWSCloudDirectory/CloudDirectoryClient.swift b/Sources/Services/AWSCloudDirectory/Sources/AWSCloudDirectory/CloudDirectoryClient.swift index 49fee5e892f..93564a38585 100644 --- a/Sources/Services/AWSCloudDirectory/Sources/AWSCloudDirectory/CloudDirectoryClient.swift +++ b/Sources/Services/AWSCloudDirectory/Sources/AWSCloudDirectory/CloudDirectoryClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudDirectoryClient: ClientRuntime.Client { public static let clientName = "CloudDirectoryClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: CloudDirectoryClient.CloudDirectoryClientConfiguration let serviceName = "CloudDirectory" @@ -93,6 +94,8 @@ extension CloudDirectoryClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension CloudDirectoryClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension CloudDirectoryClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension CloudDirectoryClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension CloudDirectoryClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension CloudDirectoryClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension CloudDirectoryClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension CloudDirectoryClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension CloudDirectoryClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -453,6 +474,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -538,6 +561,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -617,6 +642,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -699,6 +726,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -779,6 +808,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -856,6 +887,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -934,6 +967,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -1012,6 +1047,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -1092,6 +1129,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -1173,6 +1212,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -1254,6 +1295,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -1337,6 +1380,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -1416,6 +1461,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -1495,6 +1542,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -1571,6 +1620,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -1650,6 +1701,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -1728,6 +1781,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -1803,6 +1858,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -1883,6 +1940,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -1962,6 +2021,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -2041,6 +2102,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -2120,6 +2183,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -2198,6 +2263,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -2273,6 +2340,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -2347,6 +2416,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -2422,6 +2493,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -2497,6 +2570,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -2576,6 +2651,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -2655,6 +2732,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -2733,6 +2812,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -2810,6 +2891,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -2886,6 +2969,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -2964,6 +3049,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -3041,6 +3128,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -3119,6 +3208,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -3195,6 +3286,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -3273,6 +3366,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -3351,6 +3446,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -3431,6 +3528,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -3512,6 +3611,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -3588,6 +3689,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -3667,6 +3770,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -3747,6 +3852,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -3826,6 +3933,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -3906,6 +4015,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -3985,6 +4096,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -4065,6 +4178,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -4145,6 +4260,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -4223,6 +4340,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -4300,6 +4419,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -4378,6 +4499,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -4456,6 +4579,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -4535,6 +4660,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -4613,6 +4740,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -4691,6 +4820,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -4770,6 +4901,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -4848,6 +4981,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -4925,6 +5060,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -5011,6 +5148,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -5090,6 +5229,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -5170,6 +5311,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -5247,6 +5390,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -5328,6 +5473,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -5407,6 +5554,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() @@ -5485,6 +5634,8 @@ extension CloudDirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "clouddirectory") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSCloudFormation/Package.swift.txt b/Sources/Services/AWSCloudFormation/Package.swift.txt index 11604ba6531..20e07e0b3f5 100644 --- a/Sources/Services/AWSCloudFormation/Package.swift.txt +++ b/Sources/Services/AWSCloudFormation/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSCloudFormation/Sources/AWSCloudFormation/CloudFormationClient.swift b/Sources/Services/AWSCloudFormation/Sources/AWSCloudFormation/CloudFormationClient.swift index d148f2c9766..0452adcc67e 100644 --- a/Sources/Services/AWSCloudFormation/Sources/AWSCloudFormation/CloudFormationClient.swift +++ b/Sources/Services/AWSCloudFormation/Sources/AWSCloudFormation/CloudFormationClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPRequest import class SmithyHTTPAPI.HTTPResponse import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudFormationClient: ClientRuntime.Client { public static let clientName = "CloudFormationClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: CloudFormationClient.CloudFormationClientConfiguration let serviceName = "CloudFormation" @@ -94,6 +95,8 @@ extension CloudFormationClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension CloudFormationClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension CloudFormationClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension CloudFormationClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension CloudFormationClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension CloudFormationClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension CloudFormationClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension CloudFormationClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension CloudFormationClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -368,6 +387,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -439,6 +460,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -510,6 +533,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -580,6 +605,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -650,6 +677,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -722,6 +751,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -794,6 +825,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -867,6 +900,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -942,6 +977,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -1015,6 +1052,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -1087,6 +1126,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -1158,6 +1199,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -1228,6 +1271,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -1299,6 +1344,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -1369,6 +1416,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -1443,6 +1492,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -1515,6 +1566,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -1586,6 +1639,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -1651,6 +1706,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -1721,6 +1778,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -1791,6 +1850,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -1861,6 +1922,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -1932,6 +1995,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -2006,6 +2071,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -2076,6 +2143,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -2141,6 +2210,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -2206,6 +2277,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -2277,6 +2350,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -2342,6 +2417,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -2407,6 +2484,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -2472,6 +2551,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -2542,6 +2623,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -2613,6 +2696,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -2678,6 +2763,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -2749,6 +2836,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -2819,6 +2908,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -2884,6 +2975,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -2949,6 +3042,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -3030,6 +3125,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -3096,6 +3193,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -3169,6 +3268,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -3239,6 +3340,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -3304,6 +3407,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -3374,6 +3479,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -3444,6 +3551,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -3520,6 +3629,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -3586,6 +3697,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -3651,6 +3764,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -3716,6 +3831,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -3786,6 +3903,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -3851,6 +3970,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -3922,6 +4043,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -3993,6 +4116,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -4058,6 +4183,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -4130,6 +4257,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -4200,6 +4329,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -4265,6 +4396,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -4335,6 +4468,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -4406,6 +4541,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -4476,6 +4613,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -4547,6 +4686,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -4612,6 +4753,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -4682,6 +4825,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -4752,6 +4897,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -4822,6 +4969,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -4893,6 +5042,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -4964,6 +5115,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -5034,6 +5187,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -5113,6 +5268,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -5193,6 +5350,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -5258,6 +5417,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -5329,6 +5490,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -5400,6 +5563,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -5465,6 +5630,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -5542,6 +5709,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -5614,6 +5783,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -5692,6 +5863,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -5764,6 +5937,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -5835,6 +6010,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -5910,6 +6087,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -5986,6 +6165,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -6052,6 +6233,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() @@ -6117,6 +6300,8 @@ extension CloudFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudformation") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSCloudFront/Package.swift.txt b/Sources/Services/AWSCloudFront/Package.swift.txt index 0bec83382df..6ef05ac0933 100644 --- a/Sources/Services/AWSCloudFront/Package.swift.txt +++ b/Sources/Services/AWSCloudFront/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSCloudFront/Sources/AWSCloudFront/CloudFrontClient.swift b/Sources/Services/AWSCloudFront/Sources/AWSCloudFront/CloudFrontClient.swift index 0da9e0bac5d..0a1c6332c1f 100644 --- a/Sources/Services/AWSCloudFront/Sources/AWSCloudFront/CloudFrontClient.swift +++ b/Sources/Services/AWSCloudFront/Sources/AWSCloudFront/CloudFrontClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyXML.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -66,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudFrontClient: ClientRuntime.Client { public static let clientName = "CloudFrontClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: CloudFrontClient.CloudFrontClientConfiguration let serviceName = "CloudFront" @@ -96,6 +97,8 @@ extension CloudFrontClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -121,6 +124,8 @@ extension CloudFrontClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -144,6 +149,8 @@ extension CloudFrontClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -170,6 +177,8 @@ extension CloudFrontClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -194,6 +203,8 @@ extension CloudFrontClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -220,6 +231,8 @@ extension CloudFrontClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -244,6 +257,8 @@ extension CloudFrontClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -271,6 +286,8 @@ extension CloudFrontClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -298,6 +315,8 @@ extension CloudFrontClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -510,6 +531,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -586,6 +609,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -670,6 +695,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -744,6 +771,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -819,6 +848,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -954,6 +985,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -1094,6 +1127,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -1172,6 +1207,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -1249,6 +1286,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -1323,6 +1362,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -1399,6 +1440,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -1472,6 +1515,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -1547,6 +1592,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -1620,6 +1667,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -1692,6 +1741,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -1778,6 +1829,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -1850,6 +1903,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -1923,6 +1978,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -2000,6 +2057,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -2082,6 +2141,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -2165,6 +2226,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -2242,6 +2305,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -2319,6 +2384,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -2392,6 +2459,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -2464,6 +2533,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -2537,6 +2608,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -2628,6 +2701,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -2700,6 +2775,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -2772,6 +2849,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -2844,6 +2923,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -2915,6 +2996,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -2988,6 +3071,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -3059,6 +3144,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -3130,6 +3217,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -3203,6 +3292,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -3275,6 +3366,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -3346,6 +3439,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -3421,6 +3516,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -3512,6 +3609,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -3587,6 +3686,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -3656,6 +3757,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -3727,6 +3830,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -3797,6 +3902,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -3872,6 +3979,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -3940,6 +4049,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -4008,6 +4119,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -4076,6 +4189,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -4144,6 +4259,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -4212,6 +4329,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -4280,6 +4399,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -4348,6 +4469,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -4416,6 +4539,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -4484,6 +4609,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -4552,6 +4679,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -4620,6 +4749,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -4688,6 +4819,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -4758,6 +4891,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -4825,6 +4960,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -4892,6 +5029,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -4962,6 +5101,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -5030,6 +5171,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -5098,6 +5241,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -5173,6 +5318,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -5241,6 +5388,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -5309,6 +5458,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -5377,6 +5528,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -5446,6 +5599,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -5517,6 +5672,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -5585,6 +5742,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -5653,6 +5812,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -5721,6 +5882,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -5791,6 +5954,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -5861,6 +6026,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -5931,6 +6098,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -5999,6 +6168,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -6068,6 +6239,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -6138,6 +6311,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -6206,6 +6381,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -6277,6 +6454,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -6347,6 +6526,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -6416,6 +6597,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -6486,6 +6669,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -6554,6 +6739,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -6626,6 +6813,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -6697,6 +6886,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -6766,6 +6957,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -6834,6 +7027,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -6902,6 +7097,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -6971,6 +7168,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -7041,6 +7240,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -7109,6 +7310,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -7179,6 +7382,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -7247,6 +7452,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -7317,6 +7524,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -7385,6 +7594,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -7455,6 +7666,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -7525,6 +7738,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -7593,6 +7808,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -7664,6 +7881,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -7735,6 +7954,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -7807,6 +8028,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -7878,6 +8101,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -7953,6 +8178,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -8027,6 +8254,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -8114,6 +8343,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -8192,6 +8423,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -8275,6 +8508,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -8425,6 +8660,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -8561,6 +8798,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -8640,6 +8879,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -8722,6 +8963,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -8798,6 +9041,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -8880,6 +9125,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -8956,6 +9203,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -9033,6 +9282,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -9120,6 +9371,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -9197,6 +9450,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -9279,6 +9534,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -9365,6 +9622,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -9449,6 +9708,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() @@ -9530,6 +9791,8 @@ extension CloudFrontClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSCloudFrontKeyValueStore/Package.swift.txt b/Sources/Services/AWSCloudFrontKeyValueStore/Package.swift.txt index 7a11ad1ba0a..b532293e969 100644 --- a/Sources/Services/AWSCloudFrontKeyValueStore/Package.swift.txt +++ b/Sources/Services/AWSCloudFrontKeyValueStore/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSCloudFrontKeyValueStore/Sources/AWSCloudFrontKeyValueStore/CloudFrontKeyValueStoreClient.swift b/Sources/Services/AWSCloudFrontKeyValueStore/Sources/AWSCloudFrontKeyValueStore/CloudFrontKeyValueStoreClient.swift index d1eda31e912..2f301021423 100644 --- a/Sources/Services/AWSCloudFrontKeyValueStore/Sources/AWSCloudFrontKeyValueStore/CloudFrontKeyValueStoreClient.swift +++ b/Sources/Services/AWSCloudFrontKeyValueStore/Sources/AWSCloudFrontKeyValueStore/CloudFrontKeyValueStoreClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -67,7 +68,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudFrontKeyValueStoreClient: ClientRuntime.Client { public static let clientName = "CloudFrontKeyValueStoreClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: CloudFrontKeyValueStoreClient.CloudFrontKeyValueStoreClientConfiguration let serviceName = "CloudFront KeyValueStore" @@ -97,6 +98,8 @@ extension CloudFrontKeyValueStoreClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -122,6 +125,8 @@ extension CloudFrontKeyValueStoreClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -145,6 +150,8 @@ extension CloudFrontKeyValueStoreClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -171,6 +178,8 @@ extension CloudFrontKeyValueStoreClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -195,6 +204,8 @@ extension CloudFrontKeyValueStoreClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -221,6 +232,8 @@ extension CloudFrontKeyValueStoreClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -245,6 +258,8 @@ extension CloudFrontKeyValueStoreClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -272,6 +287,8 @@ extension CloudFrontKeyValueStoreClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -299,6 +316,8 @@ extension CloudFrontKeyValueStoreClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -375,6 +394,8 @@ extension CloudFrontKeyValueStoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront-keyvaluestore") .withSigningRegion(value: config.signingRegion) .build() @@ -447,6 +468,8 @@ extension CloudFrontKeyValueStoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront-keyvaluestore") .withSigningRegion(value: config.signingRegion) .build() @@ -518,6 +541,8 @@ extension CloudFrontKeyValueStoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront-keyvaluestore") .withSigningRegion(value: config.signingRegion) .build() @@ -590,6 +615,8 @@ extension CloudFrontKeyValueStoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront-keyvaluestore") .withSigningRegion(value: config.signingRegion) .build() @@ -664,6 +691,8 @@ extension CloudFrontKeyValueStoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront-keyvaluestore") .withSigningRegion(value: config.signingRegion) .build() @@ -741,6 +770,8 @@ extension CloudFrontKeyValueStoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudfront-keyvaluestore") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSCloudHSM/Package.swift.txt b/Sources/Services/AWSCloudHSM/Package.swift.txt index d594cecdef5..d1841516b44 100644 --- a/Sources/Services/AWSCloudHSM/Package.swift.txt +++ b/Sources/Services/AWSCloudHSM/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSCloudHSM/Sources/AWSCloudHSM/CloudHSMClient.swift b/Sources/Services/AWSCloudHSM/Sources/AWSCloudHSM/CloudHSMClient.swift index ebd38231a9b..2e2f825bca2 100644 --- a/Sources/Services/AWSCloudHSM/Sources/AWSCloudHSM/CloudHSMClient.swift +++ b/Sources/Services/AWSCloudHSM/Sources/AWSCloudHSM/CloudHSMClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudHSMClient: ClientRuntime.Client { public static let clientName = "CloudHSMClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: CloudHSMClient.CloudHSMClientConfiguration let serviceName = "CloudHSM" @@ -93,6 +94,8 @@ extension CloudHSMClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension CloudHSMClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension CloudHSMClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension CloudHSMClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension CloudHSMClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension CloudHSMClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension CloudHSMClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension CloudHSMClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension CloudHSMClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -369,6 +388,8 @@ extension CloudHSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -443,6 +464,8 @@ extension CloudHSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -517,6 +540,8 @@ extension CloudHSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -591,6 +616,8 @@ extension CloudHSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -665,6 +692,8 @@ extension CloudHSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -739,6 +768,8 @@ extension CloudHSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -813,6 +844,8 @@ extension CloudHSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -887,6 +920,8 @@ extension CloudHSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -961,6 +996,8 @@ extension CloudHSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -1035,6 +1072,8 @@ extension CloudHSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -1109,6 +1148,8 @@ extension CloudHSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -1183,6 +1224,8 @@ extension CloudHSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -1257,6 +1300,8 @@ extension CloudHSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -1331,6 +1376,8 @@ extension CloudHSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -1405,6 +1452,8 @@ extension CloudHSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -1479,6 +1528,8 @@ extension CloudHSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -1553,6 +1604,8 @@ extension CloudHSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -1627,6 +1680,8 @@ extension CloudHSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -1699,6 +1754,8 @@ extension CloudHSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -1773,6 +1830,8 @@ extension CloudHSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSCloudHSMV2/Package.swift.txt b/Sources/Services/AWSCloudHSMV2/Package.swift.txt index d849249690f..4df1bf87072 100644 --- a/Sources/Services/AWSCloudHSMV2/Package.swift.txt +++ b/Sources/Services/AWSCloudHSMV2/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSCloudHSMV2/Sources/AWSCloudHSMV2/CloudHSMV2Client.swift b/Sources/Services/AWSCloudHSMV2/Sources/AWSCloudHSMV2/CloudHSMV2Client.swift index 62fff44320c..392cace575f 100644 --- a/Sources/Services/AWSCloudHSMV2/Sources/AWSCloudHSMV2/CloudHSMV2Client.swift +++ b/Sources/Services/AWSCloudHSMV2/Sources/AWSCloudHSMV2/CloudHSMV2Client.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudHSMV2Client: ClientRuntime.Client { public static let clientName = "CloudHSMV2Client" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: CloudHSMV2Client.CloudHSMV2ClientConfiguration let serviceName = "CloudHSM V2" @@ -93,6 +94,8 @@ extension CloudHSMV2Client { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension CloudHSMV2Client { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension CloudHSMV2Client { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension CloudHSMV2Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension CloudHSMV2Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension CloudHSMV2Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension CloudHSMV2Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension CloudHSMV2Client { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension CloudHSMV2Client { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension CloudHSMV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -447,6 +468,8 @@ extension CloudHSMV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -522,6 +545,8 @@ extension CloudHSMV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -597,6 +622,8 @@ extension CloudHSMV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -673,6 +700,8 @@ extension CloudHSMV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -748,6 +777,8 @@ extension CloudHSMV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -823,6 +854,8 @@ extension CloudHSMV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -899,6 +932,8 @@ extension CloudHSMV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -974,6 +1009,8 @@ extension CloudHSMV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -1049,6 +1086,8 @@ extension CloudHSMV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -1124,6 +1163,8 @@ extension CloudHSMV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -1200,6 +1241,8 @@ extension CloudHSMV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -1275,6 +1318,8 @@ extension CloudHSMV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -1350,6 +1395,8 @@ extension CloudHSMV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -1430,6 +1477,8 @@ extension CloudHSMV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -1505,6 +1554,8 @@ extension CloudHSMV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -1582,6 +1633,8 @@ extension CloudHSMV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() @@ -1658,6 +1711,8 @@ extension CloudHSMV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudhsm") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSCloudSearch/Package.swift.txt b/Sources/Services/AWSCloudSearch/Package.swift.txt index 59337c715f1..6a7b678ca27 100644 --- a/Sources/Services/AWSCloudSearch/Package.swift.txt +++ b/Sources/Services/AWSCloudSearch/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSCloudSearch/Sources/AWSCloudSearch/CloudSearchClient.swift b/Sources/Services/AWSCloudSearch/Sources/AWSCloudSearch/CloudSearchClient.swift index e47e49780bf..f901791c10d 100644 --- a/Sources/Services/AWSCloudSearch/Sources/AWSCloudSearch/CloudSearchClient.swift +++ b/Sources/Services/AWSCloudSearch/Sources/AWSCloudSearch/CloudSearchClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPRequest import class SmithyHTTPAPI.HTTPResponse import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -62,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudSearchClient: ClientRuntime.Client { public static let clientName = "CloudSearchClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: CloudSearchClient.CloudSearchClientConfiguration let serviceName = "CloudSearch" @@ -92,6 +93,8 @@ extension CloudSearchClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -117,6 +120,8 @@ extension CloudSearchClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -140,6 +145,8 @@ extension CloudSearchClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -166,6 +173,8 @@ extension CloudSearchClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -190,6 +199,8 @@ extension CloudSearchClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -216,6 +227,8 @@ extension CloudSearchClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -240,6 +253,8 @@ extension CloudSearchClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -267,6 +282,8 @@ extension CloudSearchClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -294,6 +311,8 @@ extension CloudSearchClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -368,6 +387,8 @@ extension CloudSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudsearch") .withSigningRegion(value: config.signingRegion) .build() @@ -442,6 +463,8 @@ extension CloudSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudsearch") .withSigningRegion(value: config.signingRegion) .build() @@ -517,6 +540,8 @@ extension CloudSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudsearch") .withSigningRegion(value: config.signingRegion) .build() @@ -592,6 +617,8 @@ extension CloudSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudsearch") .withSigningRegion(value: config.signingRegion) .build() @@ -667,6 +694,8 @@ extension CloudSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudsearch") .withSigningRegion(value: config.signingRegion) .build() @@ -742,6 +771,8 @@ extension CloudSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudsearch") .withSigningRegion(value: config.signingRegion) .build() @@ -816,6 +847,8 @@ extension CloudSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudsearch") .withSigningRegion(value: config.signingRegion) .build() @@ -887,6 +920,8 @@ extension CloudSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudsearch") .withSigningRegion(value: config.signingRegion) .build() @@ -961,6 +996,8 @@ extension CloudSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudsearch") .withSigningRegion(value: config.signingRegion) .build() @@ -1035,6 +1072,8 @@ extension CloudSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudsearch") .withSigningRegion(value: config.signingRegion) .build() @@ -1109,6 +1148,8 @@ extension CloudSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudsearch") .withSigningRegion(value: config.signingRegion) .build() @@ -1181,6 +1222,8 @@ extension CloudSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudsearch") .withSigningRegion(value: config.signingRegion) .build() @@ -1256,6 +1299,8 @@ extension CloudSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudsearch") .withSigningRegion(value: config.signingRegion) .build() @@ -1330,6 +1375,8 @@ extension CloudSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudsearch") .withSigningRegion(value: config.signingRegion) .build() @@ -1401,6 +1448,8 @@ extension CloudSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudsearch") .withSigningRegion(value: config.signingRegion) .build() @@ -1473,6 +1522,8 @@ extension CloudSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudsearch") .withSigningRegion(value: config.signingRegion) .build() @@ -1545,6 +1596,8 @@ extension CloudSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudsearch") .withSigningRegion(value: config.signingRegion) .build() @@ -1617,6 +1670,8 @@ extension CloudSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudsearch") .withSigningRegion(value: config.signingRegion) .build() @@ -1689,6 +1744,8 @@ extension CloudSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudsearch") .withSigningRegion(value: config.signingRegion) .build() @@ -1761,6 +1818,8 @@ extension CloudSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudsearch") .withSigningRegion(value: config.signingRegion) .build() @@ -1834,6 +1893,8 @@ extension CloudSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudsearch") .withSigningRegion(value: config.signingRegion) .build() @@ -1904,6 +1965,8 @@ extension CloudSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudsearch") .withSigningRegion(value: config.signingRegion) .build() @@ -1980,6 +2043,8 @@ extension CloudSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudsearch") .withSigningRegion(value: config.signingRegion) .build() @@ -2056,6 +2121,8 @@ extension CloudSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudsearch") .withSigningRegion(value: config.signingRegion) .build() @@ -2131,6 +2198,8 @@ extension CloudSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudsearch") .withSigningRegion(value: config.signingRegion) .build() @@ -2206,6 +2275,8 @@ extension CloudSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudsearch") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSCloudSearchDomain/Package.swift.txt b/Sources/Services/AWSCloudSearchDomain/Package.swift.txt index 34404923aa9..848e89c3df9 100644 --- a/Sources/Services/AWSCloudSearchDomain/Package.swift.txt +++ b/Sources/Services/AWSCloudSearchDomain/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSCloudSearchDomain/Sources/AWSCloudSearchDomain/CloudSearchDomainClient.swift b/Sources/Services/AWSCloudSearchDomain/Sources/AWSCloudSearchDomain/CloudSearchDomainClient.swift index 24e0de6d389..99d288b825f 100644 --- a/Sources/Services/AWSCloudSearchDomain/Sources/AWSCloudSearchDomain/CloudSearchDomainClient.swift +++ b/Sources/Services/AWSCloudSearchDomain/Sources/AWSCloudSearchDomain/CloudSearchDomainClient.swift @@ -21,6 +21,7 @@ import class SmithyHTTPAPI.HTTPRequest import class SmithyHTTPAPI.HTTPResponse import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudSearchDomainClient: ClientRuntime.Client { public static let clientName = "CloudSearchDomainClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: CloudSearchDomainClient.CloudSearchDomainClientConfiguration let serviceName = "CloudSearch Domain" @@ -94,6 +95,8 @@ extension CloudSearchDomainClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension CloudSearchDomainClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension CloudSearchDomainClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension CloudSearchDomainClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension CloudSearchDomainClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension CloudSearchDomainClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension CloudSearchDomainClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension CloudSearchDomainClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension CloudSearchDomainClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -378,6 +397,8 @@ extension CloudSearchDomainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudsearch") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension CloudSearchDomainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudsearch") .withSigningRegion(value: config.signingRegion) .build() @@ -514,6 +537,8 @@ extension CloudSearchDomainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudsearch") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSCloudTrail/Package.swift.txt b/Sources/Services/AWSCloudTrail/Package.swift.txt index 90e8e806db7..e23ea88d575 100644 --- a/Sources/Services/AWSCloudTrail/Package.swift.txt +++ b/Sources/Services/AWSCloudTrail/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSCloudTrail/Sources/AWSCloudTrail/CloudTrailClient.swift b/Sources/Services/AWSCloudTrail/Sources/AWSCloudTrail/CloudTrailClient.swift index b05d0cd142c..2e556dde1f7 100644 --- a/Sources/Services/AWSCloudTrail/Sources/AWSCloudTrail/CloudTrailClient.swift +++ b/Sources/Services/AWSCloudTrail/Sources/AWSCloudTrail/CloudTrailClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudTrailClient: ClientRuntime.Client { public static let clientName = "CloudTrailClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: CloudTrailClient.CloudTrailClientConfiguration let serviceName = "CloudTrail" @@ -94,6 +95,8 @@ extension CloudTrailClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension CloudTrailClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension CloudTrailClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension CloudTrailClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension CloudTrailClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension CloudTrailClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension CloudTrailClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension CloudTrailClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension CloudTrailClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -392,6 +411,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -472,6 +493,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -554,6 +577,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -639,6 +664,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -735,6 +762,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -848,6 +877,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -922,6 +953,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -995,6 +1028,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -1079,6 +1114,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -1156,6 +1193,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -1247,6 +1286,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -1328,6 +1369,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -1406,6 +1449,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -1491,6 +1536,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -1575,6 +1622,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -1660,6 +1709,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -1738,6 +1789,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -1812,6 +1865,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -1884,6 +1939,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -1960,6 +2017,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -2063,6 +2122,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -2137,6 +2198,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -2227,6 +2290,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -2308,6 +2373,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -2384,6 +2451,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -2469,6 +2538,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -2554,6 +2625,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -2627,6 +2700,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -2698,6 +2773,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -2773,6 +2850,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -2847,6 +2926,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -2922,6 +3003,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -3004,6 +3087,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -3078,6 +3163,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -3159,6 +3246,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -3251,6 +3340,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -3323,6 +3414,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -3428,6 +3521,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -3550,6 +3645,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -3646,6 +3743,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -3723,6 +3822,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -3806,6 +3907,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -3901,6 +4004,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -3984,6 +4089,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -4059,6 +4166,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -4139,6 +4248,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -4221,6 +4332,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -4312,6 +4425,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -4396,6 +4511,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -4476,6 +4593,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -4550,6 +4669,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -4641,6 +4762,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -4721,6 +4844,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -4799,6 +4924,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -4897,6 +5024,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() @@ -5018,6 +5147,8 @@ extension CloudTrailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSCloudTrailData/Package.swift.txt b/Sources/Services/AWSCloudTrailData/Package.swift.txt index ad3b48f4d68..768aa82a2ae 100644 --- a/Sources/Services/AWSCloudTrailData/Package.swift.txt +++ b/Sources/Services/AWSCloudTrailData/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSCloudTrailData/Sources/AWSCloudTrailData/CloudTrailDataClient.swift b/Sources/Services/AWSCloudTrailData/Sources/AWSCloudTrailData/CloudTrailDataClient.swift index 5b532a4f3d3..ae9e394dd2e 100644 --- a/Sources/Services/AWSCloudTrailData/Sources/AWSCloudTrailData/CloudTrailDataClient.swift +++ b/Sources/Services/AWSCloudTrailData/Sources/AWSCloudTrailData/CloudTrailDataClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudTrailDataClient: ClientRuntime.Client { public static let clientName = "CloudTrailDataClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: CloudTrailDataClient.CloudTrailDataClientConfiguration let serviceName = "CloudTrail Data" @@ -93,6 +94,8 @@ extension CloudTrailDataClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension CloudTrailDataClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension CloudTrailDataClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension CloudTrailDataClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension CloudTrailDataClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension CloudTrailDataClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension CloudTrailDataClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension CloudTrailDataClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension CloudTrailDataClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension CloudTrailDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cloudtrail-data") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSCloudWatch/Package.swift.txt b/Sources/Services/AWSCloudWatch/Package.swift.txt index ffa53ecf1df..574e4d1b793 100644 --- a/Sources/Services/AWSCloudWatch/Package.swift.txt +++ b/Sources/Services/AWSCloudWatch/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSCloudWatch/Sources/AWSCloudWatch/CloudWatchClient.swift b/Sources/Services/AWSCloudWatch/Sources/AWSCloudWatch/CloudWatchClient.swift index 6abb93c2170..c8e319a440e 100644 --- a/Sources/Services/AWSCloudWatch/Sources/AWSCloudWatch/CloudWatchClient.swift +++ b/Sources/Services/AWSCloudWatch/Sources/AWSCloudWatch/CloudWatchClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPRequest import class SmithyHTTPAPI.HTTPResponse import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudWatchClient: ClientRuntime.Client { public static let clientName = "CloudWatchClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: CloudWatchClient.CloudWatchClientConfiguration let serviceName = "CloudWatch" @@ -93,6 +94,8 @@ extension CloudWatchClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension CloudWatchClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension CloudWatchClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension CloudWatchClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension CloudWatchClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension CloudWatchClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension CloudWatchClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension CloudWatchClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension CloudWatchClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -366,6 +385,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -440,6 +461,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -512,6 +535,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -583,6 +608,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -655,6 +682,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -725,6 +754,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -795,6 +826,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -860,6 +893,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -933,6 +968,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -1003,6 +1040,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -1068,6 +1107,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -1139,6 +1180,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -1204,6 +1247,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -1276,6 +1321,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -1348,6 +1395,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -1434,6 +1483,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -1515,6 +1566,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -1606,6 +1659,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -1680,6 +1735,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -1749,6 +1806,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -1820,6 +1879,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -1892,6 +1953,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -1965,6 +2028,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -2036,6 +2101,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -2108,6 +2175,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -2182,6 +2251,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -2263,6 +2334,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -2334,6 +2407,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -2406,6 +2481,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -2477,6 +2554,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -2558,6 +2637,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -2635,6 +2716,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -2718,6 +2801,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -2789,6 +2874,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -2861,6 +2948,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -2933,6 +3022,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -3006,6 +3097,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() @@ -3079,6 +3172,8 @@ extension CloudWatchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "monitoring") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSCloudWatchEvents/Package.swift.txt b/Sources/Services/AWSCloudWatchEvents/Package.swift.txt index a624ae6dec3..8e1e00c71e1 100644 --- a/Sources/Services/AWSCloudWatchEvents/Package.swift.txt +++ b/Sources/Services/AWSCloudWatchEvents/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSCloudWatchEvents/Sources/AWSCloudWatchEvents/CloudWatchEventsClient.swift b/Sources/Services/AWSCloudWatchEvents/Sources/AWSCloudWatchEvents/CloudWatchEventsClient.swift index c4cd1316df8..4cb670fb08b 100644 --- a/Sources/Services/AWSCloudWatchEvents/Sources/AWSCloudWatchEvents/CloudWatchEventsClient.swift +++ b/Sources/Services/AWSCloudWatchEvents/Sources/AWSCloudWatchEvents/CloudWatchEventsClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudWatchEventsClient: ClientRuntime.Client { public static let clientName = "CloudWatchEventsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: CloudWatchEventsClient.CloudWatchEventsClientConfiguration let serviceName = "CloudWatch Events" @@ -94,6 +95,8 @@ extension CloudWatchEventsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension CloudWatchEventsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension CloudWatchEventsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension CloudWatchEventsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension CloudWatchEventsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension CloudWatchEventsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension CloudWatchEventsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension CloudWatchEventsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension CloudWatchEventsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -445,6 +466,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -519,6 +542,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -595,6 +620,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -668,6 +695,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -745,6 +774,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -820,6 +851,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -895,6 +928,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -968,6 +1003,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -1041,6 +1078,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -1114,6 +1153,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -1187,6 +1228,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -1259,6 +1302,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -1332,6 +1377,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -1406,6 +1453,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -1478,6 +1527,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -1551,6 +1602,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -1623,6 +1676,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -1695,6 +1750,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -1768,6 +1825,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -1841,6 +1900,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -1913,6 +1974,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -1985,6 +2048,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -2059,6 +2124,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -2133,6 +2200,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -2204,6 +2273,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -2276,6 +2347,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -2347,6 +2420,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -2418,6 +2493,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -2490,6 +2567,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -2563,6 +2642,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -2635,6 +2716,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -2706,6 +2789,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -2778,6 +2863,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -2850,6 +2937,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -2922,6 +3011,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -2994,6 +3085,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -3065,6 +3158,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -3137,6 +3232,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -3212,6 +3309,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -3288,6 +3387,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -3425,6 +3526,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -3499,6 +3602,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -3573,6 +3678,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -3648,6 +3755,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -3722,6 +3831,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -3794,6 +3905,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -3868,6 +3981,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -3942,6 +4057,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -4017,6 +4134,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -4091,6 +4210,8 @@ extension CloudWatchEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSCloudWatchLogs/Package.swift.txt b/Sources/Services/AWSCloudWatchLogs/Package.swift.txt index bb572e61c54..871a7db5d28 100644 --- a/Sources/Services/AWSCloudWatchLogs/Package.swift.txt +++ b/Sources/Services/AWSCloudWatchLogs/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSCloudWatchLogs/Sources/AWSCloudWatchLogs/CloudWatchLogsClient.swift b/Sources/Services/AWSCloudWatchLogs/Sources/AWSCloudWatchLogs/CloudWatchLogsClient.swift index 3ed1a307b44..b62dff33d79 100644 --- a/Sources/Services/AWSCloudWatchLogs/Sources/AWSCloudWatchLogs/CloudWatchLogsClient.swift +++ b/Sources/Services/AWSCloudWatchLogs/Sources/AWSCloudWatchLogs/CloudWatchLogsClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CloudWatchLogsClient: ClientRuntime.Client { public static let clientName = "CloudWatchLogsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: CloudWatchLogsClient.CloudWatchLogsClientConfiguration let serviceName = "CloudWatch Logs" @@ -94,6 +95,8 @@ extension CloudWatchLogsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension CloudWatchLogsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension CloudWatchLogsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension CloudWatchLogsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension CloudWatchLogsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension CloudWatchLogsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension CloudWatchLogsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension CloudWatchLogsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension CloudWatchLogsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -377,6 +396,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -451,6 +472,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -539,6 +562,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -615,6 +640,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -690,6 +717,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -776,6 +805,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -856,6 +887,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -941,6 +974,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -1015,6 +1050,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -1091,6 +1128,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -1167,6 +1206,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -1241,6 +1282,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -1317,6 +1360,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -1391,6 +1436,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -1466,6 +1513,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -1540,6 +1589,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -1614,6 +1665,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -1688,6 +1741,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -1762,6 +1817,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -1836,6 +1893,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -1909,6 +1968,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -1982,6 +2043,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -2056,6 +2119,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -2130,6 +2195,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -2205,6 +2272,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -2279,6 +2348,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -2353,6 +2424,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -2427,6 +2500,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -2501,6 +2576,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -2575,6 +2652,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -2647,6 +2726,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -2719,6 +2800,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -2794,6 +2877,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -2869,6 +2954,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -2941,6 +3028,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -3014,6 +3103,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -3087,6 +3178,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -3160,6 +3253,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -3232,6 +3327,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -3304,6 +3401,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -3377,6 +3476,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -3458,6 +3559,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -3531,6 +3634,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -3605,6 +3710,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -3680,6 +3787,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -3755,6 +3864,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -3828,6 +3939,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -3903,6 +4016,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -3976,6 +4091,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -4050,6 +4167,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -4123,6 +4242,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -4197,6 +4318,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -4271,6 +4394,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -4344,6 +4469,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -4418,6 +4545,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -4492,6 +4621,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -4564,6 +4695,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -4638,6 +4771,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -4712,6 +4847,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -4785,6 +4922,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -4858,6 +4997,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -4943,6 +5084,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -5018,6 +5161,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -5105,6 +5250,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -5190,6 +5337,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -5277,6 +5426,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -5350,6 +5501,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -5423,6 +5576,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -5505,6 +5660,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -5579,6 +5736,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -5674,6 +5833,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -5750,6 +5911,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -5824,6 +5987,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -5898,6 +6063,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -5972,6 +6139,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -6059,6 +6228,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -6135,6 +6306,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -6221,6 +6394,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -6303,6 +6478,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -6376,6 +6553,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -6449,6 +6628,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -6523,6 +6704,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -6595,6 +6778,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -6668,6 +6853,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -6740,6 +6927,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -6813,6 +7002,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -6887,6 +7078,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -6963,6 +7156,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() @@ -7037,6 +7232,8 @@ extension CloudWatchLogsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "logs") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSCodeBuild/Package.swift.txt b/Sources/Services/AWSCodeBuild/Package.swift.txt index cb76b0b8bcb..8464fe090c3 100644 --- a/Sources/Services/AWSCodeBuild/Package.swift.txt +++ b/Sources/Services/AWSCodeBuild/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSCodeBuild/Sources/AWSCodeBuild/CodeBuildClient.swift b/Sources/Services/AWSCodeBuild/Sources/AWSCodeBuild/CodeBuildClient.swift index 94ef19897c5..909145877b0 100644 --- a/Sources/Services/AWSCodeBuild/Sources/AWSCodeBuild/CodeBuildClient.swift +++ b/Sources/Services/AWSCodeBuild/Sources/AWSCodeBuild/CodeBuildClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeBuildClient: ClientRuntime.Client { public static let clientName = "CodeBuildClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: CodeBuildClient.CodeBuildClientConfiguration let serviceName = "CodeBuild" @@ -93,6 +94,8 @@ extension CodeBuildClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension CodeBuildClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension CodeBuildClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension CodeBuildClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension CodeBuildClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension CodeBuildClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension CodeBuildClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension CodeBuildClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension CodeBuildClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -366,6 +385,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -437,6 +458,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -508,6 +531,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -579,6 +604,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -650,6 +677,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -721,6 +750,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -792,6 +823,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -865,6 +898,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -938,6 +973,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -1011,6 +1048,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -1085,6 +1124,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -1156,6 +1197,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -1227,6 +1270,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -1298,6 +1343,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -1369,6 +1416,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -1440,6 +1489,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -1511,6 +1562,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -1583,6 +1636,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -1656,6 +1711,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -1727,6 +1784,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -1799,6 +1858,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -1871,6 +1932,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -1943,6 +2006,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -2016,6 +2081,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -2088,6 +2155,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -2159,6 +2228,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -2231,6 +2302,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -2302,6 +2375,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -2374,6 +2449,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -2440,6 +2517,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -2511,6 +2590,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -2582,6 +2663,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -2653,6 +2736,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -2724,6 +2809,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -2796,6 +2883,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -2867,6 +2956,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -2938,6 +3029,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -3009,6 +3102,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -3081,6 +3176,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -3154,6 +3251,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -3226,6 +3325,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -3299,6 +3400,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -3371,6 +3474,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -3443,6 +3548,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -3515,6 +3622,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -3588,6 +3697,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -3660,6 +3771,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -3745,6 +3858,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -3817,6 +3932,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() @@ -3890,6 +4007,8 @@ extension CodeBuildClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codebuild") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSCodeCatalyst/Package.swift.txt b/Sources/Services/AWSCodeCatalyst/Package.swift.txt index 4e9ca4c2172..ce0e7140849 100644 --- a/Sources/Services/AWSCodeCatalyst/Package.swift.txt +++ b/Sources/Services/AWSCodeCatalyst/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKIdentity", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKIdentity", package: "aws-sdk-swift.AWSSDKIdentity" diff --git a/Sources/Services/AWSCodeCatalyst/Sources/AWSCodeCatalyst/CodeCatalystClient.swift b/Sources/Services/AWSCodeCatalyst/Sources/AWSCodeCatalyst/CodeCatalystClient.swift index 4f444fa50bd..05c10efe25a 100644 --- a/Sources/Services/AWSCodeCatalyst/Sources/AWSCodeCatalyst/CodeCatalystClient.swift +++ b/Sources/Services/AWSCodeCatalyst/Sources/AWSCodeCatalyst/CodeCatalystClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeCatalystClient: ClientRuntime.Client { public static let clientName = "CodeCatalystClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: CodeCatalystClient.CodeCatalystClientConfiguration let serviceName = "CodeCatalyst" @@ -94,6 +95,8 @@ extension CodeCatalystClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension CodeCatalystClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension CodeCatalystClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension CodeCatalystClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension CodeCatalystClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension CodeCatalystClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension CodeCatalystClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension CodeCatalystClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension CodeCatalystClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -445,6 +466,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -518,6 +541,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -591,6 +616,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -664,6 +691,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -737,6 +766,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -807,6 +838,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -877,6 +910,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -947,6 +982,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -1017,6 +1054,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -1087,6 +1126,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -1157,6 +1198,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -1227,6 +1270,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -1297,6 +1342,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -1367,6 +1414,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -1437,6 +1486,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -1507,6 +1558,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -1578,6 +1631,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -1648,6 +1703,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -1718,6 +1775,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -1791,6 +1850,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -1864,6 +1925,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -1937,6 +2000,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -2010,6 +2075,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -2083,6 +2150,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -2156,6 +2225,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -2229,6 +2300,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -2302,6 +2375,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -2376,6 +2451,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -2450,6 +2527,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -2523,6 +2602,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -2596,6 +2677,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -2671,6 +2754,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -2741,6 +2826,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -2811,6 +2898,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -2884,6 +2973,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -2957,6 +3048,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -3030,6 +3123,8 @@ extension CodeCatalystClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in diff --git a/Sources/Services/AWSCodeCommit/Package.swift.txt b/Sources/Services/AWSCodeCommit/Package.swift.txt index a4ae2bbd6e4..a41bde41417 100644 --- a/Sources/Services/AWSCodeCommit/Package.swift.txt +++ b/Sources/Services/AWSCodeCommit/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSCodeCommit/Sources/AWSCodeCommit/CodeCommitClient.swift b/Sources/Services/AWSCodeCommit/Sources/AWSCodeCommit/CodeCommitClient.swift index 145a9610c66..d3e196a661d 100644 --- a/Sources/Services/AWSCodeCommit/Sources/AWSCodeCommit/CodeCommitClient.swift +++ b/Sources/Services/AWSCodeCommit/Sources/AWSCodeCommit/CodeCommitClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeCommitClient: ClientRuntime.Client { public static let clientName = "CodeCommitClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: CodeCommitClient.CodeCommitClientConfiguration let serviceName = "CodeCommit" @@ -95,6 +96,8 @@ extension CodeCommitClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension CodeCommitClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension CodeCommitClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension CodeCommitClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension CodeCommitClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension CodeCommitClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension CodeCommitClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension CodeCommitClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension CodeCommitClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -379,6 +398,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -459,6 +480,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -550,6 +573,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -630,6 +655,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -710,6 +737,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -788,6 +817,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -865,6 +896,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -949,6 +982,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -1057,6 +1092,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -1152,6 +1189,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -1238,6 +1277,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -1325,6 +1366,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -1431,6 +1474,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -1504,6 +1549,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -1585,6 +1632,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -1659,6 +1708,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -1751,6 +1802,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -1833,6 +1886,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -1910,6 +1965,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -2003,6 +2060,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -2086,6 +2145,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -2167,6 +2228,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -2248,6 +2311,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -2321,6 +2386,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -2403,6 +2470,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -2484,6 +2553,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -2563,6 +2634,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -2640,6 +2713,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -2723,6 +2798,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -2810,6 +2887,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -2891,6 +2970,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -2977,6 +3058,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -3061,6 +3144,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -3144,6 +3229,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -3227,6 +3314,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -3319,6 +3408,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -3405,6 +3496,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -3483,6 +3576,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -3563,6 +3658,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -3643,6 +3740,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -3721,6 +3820,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -3799,6 +3900,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -3871,6 +3974,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -3951,6 +4056,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -4030,6 +4137,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -4114,6 +4223,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -4197,6 +4308,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -4270,6 +4383,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -4350,6 +4465,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -4424,6 +4541,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -4513,6 +4632,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -4622,6 +4743,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -4731,6 +4854,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -4820,6 +4945,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -4928,6 +5055,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -5036,6 +5165,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -5121,6 +5252,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -5214,6 +5347,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -5312,6 +5447,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -5391,6 +5528,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -5469,6 +5608,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -5569,6 +5710,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -5660,6 +5803,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -5739,6 +5884,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -5830,6 +5977,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -5909,6 +6058,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -5985,6 +6136,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -6059,6 +6212,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -6133,6 +6288,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -6210,6 +6367,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -6291,6 +6450,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -6377,6 +6538,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -6463,6 +6626,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -6538,6 +6703,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -6619,6 +6786,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -6695,6 +6864,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -6774,6 +6945,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -6855,6 +7028,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() @@ -6929,6 +7104,8 @@ extension CodeCommitClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codecommit") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSCodeConnections/Package.swift.txt b/Sources/Services/AWSCodeConnections/Package.swift.txt index 28bec30c86b..cf011b9825d 100644 --- a/Sources/Services/AWSCodeConnections/Package.swift.txt +++ b/Sources/Services/AWSCodeConnections/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSCodeConnections/Sources/AWSCodeConnections/CodeConnectionsClient.swift b/Sources/Services/AWSCodeConnections/Sources/AWSCodeConnections/CodeConnectionsClient.swift index 2fb9454cbc6..f8d904ecf7e 100644 --- a/Sources/Services/AWSCodeConnections/Sources/AWSCodeConnections/CodeConnectionsClient.swift +++ b/Sources/Services/AWSCodeConnections/Sources/AWSCodeConnections/CodeConnectionsClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeConnectionsClient: ClientRuntime.Client { public static let clientName = "CodeConnectionsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: CodeConnectionsClient.CodeConnectionsClientConfiguration let serviceName = "CodeConnections" @@ -93,6 +94,8 @@ extension CodeConnectionsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension CodeConnectionsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension CodeConnectionsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension CodeConnectionsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension CodeConnectionsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension CodeConnectionsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension CodeConnectionsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension CodeConnectionsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension CodeConnectionsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -368,6 +387,8 @@ extension CodeConnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeconnections") .withSigningRegion(value: config.signingRegion) .build() @@ -439,6 +460,8 @@ extension CodeConnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeconnections") .withSigningRegion(value: config.signingRegion) .build() @@ -516,6 +539,8 @@ extension CodeConnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeconnections") .withSigningRegion(value: config.signingRegion) .build() @@ -593,6 +618,8 @@ extension CodeConnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeconnections") .withSigningRegion(value: config.signingRegion) .build() @@ -664,6 +691,8 @@ extension CodeConnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeconnections") .withSigningRegion(value: config.signingRegion) .build() @@ -736,6 +765,8 @@ extension CodeConnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeconnections") .withSigningRegion(value: config.signingRegion) .build() @@ -814,6 +845,8 @@ extension CodeConnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeconnections") .withSigningRegion(value: config.signingRegion) .build() @@ -890,6 +923,8 @@ extension CodeConnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeconnections") .withSigningRegion(value: config.signingRegion) .build() @@ -962,6 +997,8 @@ extension CodeConnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeconnections") .withSigningRegion(value: config.signingRegion) .build() @@ -1034,6 +1071,8 @@ extension CodeConnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeconnections") .withSigningRegion(value: config.signingRegion) .build() @@ -1110,6 +1149,8 @@ extension CodeConnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeconnections") .withSigningRegion(value: config.signingRegion) .build() @@ -1185,6 +1226,8 @@ extension CodeConnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeconnections") .withSigningRegion(value: config.signingRegion) .build() @@ -1260,6 +1303,8 @@ extension CodeConnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeconnections") .withSigningRegion(value: config.signingRegion) .build() @@ -1335,6 +1380,8 @@ extension CodeConnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeconnections") .withSigningRegion(value: config.signingRegion) .build() @@ -1410,6 +1457,8 @@ extension CodeConnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeconnections") .withSigningRegion(value: config.signingRegion) .build() @@ -1481,6 +1530,8 @@ extension CodeConnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeconnections") .withSigningRegion(value: config.signingRegion) .build() @@ -1547,6 +1598,8 @@ extension CodeConnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeconnections") .withSigningRegion(value: config.signingRegion) .build() @@ -1623,6 +1676,8 @@ extension CodeConnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeconnections") .withSigningRegion(value: config.signingRegion) .build() @@ -1698,6 +1753,8 @@ extension CodeConnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeconnections") .withSigningRegion(value: config.signingRegion) .build() @@ -1773,6 +1830,8 @@ extension CodeConnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeconnections") .withSigningRegion(value: config.signingRegion) .build() @@ -1844,6 +1903,8 @@ extension CodeConnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeconnections") .withSigningRegion(value: config.signingRegion) .build() @@ -1916,6 +1977,8 @@ extension CodeConnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeconnections") .withSigningRegion(value: config.signingRegion) .build() @@ -1987,6 +2050,8 @@ extension CodeConnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeconnections") .withSigningRegion(value: config.signingRegion) .build() @@ -2061,6 +2126,8 @@ extension CodeConnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeconnections") .withSigningRegion(value: config.signingRegion) .build() @@ -2138,6 +2205,8 @@ extension CodeConnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeconnections") .withSigningRegion(value: config.signingRegion) .build() @@ -2215,6 +2284,8 @@ extension CodeConnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeconnections") .withSigningRegion(value: config.signingRegion) .build() @@ -2292,6 +2363,8 @@ extension CodeConnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeconnections") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSCodeDeploy/Package.swift.txt b/Sources/Services/AWSCodeDeploy/Package.swift.txt index 7432892c15d..4422f7aa81a 100644 --- a/Sources/Services/AWSCodeDeploy/Package.swift.txt +++ b/Sources/Services/AWSCodeDeploy/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSCodeDeploy/Sources/AWSCodeDeploy/CodeDeployClient.swift b/Sources/Services/AWSCodeDeploy/Sources/AWSCodeDeploy/CodeDeployClient.swift index 1eae8a0ea72..4b8ba6505f9 100644 --- a/Sources/Services/AWSCodeDeploy/Sources/AWSCodeDeploy/CodeDeployClient.swift +++ b/Sources/Services/AWSCodeDeploy/Sources/AWSCodeDeploy/CodeDeployClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeDeployClient: ClientRuntime.Client { public static let clientName = "CodeDeployClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: CodeDeployClient.CodeDeployClientConfiguration let serviceName = "CodeDeploy" @@ -93,6 +94,8 @@ extension CodeDeployClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension CodeDeployClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension CodeDeployClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension CodeDeployClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension CodeDeployClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension CodeDeployClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension CodeDeployClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension CodeDeployClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension CodeDeployClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -448,6 +469,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -522,6 +545,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -599,6 +624,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -677,6 +704,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -764,6 +793,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -837,6 +868,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -910,6 +943,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -988,6 +1023,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -1064,6 +1101,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -1178,6 +1217,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -1256,6 +1297,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -1369,6 +1412,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -1442,6 +1487,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -1516,6 +1563,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -1591,6 +1640,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -1666,6 +1717,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -1732,6 +1785,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -1804,6 +1859,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -1877,6 +1934,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -1953,6 +2012,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -2026,6 +2087,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -2100,6 +2163,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -2177,6 +2242,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -2255,6 +2322,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -2333,6 +2402,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -2406,6 +2477,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -2486,6 +2559,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -2557,6 +2632,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -2628,6 +2705,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -2702,6 +2781,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -2783,6 +2864,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -2862,6 +2945,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -2943,6 +3028,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -3016,6 +3103,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -3089,6 +3178,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -3162,6 +3253,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -3239,6 +3332,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -3315,6 +3410,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -3395,6 +3492,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -3472,6 +3571,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -3549,6 +3650,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -3625,6 +3728,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -3703,6 +3808,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -3781,6 +3888,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -3855,6 +3964,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() @@ -3966,6 +4077,8 @@ extension CodeDeployClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codedeploy") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSCodeGuruProfiler/Package.swift.txt b/Sources/Services/AWSCodeGuruProfiler/Package.swift.txt index 871381918fe..6803dfbb842 100644 --- a/Sources/Services/AWSCodeGuruProfiler/Package.swift.txt +++ b/Sources/Services/AWSCodeGuruProfiler/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSCodeGuruProfiler/Sources/AWSCodeGuruProfiler/CodeGuruProfilerClient.swift b/Sources/Services/AWSCodeGuruProfiler/Sources/AWSCodeGuruProfiler/CodeGuruProfilerClient.swift index ed4392725cf..e7ad77aa873 100644 --- a/Sources/Services/AWSCodeGuruProfiler/Sources/AWSCodeGuruProfiler/CodeGuruProfilerClient.swift +++ b/Sources/Services/AWSCodeGuruProfiler/Sources/AWSCodeGuruProfiler/CodeGuruProfilerClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -68,7 +69,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeGuruProfilerClient: ClientRuntime.Client { public static let clientName = "CodeGuruProfilerClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: CodeGuruProfilerClient.CodeGuruProfilerClientConfiguration let serviceName = "CodeGuruProfiler" @@ -98,6 +99,8 @@ extension CodeGuruProfilerClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -123,6 +126,8 @@ extension CodeGuruProfilerClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -146,6 +151,8 @@ extension CodeGuruProfilerClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -172,6 +179,8 @@ extension CodeGuruProfilerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -196,6 +205,8 @@ extension CodeGuruProfilerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -222,6 +233,8 @@ extension CodeGuruProfilerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -246,6 +259,8 @@ extension CodeGuruProfilerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -273,6 +288,8 @@ extension CodeGuruProfilerClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -300,6 +317,8 @@ extension CodeGuruProfilerClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -376,6 +395,8 @@ extension CodeGuruProfilerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-profiler") .withSigningRegion(value: config.signingRegion) .build() @@ -449,6 +470,8 @@ extension CodeGuruProfilerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-profiler") .withSigningRegion(value: config.signingRegion) .build() @@ -523,6 +546,8 @@ extension CodeGuruProfilerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-profiler") .withSigningRegion(value: config.signingRegion) .build() @@ -597,6 +622,8 @@ extension CodeGuruProfilerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-profiler") .withSigningRegion(value: config.signingRegion) .build() @@ -673,6 +700,8 @@ extension CodeGuruProfilerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-profiler") .withSigningRegion(value: config.signingRegion) .build() @@ -743,6 +772,8 @@ extension CodeGuruProfilerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-profiler") .withSigningRegion(value: config.signingRegion) .build() @@ -812,6 +843,8 @@ extension CodeGuruProfilerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-profiler") .withSigningRegion(value: config.signingRegion) .build() @@ -883,6 +916,8 @@ extension CodeGuruProfilerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-profiler") .withSigningRegion(value: config.signingRegion) .build() @@ -952,6 +987,8 @@ extension CodeGuruProfilerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-profiler") .withSigningRegion(value: config.signingRegion) .build() @@ -1038,6 +1075,8 @@ extension CodeGuruProfilerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-profiler") .withSigningRegion(value: config.signingRegion) .build() @@ -1110,6 +1149,8 @@ extension CodeGuruProfilerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-profiler") .withSigningRegion(value: config.signingRegion) .build() @@ -1181,6 +1222,8 @@ extension CodeGuruProfilerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-profiler") .withSigningRegion(value: config.signingRegion) .build() @@ -1252,6 +1295,8 @@ extension CodeGuruProfilerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-profiler") .withSigningRegion(value: config.signingRegion) .build() @@ -1321,6 +1366,8 @@ extension CodeGuruProfilerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-profiler") .withSigningRegion(value: config.signingRegion) .build() @@ -1391,6 +1438,8 @@ extension CodeGuruProfilerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-profiler") .withSigningRegion(value: config.signingRegion) .build() @@ -1461,6 +1510,8 @@ extension CodeGuruProfilerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-profiler") .withSigningRegion(value: config.signingRegion) .build() @@ -1538,6 +1589,8 @@ extension CodeGuruProfilerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-profiler") .withSigningRegion(value: config.signingRegion) .build() @@ -1611,6 +1664,8 @@ extension CodeGuruProfilerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-profiler") .withSigningRegion(value: config.signingRegion) .build() @@ -1682,6 +1737,8 @@ extension CodeGuruProfilerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-profiler") .withSigningRegion(value: config.signingRegion) .build() @@ -1753,6 +1810,8 @@ extension CodeGuruProfilerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-profiler") .withSigningRegion(value: config.signingRegion) .build() @@ -1825,6 +1884,8 @@ extension CodeGuruProfilerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-profiler") .withSigningRegion(value: config.signingRegion) .build() @@ -1897,6 +1958,8 @@ extension CodeGuruProfilerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-profiler") .withSigningRegion(value: config.signingRegion) .build() @@ -1969,6 +2032,8 @@ extension CodeGuruProfilerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-profiler") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSCodeGuruReviewer/Package.swift.txt b/Sources/Services/AWSCodeGuruReviewer/Package.swift.txt index 0c26441bdbb..143e51c0fc7 100644 --- a/Sources/Services/AWSCodeGuruReviewer/Package.swift.txt +++ b/Sources/Services/AWSCodeGuruReviewer/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSCodeGuruReviewer/Sources/AWSCodeGuruReviewer/CodeGuruReviewerClient.swift b/Sources/Services/AWSCodeGuruReviewer/Sources/AWSCodeGuruReviewer/CodeGuruReviewerClient.swift index 757a7747640..bc4adadda7f 100644 --- a/Sources/Services/AWSCodeGuruReviewer/Sources/AWSCodeGuruReviewer/CodeGuruReviewerClient.swift +++ b/Sources/Services/AWSCodeGuruReviewer/Sources/AWSCodeGuruReviewer/CodeGuruReviewerClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeGuruReviewerClient: ClientRuntime.Client { public static let clientName = "CodeGuruReviewerClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: CodeGuruReviewerClient.CodeGuruReviewerClientConfiguration let serviceName = "CodeGuru Reviewer" @@ -94,6 +95,8 @@ extension CodeGuruReviewerClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension CodeGuruReviewerClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension CodeGuruReviewerClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension CodeGuruReviewerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension CodeGuruReviewerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension CodeGuruReviewerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension CodeGuruReviewerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension CodeGuruReviewerClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension CodeGuruReviewerClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension CodeGuruReviewerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-reviewer") .withSigningRegion(value: config.signingRegion) .build() @@ -447,6 +468,8 @@ extension CodeGuruReviewerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-reviewer") .withSigningRegion(value: config.signingRegion) .build() @@ -522,6 +545,8 @@ extension CodeGuruReviewerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-reviewer") .withSigningRegion(value: config.signingRegion) .build() @@ -593,6 +618,8 @@ extension CodeGuruReviewerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-reviewer") .withSigningRegion(value: config.signingRegion) .build() @@ -665,6 +692,8 @@ extension CodeGuruReviewerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-reviewer") .withSigningRegion(value: config.signingRegion) .build() @@ -737,6 +766,8 @@ extension CodeGuruReviewerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-reviewer") .withSigningRegion(value: config.signingRegion) .build() @@ -807,6 +838,8 @@ extension CodeGuruReviewerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-reviewer") .withSigningRegion(value: config.signingRegion) .build() @@ -879,6 +912,8 @@ extension CodeGuruReviewerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-reviewer") .withSigningRegion(value: config.signingRegion) .build() @@ -951,6 +986,8 @@ extension CodeGuruReviewerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-reviewer") .withSigningRegion(value: config.signingRegion) .build() @@ -1021,6 +1058,8 @@ extension CodeGuruReviewerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-reviewer") .withSigningRegion(value: config.signingRegion) .build() @@ -1091,6 +1130,8 @@ extension CodeGuruReviewerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-reviewer") .withSigningRegion(value: config.signingRegion) .build() @@ -1162,6 +1203,8 @@ extension CodeGuruReviewerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-reviewer") .withSigningRegion(value: config.signingRegion) .build() @@ -1234,6 +1277,8 @@ extension CodeGuruReviewerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-reviewer") .withSigningRegion(value: config.signingRegion) .build() @@ -1306,6 +1351,8 @@ extension CodeGuruReviewerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-reviewer") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSCodeGuruSecurity/Package.swift.txt b/Sources/Services/AWSCodeGuruSecurity/Package.swift.txt index c30bdd61a5e..27d56cb7250 100644 --- a/Sources/Services/AWSCodeGuruSecurity/Package.swift.txt +++ b/Sources/Services/AWSCodeGuruSecurity/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSCodeGuruSecurity/Sources/AWSCodeGuruSecurity/CodeGuruSecurityClient.swift b/Sources/Services/AWSCodeGuruSecurity/Sources/AWSCodeGuruSecurity/CodeGuruSecurityClient.swift index c2f9da3df40..47eae1bc075 100644 --- a/Sources/Services/AWSCodeGuruSecurity/Sources/AWSCodeGuruSecurity/CodeGuruSecurityClient.swift +++ b/Sources/Services/AWSCodeGuruSecurity/Sources/AWSCodeGuruSecurity/CodeGuruSecurityClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeGuruSecurityClient: ClientRuntime.Client { public static let clientName = "CodeGuruSecurityClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: CodeGuruSecurityClient.CodeGuruSecurityClientConfiguration let serviceName = "CodeGuru Security" @@ -95,6 +96,8 @@ extension CodeGuruSecurityClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension CodeGuruSecurityClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension CodeGuruSecurityClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension CodeGuruSecurityClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension CodeGuruSecurityClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension CodeGuruSecurityClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension CodeGuruSecurityClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension CodeGuruSecurityClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension CodeGuruSecurityClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension CodeGuruSecurityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-security") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension CodeGuruSecurityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-security") .withSigningRegion(value: config.signingRegion) .build() @@ -520,6 +543,8 @@ extension CodeGuruSecurityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-security") .withSigningRegion(value: config.signingRegion) .build() @@ -593,6 +618,8 @@ extension CodeGuruSecurityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-security") .withSigningRegion(value: config.signingRegion) .build() @@ -665,6 +692,8 @@ extension CodeGuruSecurityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-security") .withSigningRegion(value: config.signingRegion) .build() @@ -736,6 +765,8 @@ extension CodeGuruSecurityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-security") .withSigningRegion(value: config.signingRegion) .build() @@ -808,6 +839,8 @@ extension CodeGuruSecurityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-security") .withSigningRegion(value: config.signingRegion) .build() @@ -879,6 +912,8 @@ extension CodeGuruSecurityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-security") .withSigningRegion(value: config.signingRegion) .build() @@ -950,6 +985,8 @@ extension CodeGuruSecurityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-security") .withSigningRegion(value: config.signingRegion) .build() @@ -1023,6 +1060,8 @@ extension CodeGuruSecurityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-security") .withSigningRegion(value: config.signingRegion) .build() @@ -1095,6 +1134,8 @@ extension CodeGuruSecurityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-security") .withSigningRegion(value: config.signingRegion) .build() @@ -1170,6 +1211,8 @@ extension CodeGuruSecurityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-security") .withSigningRegion(value: config.signingRegion) .build() @@ -1242,6 +1285,8 @@ extension CodeGuruSecurityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeguru-security") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSCodePipeline/Package.swift.txt b/Sources/Services/AWSCodePipeline/Package.swift.txt index 4e8530c8853..3ce4bdb0897 100644 --- a/Sources/Services/AWSCodePipeline/Package.swift.txt +++ b/Sources/Services/AWSCodePipeline/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSCodePipeline/Sources/AWSCodePipeline/CodePipelineClient.swift b/Sources/Services/AWSCodePipeline/Sources/AWSCodePipeline/CodePipelineClient.swift index 0b7de68852e..3f357baf195 100644 --- a/Sources/Services/AWSCodePipeline/Sources/AWSCodePipeline/CodePipelineClient.swift +++ b/Sources/Services/AWSCodePipeline/Sources/AWSCodePipeline/CodePipelineClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodePipelineClient: ClientRuntime.Client { public static let clientName = "CodePipelineClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: CodePipelineClient.CodePipelineClientConfiguration let serviceName = "CodePipeline" @@ -95,6 +96,8 @@ extension CodePipelineClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension CodePipelineClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension CodePipelineClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension CodePipelineClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension CodePipelineClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension CodePipelineClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension CodePipelineClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension CodePipelineClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension CodePipelineClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -444,6 +465,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -519,6 +542,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -599,6 +624,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -671,6 +698,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -743,6 +772,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -815,6 +846,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -887,6 +920,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -960,6 +995,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -1033,6 +1070,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -1105,6 +1144,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -1177,6 +1218,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -1250,6 +1293,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -1323,6 +1368,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -1395,6 +1442,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -1469,6 +1518,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -1543,6 +1594,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -1615,6 +1668,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -1688,6 +1743,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -1760,6 +1817,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -1834,6 +1893,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -1906,6 +1967,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -1980,6 +2043,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -2052,6 +2117,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -2129,6 +2196,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -2201,6 +2270,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -2273,6 +2344,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -2348,6 +2421,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -2424,6 +2499,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -2497,6 +2574,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -2571,6 +2650,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -2645,6 +2726,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -2719,6 +2802,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -2797,6 +2882,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -2869,6 +2956,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -2946,6 +3035,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -3023,6 +3114,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -3097,6 +3190,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -3173,6 +3268,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -3249,6 +3346,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -3324,6 +3423,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -3397,6 +3498,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -3473,6 +3576,8 @@ extension CodePipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codepipeline") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSCodeStarconnections/Package.swift.txt b/Sources/Services/AWSCodeStarconnections/Package.swift.txt index 8295ea88760..e201d72b662 100644 --- a/Sources/Services/AWSCodeStarconnections/Package.swift.txt +++ b/Sources/Services/AWSCodeStarconnections/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSCodeStarconnections/Sources/AWSCodeStarconnections/CodeStarconnectionsClient.swift b/Sources/Services/AWSCodeStarconnections/Sources/AWSCodeStarconnections/CodeStarconnectionsClient.swift index 9c41aed9ae1..135e4e70085 100644 --- a/Sources/Services/AWSCodeStarconnections/Sources/AWSCodeStarconnections/CodeStarconnectionsClient.swift +++ b/Sources/Services/AWSCodeStarconnections/Sources/AWSCodeStarconnections/CodeStarconnectionsClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeStarconnectionsClient: ClientRuntime.Client { public static let clientName = "CodeStarconnectionsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: CodeStarconnectionsClient.CodeStarconnectionsClientConfiguration let serviceName = "CodeStar connections" @@ -93,6 +94,8 @@ extension CodeStarconnectionsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension CodeStarconnectionsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension CodeStarconnectionsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension CodeStarconnectionsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension CodeStarconnectionsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension CodeStarconnectionsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension CodeStarconnectionsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension CodeStarconnectionsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension CodeStarconnectionsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -368,6 +387,8 @@ extension CodeStarconnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-connections") .withSigningRegion(value: config.signingRegion) .build() @@ -439,6 +460,8 @@ extension CodeStarconnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-connections") .withSigningRegion(value: config.signingRegion) .build() @@ -516,6 +539,8 @@ extension CodeStarconnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-connections") .withSigningRegion(value: config.signingRegion) .build() @@ -593,6 +618,8 @@ extension CodeStarconnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-connections") .withSigningRegion(value: config.signingRegion) .build() @@ -664,6 +691,8 @@ extension CodeStarconnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-connections") .withSigningRegion(value: config.signingRegion) .build() @@ -736,6 +765,8 @@ extension CodeStarconnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-connections") .withSigningRegion(value: config.signingRegion) .build() @@ -814,6 +845,8 @@ extension CodeStarconnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-connections") .withSigningRegion(value: config.signingRegion) .build() @@ -890,6 +923,8 @@ extension CodeStarconnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-connections") .withSigningRegion(value: config.signingRegion) .build() @@ -962,6 +997,8 @@ extension CodeStarconnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-connections") .withSigningRegion(value: config.signingRegion) .build() @@ -1034,6 +1071,8 @@ extension CodeStarconnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-connections") .withSigningRegion(value: config.signingRegion) .build() @@ -1110,6 +1149,8 @@ extension CodeStarconnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-connections") .withSigningRegion(value: config.signingRegion) .build() @@ -1185,6 +1226,8 @@ extension CodeStarconnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-connections") .withSigningRegion(value: config.signingRegion) .build() @@ -1260,6 +1303,8 @@ extension CodeStarconnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-connections") .withSigningRegion(value: config.signingRegion) .build() @@ -1335,6 +1380,8 @@ extension CodeStarconnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-connections") .withSigningRegion(value: config.signingRegion) .build() @@ -1410,6 +1457,8 @@ extension CodeStarconnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-connections") .withSigningRegion(value: config.signingRegion) .build() @@ -1481,6 +1530,8 @@ extension CodeStarconnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-connections") .withSigningRegion(value: config.signingRegion) .build() @@ -1547,6 +1598,8 @@ extension CodeStarconnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-connections") .withSigningRegion(value: config.signingRegion) .build() @@ -1623,6 +1676,8 @@ extension CodeStarconnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-connections") .withSigningRegion(value: config.signingRegion) .build() @@ -1698,6 +1753,8 @@ extension CodeStarconnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-connections") .withSigningRegion(value: config.signingRegion) .build() @@ -1773,6 +1830,8 @@ extension CodeStarconnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-connections") .withSigningRegion(value: config.signingRegion) .build() @@ -1844,6 +1903,8 @@ extension CodeStarconnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-connections") .withSigningRegion(value: config.signingRegion) .build() @@ -1916,6 +1977,8 @@ extension CodeStarconnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-connections") .withSigningRegion(value: config.signingRegion) .build() @@ -1987,6 +2050,8 @@ extension CodeStarconnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-connections") .withSigningRegion(value: config.signingRegion) .build() @@ -2061,6 +2126,8 @@ extension CodeStarconnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-connections") .withSigningRegion(value: config.signingRegion) .build() @@ -2138,6 +2205,8 @@ extension CodeStarconnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-connections") .withSigningRegion(value: config.signingRegion) .build() @@ -2215,6 +2284,8 @@ extension CodeStarconnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-connections") .withSigningRegion(value: config.signingRegion) .build() @@ -2292,6 +2363,8 @@ extension CodeStarconnectionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-connections") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSCodeartifact/Package.swift.txt b/Sources/Services/AWSCodeartifact/Package.swift.txt index 6167f4f48b2..6546f2d39c0 100644 --- a/Sources/Services/AWSCodeartifact/Package.swift.txt +++ b/Sources/Services/AWSCodeartifact/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSCodeartifact/Sources/AWSCodeartifact/CodeartifactClient.swift b/Sources/Services/AWSCodeartifact/Sources/AWSCodeartifact/CodeartifactClient.swift index 09e9e7b6b6f..739fbb89be6 100644 --- a/Sources/Services/AWSCodeartifact/Sources/AWSCodeartifact/CodeartifactClient.swift +++ b/Sources/Services/AWSCodeartifact/Sources/AWSCodeartifact/CodeartifactClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -68,7 +69,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodeartifactClient: ClientRuntime.Client { public static let clientName = "CodeartifactClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: CodeartifactClient.CodeartifactClientConfiguration let serviceName = "codeartifact" @@ -98,6 +99,8 @@ extension CodeartifactClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -123,6 +126,8 @@ extension CodeartifactClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -146,6 +151,8 @@ extension CodeartifactClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -172,6 +179,8 @@ extension CodeartifactClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -196,6 +205,8 @@ extension CodeartifactClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -222,6 +233,8 @@ extension CodeartifactClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -246,6 +259,8 @@ extension CodeartifactClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -273,6 +288,8 @@ extension CodeartifactClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -300,6 +317,8 @@ extension CodeartifactClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -377,6 +396,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -451,6 +472,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -528,6 +551,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -605,6 +630,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -682,6 +709,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -757,6 +786,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -830,6 +861,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -903,6 +936,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -977,6 +1012,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -1050,6 +1087,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -1126,6 +1165,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -1199,6 +1240,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -1271,6 +1314,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -1343,6 +1388,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -1415,6 +1462,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -1488,6 +1537,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -1560,6 +1611,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -1634,6 +1687,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -1707,6 +1762,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -1781,6 +1838,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -1853,6 +1912,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -1925,6 +1986,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -1998,6 +2061,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -2070,6 +2135,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -2158,6 +2225,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -2230,6 +2299,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -2303,6 +2374,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -2374,6 +2447,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -2445,6 +2520,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -2519,6 +2596,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -2591,6 +2670,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -2663,6 +2744,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -2735,6 +2818,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -2807,6 +2892,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -2878,6 +2965,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -2950,6 +3039,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -3022,6 +3113,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -3093,6 +3186,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -3167,6 +3262,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -3245,6 +3342,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -3319,6 +3418,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -3396,6 +3497,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -3471,6 +3574,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -3545,6 +3650,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -3621,6 +3728,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -3697,6 +3806,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -3773,6 +3884,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() @@ -3850,6 +3963,8 @@ extension CodeartifactClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codeartifact") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSCodestarnotifications/Package.swift.txt b/Sources/Services/AWSCodestarnotifications/Package.swift.txt index a9cc8d9d515..f9f37204253 100644 --- a/Sources/Services/AWSCodestarnotifications/Package.swift.txt +++ b/Sources/Services/AWSCodestarnotifications/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSCodestarnotifications/Sources/AWSCodestarnotifications/CodestarnotificationsClient.swift b/Sources/Services/AWSCodestarnotifications/Sources/AWSCodestarnotifications/CodestarnotificationsClient.swift index 6fc4807f3eb..c9af25a5805 100644 --- a/Sources/Services/AWSCodestarnotifications/Sources/AWSCodestarnotifications/CodestarnotificationsClient.swift +++ b/Sources/Services/AWSCodestarnotifications/Sources/AWSCodestarnotifications/CodestarnotificationsClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CodestarnotificationsClient: ClientRuntime.Client { public static let clientName = "CodestarnotificationsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: CodestarnotificationsClient.CodestarnotificationsClientConfiguration let serviceName = "codestar notifications" @@ -95,6 +96,8 @@ extension CodestarnotificationsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension CodestarnotificationsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension CodestarnotificationsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension CodestarnotificationsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension CodestarnotificationsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension CodestarnotificationsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension CodestarnotificationsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension CodestarnotificationsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension CodestarnotificationsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension CodestarnotificationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-notifications") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension CodestarnotificationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-notifications") .withSigningRegion(value: config.signingRegion) .build() @@ -516,6 +539,8 @@ extension CodestarnotificationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-notifications") .withSigningRegion(value: config.signingRegion) .build() @@ -587,6 +612,8 @@ extension CodestarnotificationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-notifications") .withSigningRegion(value: config.signingRegion) .build() @@ -658,6 +685,8 @@ extension CodestarnotificationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-notifications") .withSigningRegion(value: config.signingRegion) .build() @@ -729,6 +758,8 @@ extension CodestarnotificationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-notifications") .withSigningRegion(value: config.signingRegion) .build() @@ -800,6 +831,8 @@ extension CodestarnotificationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-notifications") .withSigningRegion(value: config.signingRegion) .build() @@ -871,6 +904,8 @@ extension CodestarnotificationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-notifications") .withSigningRegion(value: config.signingRegion) .build() @@ -943,6 +978,8 @@ extension CodestarnotificationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-notifications") .withSigningRegion(value: config.signingRegion) .build() @@ -1016,6 +1053,8 @@ extension CodestarnotificationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-notifications") .withSigningRegion(value: config.signingRegion) .build() @@ -1086,6 +1125,8 @@ extension CodestarnotificationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-notifications") .withSigningRegion(value: config.signingRegion) .build() @@ -1159,6 +1200,8 @@ extension CodestarnotificationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-notifications") .withSigningRegion(value: config.signingRegion) .build() @@ -1229,6 +1272,8 @@ extension CodestarnotificationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "codestar-notifications") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSCognitoIdentity/Package.swift.txt b/Sources/Services/AWSCognitoIdentity/Package.swift.txt index 8849f71b5c7..5422ca5a737 100644 --- a/Sources/Services/AWSCognitoIdentity/Package.swift.txt +++ b/Sources/Services/AWSCognitoIdentity/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSCognitoIdentity/Sources/AWSCognitoIdentity/CognitoIdentityClient.swift b/Sources/Services/AWSCognitoIdentity/Sources/AWSCognitoIdentity/CognitoIdentityClient.swift index 0e8b9f9aedf..0ae8f871fe5 100644 --- a/Sources/Services/AWSCognitoIdentity/Sources/AWSCognitoIdentity/CognitoIdentityClient.swift +++ b/Sources/Services/AWSCognitoIdentity/Sources/AWSCognitoIdentity/CognitoIdentityClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CognitoIdentityClient: ClientRuntime.Client { public static let clientName = "CognitoIdentityClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: CognitoIdentityClient.CognitoIdentityClientConfiguration let serviceName = "Cognito Identity" @@ -94,6 +95,8 @@ extension CognitoIdentityClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension CognitoIdentityClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension CognitoIdentityClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension CognitoIdentityClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension CognitoIdentityClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension CognitoIdentityClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension CognitoIdentityClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension CognitoIdentityClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension CognitoIdentityClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -385,6 +404,8 @@ extension CognitoIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-identity") .withSigningRegion(value: config.signingRegion) .build() @@ -458,6 +479,8 @@ extension CognitoIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-identity") .withSigningRegion(value: config.signingRegion) .build() @@ -533,6 +556,8 @@ extension CognitoIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-identity") .withSigningRegion(value: config.signingRegion) .build() @@ -608,6 +633,8 @@ extension CognitoIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-identity") .withSigningRegion(value: config.signingRegion) .build() @@ -683,6 +710,8 @@ extension CognitoIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-identity") .withSigningRegion(value: config.signingRegion) .build() @@ -761,6 +790,8 @@ extension CognitoIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -837,6 +868,8 @@ extension CognitoIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -911,6 +944,8 @@ extension CognitoIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-identity") .withSigningRegion(value: config.signingRegion) .build() @@ -988,6 +1023,8 @@ extension CognitoIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -1063,6 +1100,8 @@ extension CognitoIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-identity") .withSigningRegion(value: config.signingRegion) .build() @@ -1138,6 +1177,8 @@ extension CognitoIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-identity") .withSigningRegion(value: config.signingRegion) .build() @@ -1213,6 +1254,8 @@ extension CognitoIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-identity") .withSigningRegion(value: config.signingRegion) .build() @@ -1288,6 +1331,8 @@ extension CognitoIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-identity") .withSigningRegion(value: config.signingRegion) .build() @@ -1363,6 +1408,8 @@ extension CognitoIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-identity") .withSigningRegion(value: config.signingRegion) .build() @@ -1439,6 +1486,8 @@ extension CognitoIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-identity") .withSigningRegion(value: config.signingRegion) .build() @@ -1515,6 +1564,8 @@ extension CognitoIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-identity") .withSigningRegion(value: config.signingRegion) .build() @@ -1592,6 +1643,8 @@ extension CognitoIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-identity") .withSigningRegion(value: config.signingRegion) .build() @@ -1667,6 +1720,8 @@ extension CognitoIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-identity") .withSigningRegion(value: config.signingRegion) .build() @@ -1742,6 +1797,8 @@ extension CognitoIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-identity") .withSigningRegion(value: config.signingRegion) .build() @@ -1818,6 +1875,8 @@ extension CognitoIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-identity") .withSigningRegion(value: config.signingRegion) .build() @@ -1895,6 +1954,8 @@ extension CognitoIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -1968,6 +2029,8 @@ extension CognitoIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-identity") .withSigningRegion(value: config.signingRegion) .build() @@ -2046,6 +2109,8 @@ extension CognitoIdentityClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-identity") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSCognitoIdentity/Sources/AWSCognitoIdentity/Endpoints.swift b/Sources/Services/AWSCognitoIdentity/Sources/AWSCognitoIdentity/Endpoints.swift index ce852aef172..65ab3980d47 100644 --- a/Sources/Services/AWSCognitoIdentity/Sources/AWSCognitoIdentity/Endpoints.swift +++ b/Sources/Services/AWSCognitoIdentity/Sources/AWSCognitoIdentity/Endpoints.swift @@ -59,7 +59,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\"},\"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\":[{\"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\"},{\"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\":[],\"endpoint\":{\"url\":\"https://cognito-identity-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\",\"properties\":{},\"headers\":{}},\"type\":\"endpoint\"}],\"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\":[],\"endpoint\":{\"url\":\"https://cognito-identity-fips.{Region}.{PartitionResult#dnsSuffix}\",\"properties\":{},\"headers\":{}},\"type\":\"endpoint\"}],\"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\":[],\"endpoint\":{\"url\":\"https://cognito-identity.{Region}.{PartitionResult#dualStackDnsSuffix}\",\"properties\":{},\"headers\":{}},\"type\":\"endpoint\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"DualStack is enabled but this partition does not support DualStack\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[],\"endpoint\":{\"url\":\"https://cognito-identity.{Region}.{PartitionResult#dnsSuffix}\",\"properties\":{},\"headers\":{}},\"type\":\"endpoint\"}],\"type\":\"tree\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid Configuration: Missing Region\",\"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\"},\"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\":[{\"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\"},{\"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\":[{\"fn\":\"stringEquals\",\"argv\":[{\"ref\":\"Region\"},\"us-east-1\"]}],\"endpoint\":{\"url\":\"https://cognito-identity-fips.us-east-1.amazonaws.com\",\"properties\":{},\"headers\":{}},\"type\":\"endpoint\"},{\"conditions\":[{\"fn\":\"stringEquals\",\"argv\":[{\"ref\":\"Region\"},\"us-east-2\"]}],\"endpoint\":{\"url\":\"https://cognito-identity-fips.us-east-2.amazonaws.com\",\"properties\":{},\"headers\":{}},\"type\":\"endpoint\"},{\"conditions\":[{\"fn\":\"stringEquals\",\"argv\":[{\"ref\":\"Region\"},\"us-west-1\"]}],\"endpoint\":{\"url\":\"https://cognito-identity-fips.us-west-1.amazonaws.com\",\"properties\":{},\"headers\":{}},\"type\":\"endpoint\"},{\"conditions\":[{\"fn\":\"stringEquals\",\"argv\":[{\"ref\":\"Region\"},\"us-west-2\"]}],\"endpoint\":{\"url\":\"https://cognito-identity-fips.us-west-2.amazonaws.com\",\"properties\":{},\"headers\":{}},\"type\":\"endpoint\"},{\"conditions\":[],\"endpoint\":{\"url\":\"https://cognito-identity-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\",\"properties\":{},\"headers\":{}},\"type\":\"endpoint\"}],\"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\":[],\"endpoint\":{\"url\":\"https://cognito-identity-fips.{Region}.{PartitionResult#dnsSuffix}\",\"properties\":{},\"headers\":{}},\"type\":\"endpoint\"}],\"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\":[{\"fn\":\"stringEquals\",\"argv\":[\"aws\",{\"fn\":\"getAttr\",\"argv\":[{\"ref\":\"PartitionResult\"},\"name\"]}]}],\"endpoint\":{\"url\":\"https://cognito-identity.{Region}.amazonaws.com\",\"properties\":{},\"headers\":{}},\"type\":\"endpoint\"},{\"conditions\":[],\"endpoint\":{\"url\":\"https://cognito-identity.{Region}.{PartitionResult#dualStackDnsSuffix}\",\"properties\":{},\"headers\":{}},\"type\":\"endpoint\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"DualStack is enabled but this partition does not support DualStack\",\"type\":\"error\"}],\"type\":\"tree\"},{\"conditions\":[],\"endpoint\":{\"url\":\"https://cognito-identity.{Region}.{PartitionResult#dnsSuffix}\",\"properties\":{},\"headers\":{}},\"type\":\"endpoint\"}],\"type\":\"tree\"}],\"type\":\"tree\"},{\"conditions\":[],\"error\":\"Invalid Configuration: Missing Region\",\"type\":\"error\"}]}" init() throws { try self.init(partitions: AWSClientRuntime.awsPartitionJSON, ruleSet: Self.ruleSet) diff --git a/Sources/Services/AWSCognitoIdentity/Tests/AWSCognitoIdentityTests/EndpointResolverTest.swift b/Sources/Services/AWSCognitoIdentity/Tests/AWSCognitoIdentityTests/EndpointResolverTest.swift index c56b4c0f179..d1f70ad5fd4 100644 --- a/Sources/Services/AWSCognitoIdentity/Tests/AWSCognitoIdentityTests/EndpointResolverTest.swift +++ b/Sources/Services/AWSCognitoIdentity/Tests/AWSCognitoIdentityTests/EndpointResolverTest.swift @@ -20,10 +20,10 @@ class EndpointResolverTest: XCTestCase { SmithyTestUtil.TestInitializer.initialize() } - /// For region ap-northeast-1 with FIPS disabled and DualStack disabled + /// For region us-east-1 with FIPS disabled and DualStack disabled func testResolve1() throws { let endpointParams = EndpointParams( - region: "ap-northeast-1", + region: "us-east-1", useDualStack: false, useFIPS: false ) @@ -35,17 +35,17 @@ class EndpointResolverTest: XCTestCase { [:] let headers = SmithyHTTPAPI.Headers() - let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://cognito-identity.ap-northeast-1.amazonaws.com", headers: headers, properties: properties) + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://cognito-identity.us-east-1.amazonaws.com", headers: headers, properties: properties) XCTAssertEqual(expected, actual) } - /// For region ap-northeast-2 with FIPS disabled and DualStack disabled + /// For region us-east-1 with FIPS enabled and DualStack disabled func testResolve2() throws { let endpointParams = EndpointParams( - region: "ap-northeast-2", + region: "us-east-1", useDualStack: false, - useFIPS: false + useFIPS: true ) let resolver = try DefaultEndpointResolver() @@ -55,16 +55,16 @@ class EndpointResolverTest: XCTestCase { [:] let headers = SmithyHTTPAPI.Headers() - let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://cognito-identity.ap-northeast-2.amazonaws.com", headers: headers, properties: properties) + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://cognito-identity-fips.us-east-1.amazonaws.com", headers: headers, properties: properties) XCTAssertEqual(expected, actual) } - /// For region ap-south-1 with FIPS disabled and DualStack disabled + /// For region us-east-1 with FIPS disabled and DualStack enabled func testResolve3() throws { let endpointParams = EndpointParams( - region: "ap-south-1", - useDualStack: false, + region: "us-east-1", + useDualStack: true, useFIPS: false ) let resolver = try DefaultEndpointResolver() @@ -75,17 +75,17 @@ class EndpointResolverTest: XCTestCase { [:] let headers = SmithyHTTPAPI.Headers() - let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://cognito-identity.ap-south-1.amazonaws.com", headers: headers, properties: properties) + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://cognito-identity.us-east-1.amazonaws.com", headers: headers, properties: properties) XCTAssertEqual(expected, actual) } - /// For region ap-southeast-1 with FIPS disabled and DualStack disabled + /// For region us-east-1 with FIPS enabled and DualStack enabled func testResolve4() throws { let endpointParams = EndpointParams( - region: "ap-southeast-1", - useDualStack: false, - useFIPS: false + region: "us-east-1", + useDualStack: true, + useFIPS: true ) let resolver = try DefaultEndpointResolver() @@ -95,15 +95,15 @@ class EndpointResolverTest: XCTestCase { [:] let headers = SmithyHTTPAPI.Headers() - let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://cognito-identity.ap-southeast-1.amazonaws.com", headers: headers, properties: properties) + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://cognito-identity-fips.us-east-1.amazonaws.com", headers: headers, properties: properties) XCTAssertEqual(expected, actual) } - /// For region ap-southeast-2 with FIPS disabled and DualStack disabled + /// For region us-east-2 with FIPS disabled and DualStack disabled func testResolve5() throws { let endpointParams = EndpointParams( - region: "ap-southeast-2", + region: "us-east-2", useDualStack: false, useFIPS: false ) @@ -115,17 +115,17 @@ class EndpointResolverTest: XCTestCase { [:] let headers = SmithyHTTPAPI.Headers() - let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://cognito-identity.ap-southeast-2.amazonaws.com", headers: headers, properties: properties) + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://cognito-identity.us-east-2.amazonaws.com", headers: headers, properties: properties) XCTAssertEqual(expected, actual) } - /// For region ca-central-1 with FIPS disabled and DualStack disabled + /// For region us-east-2 with FIPS enabled and DualStack disabled func testResolve6() throws { let endpointParams = EndpointParams( - region: "ca-central-1", + region: "us-east-2", useDualStack: false, - useFIPS: false + useFIPS: true ) let resolver = try DefaultEndpointResolver() @@ -135,16 +135,16 @@ class EndpointResolverTest: XCTestCase { [:] let headers = SmithyHTTPAPI.Headers() - let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://cognito-identity.ca-central-1.amazonaws.com", headers: headers, properties: properties) + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://cognito-identity-fips.us-east-2.amazonaws.com", headers: headers, properties: properties) XCTAssertEqual(expected, actual) } - /// For region eu-central-1 with FIPS disabled and DualStack disabled + /// For region us-east-2 with FIPS disabled and DualStack enabled func testResolve7() throws { let endpointParams = EndpointParams( - region: "eu-central-1", - useDualStack: false, + region: "us-east-2", + useDualStack: true, useFIPS: false ) let resolver = try DefaultEndpointResolver() @@ -155,17 +155,17 @@ class EndpointResolverTest: XCTestCase { [:] let headers = SmithyHTTPAPI.Headers() - let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://cognito-identity.eu-central-1.amazonaws.com", headers: headers, properties: properties) + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://cognito-identity.us-east-2.amazonaws.com", headers: headers, properties: properties) XCTAssertEqual(expected, actual) } - /// For region eu-north-1 with FIPS disabled and DualStack disabled + /// For region us-east-2 with FIPS enabled and DualStack enabled func testResolve8() throws { let endpointParams = EndpointParams( - region: "eu-north-1", - useDualStack: false, - useFIPS: false + region: "us-east-2", + useDualStack: true, + useFIPS: true ) let resolver = try DefaultEndpointResolver() @@ -175,15 +175,15 @@ class EndpointResolverTest: XCTestCase { [:] let headers = SmithyHTTPAPI.Headers() - let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://cognito-identity.eu-north-1.amazonaws.com", headers: headers, properties: properties) + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://cognito-identity-fips.us-east-2.amazonaws.com", headers: headers, properties: properties) XCTAssertEqual(expected, actual) } - /// For region eu-west-1 with FIPS disabled and DualStack disabled + /// For region us-west-1 with FIPS disabled and DualStack disabled func testResolve9() throws { let endpointParams = EndpointParams( - region: "eu-west-1", + region: "us-west-1", useDualStack: false, useFIPS: false ) @@ -195,17 +195,17 @@ class EndpointResolverTest: XCTestCase { [:] let headers = SmithyHTTPAPI.Headers() - let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://cognito-identity.eu-west-1.amazonaws.com", headers: headers, properties: properties) + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://cognito-identity.us-west-1.amazonaws.com", headers: headers, properties: properties) XCTAssertEqual(expected, actual) } - /// For region eu-west-2 with FIPS disabled and DualStack disabled + /// For region us-west-1 with FIPS enabled and DualStack disabled func testResolve10() throws { let endpointParams = EndpointParams( - region: "eu-west-2", + region: "us-west-1", useDualStack: false, - useFIPS: false + useFIPS: true ) let resolver = try DefaultEndpointResolver() @@ -215,16 +215,16 @@ class EndpointResolverTest: XCTestCase { [:] let headers = SmithyHTTPAPI.Headers() - let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://cognito-identity.eu-west-2.amazonaws.com", headers: headers, properties: properties) + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://cognito-identity-fips.us-west-1.amazonaws.com", headers: headers, properties: properties) XCTAssertEqual(expected, actual) } - /// For region eu-west-3 with FIPS disabled and DualStack disabled + /// For region us-west-1 with FIPS disabled and DualStack enabled func testResolve11() throws { let endpointParams = EndpointParams( - region: "eu-west-3", - useDualStack: false, + region: "us-west-1", + useDualStack: true, useFIPS: false ) let resolver = try DefaultEndpointResolver() @@ -235,137 +235,17 @@ class EndpointResolverTest: XCTestCase { [:] let headers = SmithyHTTPAPI.Headers() - let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://cognito-identity.eu-west-3.amazonaws.com", headers: headers, properties: properties) + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://cognito-identity.us-west-1.amazonaws.com", headers: headers, properties: properties) XCTAssertEqual(expected, actual) } - /// For region me-south-1 with FIPS disabled and DualStack disabled + /// For region us-west-1 with FIPS enabled and DualStack enabled func testResolve12() throws { - let endpointParams = EndpointParams( - region: "me-south-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://cognito-identity.me-south-1.amazonaws.com", headers: headers, properties: properties) - - XCTAssertEqual(expected, actual) - } - - /// For region sa-east-1 with FIPS disabled and DualStack disabled - func testResolve13() throws { - let endpointParams = EndpointParams( - region: "sa-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://cognito-identity.sa-east-1.amazonaws.com", headers: headers, properties: properties) - - XCTAssertEqual(expected, actual) - } - - /// For region us-east-1 with FIPS disabled and DualStack disabled - func testResolve14() 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://cognito-identity.us-east-1.amazonaws.com", headers: headers, properties: properties) - - XCTAssertEqual(expected, actual) - } - - /// For region us-east-1 with FIPS enabled and DualStack disabled - func testResolve15() 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://cognito-identity-fips.us-east-1.amazonaws.com", headers: headers, properties: properties) - - XCTAssertEqual(expected, actual) - } - - /// For region us-east-2 with FIPS disabled and DualStack disabled - func testResolve16() throws { - let endpointParams = EndpointParams( - region: "us-east-2", - 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://cognito-identity.us-east-2.amazonaws.com", headers: headers, properties: properties) - - XCTAssertEqual(expected, actual) - } - - /// For region us-east-2 with FIPS enabled and DualStack disabled - func testResolve17() throws { - let endpointParams = EndpointParams( - region: "us-east-2", - 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://cognito-identity-fips.us-east-2.amazonaws.com", headers: headers, properties: properties) - - XCTAssertEqual(expected, actual) - } - - /// For region us-west-1 with FIPS disabled and DualStack disabled - func testResolve18() throws { let endpointParams = EndpointParams( region: "us-west-1", - useDualStack: false, - useFIPS: false + useDualStack: true, + useFIPS: true ) let resolver = try DefaultEndpointResolver() @@ -375,13 +255,13 @@ class EndpointResolverTest: XCTestCase { [:] let headers = SmithyHTTPAPI.Headers() - let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://cognito-identity.us-west-1.amazonaws.com", headers: headers, properties: properties) + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://cognito-identity-fips.us-west-1.amazonaws.com", headers: headers, properties: properties) XCTAssertEqual(expected, actual) } /// For region us-west-2 with FIPS disabled and DualStack disabled - func testResolve19() throws { + func testResolve13() throws { let endpointParams = EndpointParams( region: "us-west-2", useDualStack: false, @@ -401,7 +281,7 @@ class EndpointResolverTest: XCTestCase { } /// For region us-west-2 with FIPS enabled and DualStack disabled - func testResolve20() throws { + func testResolve14() throws { let endpointParams = EndpointParams( region: "us-west-2", useDualStack: false, @@ -420,12 +300,12 @@ class EndpointResolverTest: XCTestCase { XCTAssertEqual(expected, actual) } - /// For region us-east-1 with FIPS enabled and DualStack enabled - func testResolve21() throws { + /// For region us-west-2 with FIPS disabled and DualStack enabled + func testResolve15() throws { let endpointParams = EndpointParams( - region: "us-east-1", + region: "us-west-2", useDualStack: true, - useFIPS: true + useFIPS: false ) let resolver = try DefaultEndpointResolver() @@ -435,17 +315,17 @@ class EndpointResolverTest: XCTestCase { [:] let headers = SmithyHTTPAPI.Headers() - let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://cognito-identity-fips.us-east-1.api.aws", headers: headers, properties: properties) + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://cognito-identity.us-west-2.amazonaws.com", headers: headers, properties: properties) XCTAssertEqual(expected, actual) } - /// For region us-east-1 with FIPS disabled and DualStack enabled - func testResolve22() throws { + /// For region us-west-2 with FIPS enabled and DualStack enabled + func testResolve16() throws { let endpointParams = EndpointParams( - region: "us-east-1", + region: "us-west-2", useDualStack: true, - useFIPS: false + useFIPS: true ) let resolver = try DefaultEndpointResolver() @@ -455,13 +335,13 @@ class EndpointResolverTest: XCTestCase { [:] let headers = SmithyHTTPAPI.Headers() - let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://cognito-identity.us-east-1.api.aws", headers: headers, properties: properties) + let expected = try SmithyHTTPAPI.Endpoint(urlString: "https://cognito-identity-fips.us-west-2.amazonaws.com", headers: headers, properties: properties) XCTAssertEqual(expected, actual) } /// For region cn-north-1 with FIPS disabled and DualStack disabled - func testResolve23() throws { + func testResolve17() throws { let endpointParams = EndpointParams( region: "cn-north-1", useDualStack: false, @@ -481,7 +361,7 @@ class EndpointResolverTest: XCTestCase { } /// For region cn-north-1 with FIPS enabled and DualStack enabled - func testResolve24() throws { + func testResolve18() throws { let endpointParams = EndpointParams( region: "cn-north-1", useDualStack: true, @@ -501,7 +381,7 @@ class EndpointResolverTest: XCTestCase { } /// For region cn-north-1 with FIPS enabled and DualStack disabled - func testResolve25() throws { + func testResolve19() throws { let endpointParams = EndpointParams( region: "cn-north-1", useDualStack: false, @@ -521,7 +401,7 @@ class EndpointResolverTest: XCTestCase { } /// For region cn-north-1 with FIPS disabled and DualStack enabled - func testResolve26() throws { + func testResolve20() throws { let endpointParams = EndpointParams( region: "cn-north-1", useDualStack: true, @@ -541,7 +421,7 @@ class EndpointResolverTest: XCTestCase { } /// For region us-gov-west-1 with FIPS disabled and DualStack disabled - func testResolve27() throws { + func testResolve21() throws { let endpointParams = EndpointParams( region: "us-gov-west-1", useDualStack: false, @@ -561,7 +441,7 @@ class EndpointResolverTest: XCTestCase { } /// For region us-gov-west-1 with FIPS enabled and DualStack disabled - func testResolve28() throws { + func testResolve22() throws { let endpointParams = EndpointParams( region: "us-gov-west-1", useDualStack: false, @@ -581,7 +461,7 @@ class EndpointResolverTest: XCTestCase { } /// For region us-gov-east-1 with FIPS enabled and DualStack enabled - func testResolve29() throws { + func testResolve23() throws { let endpointParams = EndpointParams( region: "us-gov-east-1", useDualStack: true, @@ -601,7 +481,7 @@ class EndpointResolverTest: XCTestCase { } /// For region us-gov-east-1 with FIPS enabled and DualStack disabled - func testResolve30() throws { + func testResolve24() throws { let endpointParams = EndpointParams( region: "us-gov-east-1", useDualStack: false, @@ -621,7 +501,7 @@ class EndpointResolverTest: XCTestCase { } /// For region us-gov-east-1 with FIPS disabled and DualStack enabled - func testResolve31() throws { + func testResolve25() throws { let endpointParams = EndpointParams( region: "us-gov-east-1", useDualStack: true, @@ -641,7 +521,7 @@ class EndpointResolverTest: XCTestCase { } /// For region us-gov-east-1 with FIPS disabled and DualStack disabled - func testResolve32() throws { + func testResolve26() throws { let endpointParams = EndpointParams( region: "us-gov-east-1", useDualStack: false, @@ -661,7 +541,7 @@ class EndpointResolverTest: XCTestCase { } /// For region us-iso-east-1 with FIPS enabled and DualStack enabled - func testResolve33() throws { + func testResolve27() throws { let endpointParams = EndpointParams( region: "us-iso-east-1", useDualStack: true, @@ -680,7 +560,7 @@ class EndpointResolverTest: XCTestCase { } /// For region us-iso-east-1 with FIPS enabled and DualStack disabled - func testResolve34() throws { + func testResolve28() throws { let endpointParams = EndpointParams( region: "us-iso-east-1", useDualStack: false, @@ -700,7 +580,7 @@ class EndpointResolverTest: XCTestCase { } /// For region us-iso-east-1 with FIPS disabled and DualStack enabled - func testResolve35() throws { + func testResolve29() throws { let endpointParams = EndpointParams( region: "us-iso-east-1", useDualStack: true, @@ -719,7 +599,7 @@ class EndpointResolverTest: XCTestCase { } /// For region us-iso-east-1 with FIPS disabled and DualStack disabled - func testResolve36() throws { + func testResolve30() throws { let endpointParams = EndpointParams( region: "us-iso-east-1", useDualStack: false, @@ -739,7 +619,7 @@ class EndpointResolverTest: XCTestCase { } /// For region us-isob-east-1 with FIPS enabled and DualStack enabled - func testResolve37() throws { + func testResolve31() throws { let endpointParams = EndpointParams( region: "us-isob-east-1", useDualStack: true, @@ -758,7 +638,7 @@ class EndpointResolverTest: XCTestCase { } /// For region us-isob-east-1 with FIPS enabled and DualStack disabled - func testResolve38() throws { + func testResolve32() throws { let endpointParams = EndpointParams( region: "us-isob-east-1", useDualStack: false, @@ -778,7 +658,7 @@ class EndpointResolverTest: XCTestCase { } /// For region us-isob-east-1 with FIPS disabled and DualStack enabled - func testResolve39() throws { + func testResolve33() throws { let endpointParams = EndpointParams( region: "us-isob-east-1", useDualStack: true, @@ -797,7 +677,7 @@ class EndpointResolverTest: XCTestCase { } /// For region us-isob-east-1 with FIPS disabled and DualStack disabled - func testResolve40() throws { + func testResolve34() throws { let endpointParams = EndpointParams( region: "us-isob-east-1", useDualStack: false, @@ -817,7 +697,7 @@ class EndpointResolverTest: XCTestCase { } /// For custom endpoint with region set and fips disabled and dualstack disabled - func testResolve41() throws { + func testResolve35() throws { let endpointParams = EndpointParams( endpoint: "https://example.com", region: "us-east-1", @@ -838,7 +718,7 @@ class EndpointResolverTest: XCTestCase { } /// For custom endpoint with region not set and fips disabled and dualstack disabled - func testResolve42() throws { + func testResolve36() throws { let endpointParams = EndpointParams( endpoint: "https://example.com", useDualStack: false, @@ -858,7 +738,7 @@ class EndpointResolverTest: XCTestCase { } /// For custom endpoint with fips enabled and dualstack disabled - func testResolve43() throws { + func testResolve37() throws { let endpointParams = EndpointParams( endpoint: "https://example.com", region: "us-east-1", @@ -878,7 +758,7 @@ class EndpointResolverTest: XCTestCase { } /// For custom endpoint with fips disabled and dualstack enabled - func testResolve44() throws { + func testResolve38() throws { let endpointParams = EndpointParams( endpoint: "https://example.com", region: "us-east-1", @@ -898,7 +778,7 @@ class EndpointResolverTest: XCTestCase { } /// Missing region - func testResolve45() throws { + func testResolve39() throws { let endpointParams = EndpointParams( ) let resolver = try DefaultEndpointResolver() diff --git a/Sources/Services/AWSCognitoIdentityProvider/Package.swift.txt b/Sources/Services/AWSCognitoIdentityProvider/Package.swift.txt index 9c8cc65627b..c2bf1073a91 100644 --- a/Sources/Services/AWSCognitoIdentityProvider/Package.swift.txt +++ b/Sources/Services/AWSCognitoIdentityProvider/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSCognitoIdentityProvider/Sources/AWSCognitoIdentityProvider/CognitoIdentityProviderClient.swift b/Sources/Services/AWSCognitoIdentityProvider/Sources/AWSCognitoIdentityProvider/CognitoIdentityProviderClient.swift index fd00096dcfe..72818d118e9 100644 --- a/Sources/Services/AWSCognitoIdentityProvider/Sources/AWSCognitoIdentityProvider/CognitoIdentityProviderClient.swift +++ b/Sources/Services/AWSCognitoIdentityProvider/Sources/AWSCognitoIdentityProvider/CognitoIdentityProviderClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CognitoIdentityProviderClient: ClientRuntime.Client { public static let clientName = "CognitoIdentityProviderClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: CognitoIdentityProviderClient.CognitoIdentityProviderClientConfiguration let serviceName = "Cognito Identity Provider" @@ -95,6 +96,8 @@ extension CognitoIdentityProviderClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension CognitoIdentityProviderClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension CognitoIdentityProviderClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension CognitoIdentityProviderClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension CognitoIdentityProviderClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension CognitoIdentityProviderClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension CognitoIdentityProviderClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension CognitoIdentityProviderClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension CognitoIdentityProviderClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -377,6 +396,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -457,6 +478,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -545,6 +568,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -635,6 +660,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -715,6 +742,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -795,6 +824,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -876,6 +907,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -956,6 +989,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -1036,6 +1071,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -1117,6 +1154,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -1197,6 +1236,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -1277,6 +1318,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -1367,6 +1410,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -1449,6 +1494,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -1529,6 +1576,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -1609,6 +1658,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -1690,6 +1741,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -1770,6 +1823,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -1857,6 +1912,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -1953,6 +2010,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -2034,6 +2093,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -2116,6 +2177,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -2195,6 +2258,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -2276,6 +2341,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -2357,6 +2424,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -2444,6 +2513,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -2533,6 +2604,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -2610,6 +2683,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -2690,6 +2765,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -2770,6 +2847,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -2851,6 +2930,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -2936,6 +3017,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -3019,6 +3102,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -3098,6 +3183,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -3179,6 +3266,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -3261,6 +3350,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -3341,6 +3432,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -3422,6 +3515,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -3507,6 +3602,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -3589,6 +3686,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -3669,6 +3768,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -3748,6 +3849,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -3829,6 +3932,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -3909,6 +4014,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -3988,6 +4095,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -4067,6 +4176,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -4144,6 +4255,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -4218,6 +4331,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -4294,6 +4409,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -4368,6 +4485,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -4443,6 +4562,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -4516,6 +4637,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -4591,6 +4714,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -4666,6 +4791,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -4741,6 +4868,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -4817,6 +4946,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -4892,6 +5023,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -4972,6 +5105,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -5051,6 +5186,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -5129,6 +5266,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -5209,6 +5348,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -5292,6 +5433,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -5365,6 +5508,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -5445,6 +5590,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -5518,6 +5665,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -5593,6 +5742,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -5668,6 +5819,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -5741,6 +5894,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -5816,6 +5971,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -5895,6 +6052,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -5980,6 +6139,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -6061,6 +6222,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -6134,6 +6297,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -6221,6 +6386,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -6305,6 +6472,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -6383,6 +6552,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -6460,6 +6631,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -6539,6 +6712,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -6618,6 +6793,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -6693,6 +6870,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -6772,6 +6951,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -6851,6 +7032,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -6929,6 +7112,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -7008,6 +7193,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -7087,6 +7274,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -7161,6 +7350,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -7244,6 +7435,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -7335,6 +7528,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -7410,6 +7605,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -7484,6 +7681,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -7562,6 +7761,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -7637,6 +7838,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -7715,6 +7918,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -7792,6 +7997,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -7870,6 +8077,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -7954,6 +8163,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -8028,6 +8239,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -8106,6 +8319,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -8180,6 +8395,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -8255,6 +8472,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -8330,6 +8549,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -8407,6 +8628,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -8485,6 +8708,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -8562,6 +8787,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -8643,6 +8870,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -8723,6 +8952,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -8802,6 +9033,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -8891,6 +9124,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -8976,6 +9211,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -9058,6 +9295,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -9138,6 +9377,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-idp") .withSigningRegion(value: config.signingRegion) .build() @@ -9221,6 +9462,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -9302,6 +9545,8 @@ extension CognitoIdentityProviderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in diff --git a/Sources/Services/AWSCognitoSync/Package.swift.txt b/Sources/Services/AWSCognitoSync/Package.swift.txt index 75775a39b67..9bbe93fd26e 100644 --- a/Sources/Services/AWSCognitoSync/Package.swift.txt +++ b/Sources/Services/AWSCognitoSync/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSCognitoSync/Sources/AWSCognitoSync/CognitoSyncClient.swift b/Sources/Services/AWSCognitoSync/Sources/AWSCognitoSync/CognitoSyncClient.swift index 4515a05c1f2..29d0401a3a7 100644 --- a/Sources/Services/AWSCognitoSync/Sources/AWSCognitoSync/CognitoSyncClient.swift +++ b/Sources/Services/AWSCognitoSync/Sources/AWSCognitoSync/CognitoSyncClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CognitoSyncClient: ClientRuntime.Client { public static let clientName = "CognitoSyncClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: CognitoSyncClient.CognitoSyncClientConfiguration let serviceName = "Cognito Sync" @@ -95,6 +96,8 @@ extension CognitoSyncClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension CognitoSyncClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension CognitoSyncClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension CognitoSyncClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension CognitoSyncClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension CognitoSyncClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension CognitoSyncClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension CognitoSyncClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension CognitoSyncClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension CognitoSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-sync") .withSigningRegion(value: config.signingRegion) .build() @@ -445,6 +466,8 @@ extension CognitoSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-sync") .withSigningRegion(value: config.signingRegion) .build() @@ -516,6 +539,8 @@ extension CognitoSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-sync") .withSigningRegion(value: config.signingRegion) .build() @@ -587,6 +612,8 @@ extension CognitoSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-sync") .withSigningRegion(value: config.signingRegion) .build() @@ -658,6 +685,8 @@ extension CognitoSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-sync") .withSigningRegion(value: config.signingRegion) .build() @@ -728,6 +757,8 @@ extension CognitoSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-sync") .withSigningRegion(value: config.signingRegion) .build() @@ -799,6 +830,8 @@ extension CognitoSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-sync") .withSigningRegion(value: config.signingRegion) .build() @@ -870,6 +903,8 @@ extension CognitoSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-sync") .withSigningRegion(value: config.signingRegion) .build() @@ -940,6 +975,8 @@ extension CognitoSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-sync") .withSigningRegion(value: config.signingRegion) .build() @@ -1011,6 +1048,8 @@ extension CognitoSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-sync") .withSigningRegion(value: config.signingRegion) .build() @@ -1082,6 +1121,8 @@ extension CognitoSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-sync") .withSigningRegion(value: config.signingRegion) .build() @@ -1155,6 +1196,8 @@ extension CognitoSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-sync") .withSigningRegion(value: config.signingRegion) .build() @@ -1229,6 +1272,8 @@ extension CognitoSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-sync") .withSigningRegion(value: config.signingRegion) .build() @@ -1304,6 +1349,8 @@ extension CognitoSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-sync") .withSigningRegion(value: config.signingRegion) .build() @@ -1379,6 +1426,8 @@ extension CognitoSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-sync") .withSigningRegion(value: config.signingRegion) .build() @@ -1451,6 +1500,8 @@ extension CognitoSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-sync") .withSigningRegion(value: config.signingRegion) .build() @@ -1526,6 +1577,8 @@ extension CognitoSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cognito-sync") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSComprehend/Package.swift.txt b/Sources/Services/AWSComprehend/Package.swift.txt index a105d70e1bd..861b2fa5fdc 100644 --- a/Sources/Services/AWSComprehend/Package.swift.txt +++ b/Sources/Services/AWSComprehend/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSComprehend/Sources/AWSComprehend/ComprehendClient.swift b/Sources/Services/AWSComprehend/Sources/AWSComprehend/ComprehendClient.swift index af7673f0e9c..bd98ad0e5c5 100644 --- a/Sources/Services/AWSComprehend/Sources/AWSComprehend/ComprehendClient.swift +++ b/Sources/Services/AWSComprehend/Sources/AWSComprehend/ComprehendClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ComprehendClient: ClientRuntime.Client { public static let clientName = "ComprehendClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ComprehendClient.ComprehendClientConfiguration let serviceName = "Comprehend" @@ -95,6 +96,8 @@ extension ComprehendClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension ComprehendClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension ComprehendClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension ComprehendClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension ComprehendClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension ComprehendClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension ComprehendClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension ComprehendClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension ComprehendClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -521,6 +544,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -596,6 +621,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -671,6 +698,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -746,6 +775,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -827,6 +858,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -901,6 +934,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -978,6 +1013,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -1057,6 +1094,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -1136,6 +1175,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -1215,6 +1256,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -1296,6 +1339,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -1373,6 +1418,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -1448,6 +1495,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -1524,6 +1573,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -1600,6 +1651,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -1673,6 +1726,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -1747,6 +1802,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -1821,6 +1878,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -1895,6 +1954,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -1969,6 +2030,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -2043,6 +2106,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -2117,6 +2182,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -2191,6 +2258,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -2265,6 +2334,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -2339,6 +2410,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -2413,6 +2486,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -2487,6 +2562,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -2561,6 +2638,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -2634,6 +2713,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -2708,6 +2789,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -2782,6 +2865,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -2856,6 +2941,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -2929,6 +3016,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -3004,6 +3093,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -3078,6 +3169,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -3152,6 +3245,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -3226,6 +3321,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -3300,6 +3397,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -3374,6 +3473,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -3448,6 +3549,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -3527,6 +3630,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -3602,6 +3707,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -3676,6 +3783,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -3749,6 +3858,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -3823,6 +3934,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -3897,6 +4010,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -3970,6 +4085,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -4044,6 +4161,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -4117,6 +4236,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -4191,6 +4312,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -4265,6 +4388,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -4340,6 +4465,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -4414,6 +4541,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -4488,6 +4617,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -4562,6 +4693,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -4636,6 +4769,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -4709,6 +4844,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -4783,6 +4920,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -4857,6 +4996,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -4930,6 +5071,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -5008,6 +5151,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -5085,6 +5230,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -5164,6 +5311,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -5241,6 +5390,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -5317,6 +5468,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -5393,6 +5546,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -5470,6 +5625,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -5547,6 +5704,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -5624,6 +5783,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -5701,6 +5862,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -5775,6 +5938,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -5848,6 +6013,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -5921,6 +6088,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -5994,6 +6163,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -6067,6 +6238,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -6140,6 +6313,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -6213,6 +6388,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -6287,6 +6464,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -6361,6 +6540,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -6436,6 +6617,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -6511,6 +6694,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -6588,6 +6773,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() @@ -6663,6 +6850,8 @@ extension ComprehendClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehend") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSComprehendMedical/Package.swift.txt b/Sources/Services/AWSComprehendMedical/Package.swift.txt index c47819f937d..27f9a4c5214 100644 --- a/Sources/Services/AWSComprehendMedical/Package.swift.txt +++ b/Sources/Services/AWSComprehendMedical/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSComprehendMedical/Sources/AWSComprehendMedical/ComprehendMedicalClient.swift b/Sources/Services/AWSComprehendMedical/Sources/AWSComprehendMedical/ComprehendMedicalClient.swift index 58cd9a6857b..3410e2289c8 100644 --- a/Sources/Services/AWSComprehendMedical/Sources/AWSComprehendMedical/ComprehendMedicalClient.swift +++ b/Sources/Services/AWSComprehendMedical/Sources/AWSComprehendMedical/ComprehendMedicalClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ComprehendMedicalClient: ClientRuntime.Client { public static let clientName = "ComprehendMedicalClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ComprehendMedicalClient.ComprehendMedicalClientConfiguration let serviceName = "ComprehendMedical" @@ -94,6 +95,8 @@ extension ComprehendMedicalClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension ComprehendMedicalClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension ComprehendMedicalClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension ComprehendMedicalClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension ComprehendMedicalClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension ComprehendMedicalClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension ComprehendMedicalClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension ComprehendMedicalClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension ComprehendMedicalClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension ComprehendMedicalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehendmedical") .withSigningRegion(value: config.signingRegion) .build() @@ -444,6 +465,8 @@ extension ComprehendMedicalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehendmedical") .withSigningRegion(value: config.signingRegion) .build() @@ -518,6 +541,8 @@ extension ComprehendMedicalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehendmedical") .withSigningRegion(value: config.signingRegion) .build() @@ -592,6 +617,8 @@ extension ComprehendMedicalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehendmedical") .withSigningRegion(value: config.signingRegion) .build() @@ -666,6 +693,8 @@ extension ComprehendMedicalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehendmedical") .withSigningRegion(value: config.signingRegion) .build() @@ -743,6 +772,8 @@ extension ComprehendMedicalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehendmedical") .withSigningRegion(value: config.signingRegion) .build() @@ -819,6 +850,8 @@ extension ComprehendMedicalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehendmedical") .withSigningRegion(value: config.signingRegion) .build() @@ -895,6 +928,8 @@ extension ComprehendMedicalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehendmedical") .withSigningRegion(value: config.signingRegion) .build() @@ -971,6 +1006,8 @@ extension ComprehendMedicalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehendmedical") .withSigningRegion(value: config.signingRegion) .build() @@ -1047,6 +1084,8 @@ extension ComprehendMedicalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehendmedical") .withSigningRegion(value: config.signingRegion) .build() @@ -1123,6 +1162,8 @@ extension ComprehendMedicalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehendmedical") .withSigningRegion(value: config.signingRegion) .build() @@ -1197,6 +1238,8 @@ extension ComprehendMedicalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehendmedical") .withSigningRegion(value: config.signingRegion) .build() @@ -1271,6 +1314,8 @@ extension ComprehendMedicalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehendmedical") .withSigningRegion(value: config.signingRegion) .build() @@ -1345,6 +1390,8 @@ extension ComprehendMedicalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehendmedical") .withSigningRegion(value: config.signingRegion) .build() @@ -1419,6 +1466,8 @@ extension ComprehendMedicalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehendmedical") .withSigningRegion(value: config.signingRegion) .build() @@ -1493,6 +1542,8 @@ extension ComprehendMedicalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehendmedical") .withSigningRegion(value: config.signingRegion) .build() @@ -1567,6 +1618,8 @@ extension ComprehendMedicalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehendmedical") .withSigningRegion(value: config.signingRegion) .build() @@ -1642,6 +1695,8 @@ extension ComprehendMedicalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehendmedical") .withSigningRegion(value: config.signingRegion) .build() @@ -1717,6 +1772,8 @@ extension ComprehendMedicalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehendmedical") .withSigningRegion(value: config.signingRegion) .build() @@ -1792,6 +1849,8 @@ extension ComprehendMedicalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehendmedical") .withSigningRegion(value: config.signingRegion) .build() @@ -1867,6 +1926,8 @@ extension ComprehendMedicalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehendmedical") .withSigningRegion(value: config.signingRegion) .build() @@ -1941,6 +2002,8 @@ extension ComprehendMedicalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehendmedical") .withSigningRegion(value: config.signingRegion) .build() @@ -2014,6 +2077,8 @@ extension ComprehendMedicalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehendmedical") .withSigningRegion(value: config.signingRegion) .build() @@ -2087,6 +2152,8 @@ extension ComprehendMedicalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehendmedical") .withSigningRegion(value: config.signingRegion) .build() @@ -2160,6 +2227,8 @@ extension ComprehendMedicalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehendmedical") .withSigningRegion(value: config.signingRegion) .build() @@ -2234,6 +2303,8 @@ extension ComprehendMedicalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "comprehendmedical") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSComputeOptimizer/Package.swift.txt b/Sources/Services/AWSComputeOptimizer/Package.swift.txt index cc102657706..782a5b9d433 100644 --- a/Sources/Services/AWSComputeOptimizer/Package.swift.txt +++ b/Sources/Services/AWSComputeOptimizer/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSComputeOptimizer/Sources/AWSComputeOptimizer/ComputeOptimizerClient.swift b/Sources/Services/AWSComputeOptimizer/Sources/AWSComputeOptimizer/ComputeOptimizerClient.swift index 84898576357..a8365fde288 100644 --- a/Sources/Services/AWSComputeOptimizer/Sources/AWSComputeOptimizer/ComputeOptimizerClient.swift +++ b/Sources/Services/AWSComputeOptimizer/Sources/AWSComputeOptimizer/ComputeOptimizerClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ComputeOptimizerClient: ClientRuntime.Client { public static let clientName = "ComputeOptimizerClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ComputeOptimizerClient.ComputeOptimizerClientConfiguration let serviceName = "Compute Optimizer" @@ -94,6 +95,8 @@ extension ComputeOptimizerClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension ComputeOptimizerClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension ComputeOptimizerClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension ComputeOptimizerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension ComputeOptimizerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension ComputeOptimizerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension ComputeOptimizerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension ComputeOptimizerClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension ComputeOptimizerClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension ComputeOptimizerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "compute-optimizer") .withSigningRegion(value: config.signingRegion) .build() @@ -452,6 +473,8 @@ extension ComputeOptimizerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "compute-optimizer") .withSigningRegion(value: config.signingRegion) .build() @@ -530,6 +553,8 @@ extension ComputeOptimizerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "compute-optimizer") .withSigningRegion(value: config.signingRegion) .build() @@ -608,6 +633,8 @@ extension ComputeOptimizerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "compute-optimizer") .withSigningRegion(value: config.signingRegion) .build() @@ -686,6 +713,8 @@ extension ComputeOptimizerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "compute-optimizer") .withSigningRegion(value: config.signingRegion) .build() @@ -764,6 +793,8 @@ extension ComputeOptimizerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "compute-optimizer") .withSigningRegion(value: config.signingRegion) .build() @@ -842,6 +873,8 @@ extension ComputeOptimizerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "compute-optimizer") .withSigningRegion(value: config.signingRegion) .build() @@ -920,6 +953,8 @@ extension ComputeOptimizerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "compute-optimizer") .withSigningRegion(value: config.signingRegion) .build() @@ -998,6 +1033,8 @@ extension ComputeOptimizerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "compute-optimizer") .withSigningRegion(value: config.signingRegion) .build() @@ -1076,6 +1113,8 @@ extension ComputeOptimizerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "compute-optimizer") .withSigningRegion(value: config.signingRegion) .build() @@ -1154,6 +1193,8 @@ extension ComputeOptimizerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "compute-optimizer") .withSigningRegion(value: config.signingRegion) .build() @@ -1232,6 +1273,8 @@ extension ComputeOptimizerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "compute-optimizer") .withSigningRegion(value: config.signingRegion) .build() @@ -1310,6 +1353,8 @@ extension ComputeOptimizerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "compute-optimizer") .withSigningRegion(value: config.signingRegion) .build() @@ -1388,6 +1433,8 @@ extension ComputeOptimizerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "compute-optimizer") .withSigningRegion(value: config.signingRegion) .build() @@ -1466,6 +1513,8 @@ extension ComputeOptimizerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "compute-optimizer") .withSigningRegion(value: config.signingRegion) .build() @@ -1544,6 +1593,8 @@ extension ComputeOptimizerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "compute-optimizer") .withSigningRegion(value: config.signingRegion) .build() @@ -1622,6 +1673,8 @@ extension ComputeOptimizerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "compute-optimizer") .withSigningRegion(value: config.signingRegion) .build() @@ -1698,6 +1751,8 @@ extension ComputeOptimizerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "compute-optimizer") .withSigningRegion(value: config.signingRegion) .build() @@ -1774,6 +1829,8 @@ extension ComputeOptimizerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "compute-optimizer") .withSigningRegion(value: config.signingRegion) .build() @@ -1852,6 +1909,8 @@ extension ComputeOptimizerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "compute-optimizer") .withSigningRegion(value: config.signingRegion) .build() @@ -1930,6 +1989,8 @@ extension ComputeOptimizerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "compute-optimizer") .withSigningRegion(value: config.signingRegion) .build() @@ -2008,6 +2069,8 @@ extension ComputeOptimizerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "compute-optimizer") .withSigningRegion(value: config.signingRegion) .build() @@ -2086,6 +2149,8 @@ extension ComputeOptimizerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "compute-optimizer") .withSigningRegion(value: config.signingRegion) .build() @@ -2164,6 +2229,8 @@ extension ComputeOptimizerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "compute-optimizer") .withSigningRegion(value: config.signingRegion) .build() @@ -2242,6 +2309,8 @@ extension ComputeOptimizerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "compute-optimizer") .withSigningRegion(value: config.signingRegion) .build() @@ -2329,6 +2398,8 @@ extension ComputeOptimizerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "compute-optimizer") .withSigningRegion(value: config.signingRegion) .build() @@ -2407,6 +2478,8 @@ extension ComputeOptimizerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "compute-optimizer") .withSigningRegion(value: config.signingRegion) .build() @@ -2483,6 +2556,8 @@ extension ComputeOptimizerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "compute-optimizer") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSConfigService/Package.swift.txt b/Sources/Services/AWSConfigService/Package.swift.txt index f5f0badad78..766d0eb15c4 100644 --- a/Sources/Services/AWSConfigService/Package.swift.txt +++ b/Sources/Services/AWSConfigService/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSConfigService/Sources/AWSConfigService/ConfigClient.swift b/Sources/Services/AWSConfigService/Sources/AWSConfigService/ConfigClient.swift index 13f2e15ecac..ab369ecf60d 100644 --- a/Sources/Services/AWSConfigService/Sources/AWSConfigService/ConfigClient.swift +++ b/Sources/Services/AWSConfigService/Sources/AWSConfigService/ConfigClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ConfigClient: ClientRuntime.Client { public static let clientName = "ConfigClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ConfigClient.ConfigClientConfiguration let serviceName = "Config" @@ -94,6 +95,8 @@ extension ConfigClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension ConfigClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension ConfigClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension ConfigClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension ConfigClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension ConfigClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension ConfigClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension ConfigClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension ConfigClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -395,6 +414,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -493,6 +514,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -591,6 +614,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -662,6 +687,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -754,6 +781,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -825,6 +854,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -897,6 +928,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -983,6 +1016,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -1055,6 +1090,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -1141,6 +1178,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -1239,6 +1278,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -1337,6 +1378,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -1408,6 +1451,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -1499,6 +1544,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -1570,6 +1617,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -1664,6 +1713,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -1736,6 +1787,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -1835,6 +1888,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -1929,6 +1984,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -2008,6 +2065,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -2104,6 +2163,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -2200,6 +2261,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -2273,6 +2336,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -2352,6 +2417,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -2430,6 +2497,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -2503,6 +2572,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -2576,6 +2647,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -2650,6 +2723,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -2724,6 +2799,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -2818,6 +2895,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -2912,6 +2991,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -2987,6 +3068,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -3060,6 +3143,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -3134,6 +3219,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -3205,6 +3292,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -3276,6 +3365,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -3361,6 +3452,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -3446,6 +3539,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -3531,6 +3626,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -3616,6 +3713,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -3689,6 +3788,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -3755,6 +3856,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -3827,6 +3930,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -3900,6 +4005,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -3973,6 +4080,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -4072,6 +4181,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -4168,6 +4279,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -4264,6 +4377,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -4360,6 +4475,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -4456,6 +4573,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -4552,6 +4671,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -4625,6 +4746,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -4696,6 +4819,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -4762,6 +4887,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -4833,6 +4960,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -4908,6 +5037,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -4981,6 +5112,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -5052,6 +5185,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -5172,6 +5307,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -5257,6 +5394,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -5342,6 +5481,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -5425,6 +5566,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -5523,6 +5666,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -5594,6 +5739,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -5688,6 +5835,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -5784,6 +5933,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -5877,6 +6028,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -5950,6 +6103,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -6046,6 +6201,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -6119,6 +6276,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -6213,6 +6372,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -6309,6 +6470,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -6380,6 +6543,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -6486,6 +6651,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -6573,6 +6740,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -6686,6 +6855,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -6792,6 +6963,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -6870,6 +7043,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -6943,6 +7118,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -7015,6 +7192,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -7157,6 +7336,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -7299,6 +7480,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -7388,6 +7571,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -7477,6 +7662,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -7590,6 +7777,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -7662,6 +7851,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -7779,6 +7970,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -7874,6 +8067,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -7948,6 +8143,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -8021,6 +8218,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -8119,6 +8318,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -8192,6 +8393,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -8282,6 +8485,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -8354,6 +8559,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -8426,6 +8633,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -8521,6 +8730,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() @@ -8615,6 +8826,8 @@ extension ConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "config") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSConnect/Package.swift.txt b/Sources/Services/AWSConnect/Package.swift.txt index 884cfed96b3..4fee7376b55 100644 --- a/Sources/Services/AWSConnect/Package.swift.txt +++ b/Sources/Services/AWSConnect/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSConnect/Sources/AWSConnect/ConnectClient.swift b/Sources/Services/AWSConnect/Sources/AWSConnect/ConnectClient.swift index 5013a776fdb..e92a10d0be9 100644 --- a/Sources/Services/AWSConnect/Sources/AWSConnect/ConnectClient.swift +++ b/Sources/Services/AWSConnect/Sources/AWSConnect/ConnectClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ConnectClient: ClientRuntime.Client { public static let clientName = "ConnectClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ConnectClient.ConnectClientConfiguration let serviceName = "Connect" @@ -95,6 +96,8 @@ extension ConnectClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension ConnectClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension ConnectClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension ConnectClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension ConnectClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension ConnectClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension ConnectClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension ConnectClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension ConnectClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -522,6 +545,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -598,6 +623,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -672,6 +699,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -747,6 +776,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -822,6 +853,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -898,6 +931,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -974,6 +1009,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -1048,6 +1085,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -1123,6 +1162,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -1197,6 +1238,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -1273,6 +1316,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -1348,6 +1393,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -1422,6 +1469,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -1496,6 +1545,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -1570,6 +1621,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -1644,6 +1697,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -1720,6 +1775,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -1795,6 +1852,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -1871,6 +1930,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -1946,6 +2007,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -2020,6 +2083,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -2098,6 +2163,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -2176,6 +2243,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -2255,6 +2324,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -2332,6 +2403,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -2411,6 +2484,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -2486,6 +2561,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -2563,6 +2640,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -2639,6 +2718,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -2713,6 +2794,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -2787,6 +2870,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -2861,6 +2946,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -2937,6 +3024,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -3013,6 +3102,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -3088,6 +3179,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -3163,6 +3256,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -3246,6 +3341,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -3322,6 +3419,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -3398,6 +3497,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -3474,6 +3575,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -3551,6 +3654,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -3626,6 +3731,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -3704,6 +3811,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -3779,6 +3888,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -3855,6 +3966,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -3931,6 +4044,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -4009,6 +4124,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -4086,6 +4203,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -4162,6 +4281,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -4237,6 +4358,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -4311,6 +4434,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -4383,6 +4508,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -4455,6 +4582,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -4527,6 +4656,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -4600,6 +4731,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -4675,6 +4808,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -4747,6 +4882,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -4818,6 +4955,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -4887,6 +5026,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -4957,6 +5098,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -5029,6 +5172,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -5100,6 +5245,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -5171,6 +5318,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -5244,6 +5393,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -5321,6 +5472,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -5393,6 +5546,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -5464,6 +5619,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -5537,6 +5694,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -5608,6 +5767,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -5679,6 +5840,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -5749,6 +5912,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -5826,6 +5991,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -5898,6 +6065,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -5971,6 +6140,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -6044,6 +6215,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -6116,6 +6289,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -6187,6 +6362,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -6258,6 +6435,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -6329,6 +6508,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -6399,6 +6580,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -6471,6 +6654,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -6543,6 +6728,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -6615,6 +6802,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -6685,6 +6874,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -6757,6 +6948,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -6828,6 +7021,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -6897,6 +7092,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -6968,6 +7165,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -7039,6 +7238,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -7111,6 +7312,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -7182,6 +7385,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -7253,6 +7458,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -7324,6 +7531,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -7395,6 +7604,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -7466,6 +7677,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -7537,6 +7750,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -7608,6 +7823,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -7679,6 +7896,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -7750,6 +7969,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -7821,6 +8042,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -7892,6 +8115,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -7964,6 +8189,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -8035,6 +8262,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -8106,6 +8335,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -8180,6 +8411,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -8251,6 +8484,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -8326,6 +8561,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -8397,6 +8634,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -8469,6 +8708,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -8541,6 +8782,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -8613,6 +8856,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -8685,6 +8930,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -8759,6 +9006,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -8833,6 +9082,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -8905,6 +9156,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -8977,6 +9230,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -9052,6 +9307,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -9126,6 +9383,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -9196,6 +9455,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -9267,6 +9528,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -9341,6 +9604,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -9415,6 +9680,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -9488,6 +9755,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -9560,6 +9829,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -9631,6 +9902,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -9705,6 +9978,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -9779,6 +10054,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -9850,6 +10127,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -9922,6 +10201,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -9994,6 +10275,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -10069,6 +10352,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -10141,6 +10426,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -10213,6 +10500,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -10285,6 +10574,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -10357,6 +10648,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -10428,6 +10721,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -10499,6 +10794,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -10572,6 +10869,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -10645,6 +10944,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -10717,6 +11018,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -10789,6 +11092,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -10860,6 +11165,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -10933,6 +11240,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -11004,6 +11313,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -11077,6 +11388,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -11149,6 +11462,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -11221,6 +11536,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -11293,6 +11610,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -11365,6 +11684,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -11434,6 +11755,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -11505,6 +11828,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -11577,6 +11902,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -11649,6 +11976,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -11725,6 +12054,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -11801,6 +12132,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -11875,6 +12208,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -11947,6 +12282,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -12019,6 +12356,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -12091,6 +12430,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -12163,6 +12504,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -12236,6 +12579,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -12310,6 +12655,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -12382,6 +12729,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -12454,6 +12803,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -12526,6 +12877,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -12598,6 +12951,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -12670,6 +13025,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -12742,6 +13099,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -12814,6 +13173,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -12885,6 +13246,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -12957,6 +13320,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -13028,6 +13393,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -13099,6 +13466,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -13171,6 +13540,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -13243,6 +13614,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -13315,6 +13688,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -13388,6 +13763,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -13461,6 +13838,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -13535,6 +13914,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -13613,6 +13994,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -13688,6 +14071,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -13764,6 +14149,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -13840,6 +14227,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -13917,6 +14306,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -13989,6 +14380,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -14063,6 +14456,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -14136,6 +14531,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -14210,6 +14607,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -14284,6 +14683,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -14358,6 +14759,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -14433,6 +14836,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -14507,6 +14912,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -14581,6 +14988,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -14655,6 +15064,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -14729,6 +15140,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -14803,6 +15216,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -14877,6 +15292,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -14952,6 +15369,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -15026,6 +15445,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -15100,6 +15521,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -15174,6 +15597,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -15248,6 +15673,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -15321,6 +15748,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -15402,6 +15831,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -15478,6 +15909,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -15554,6 +15987,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -15641,6 +16076,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -15717,6 +16154,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -15798,6 +16237,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -15876,6 +16317,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -15953,6 +16396,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -16034,6 +16479,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -16111,6 +16558,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -16188,6 +16637,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -16264,6 +16715,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -16363,6 +16816,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -16438,6 +16893,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -16526,6 +16983,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -16598,6 +17057,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -16671,6 +17132,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -16745,6 +17208,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -16817,6 +17282,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -16891,6 +17358,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -16965,6 +17434,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -17051,6 +17522,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -17126,6 +17599,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -17198,6 +17673,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -17272,6 +17749,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -17346,6 +17825,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -17422,6 +17903,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -17495,6 +17978,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -17569,6 +18054,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -17644,6 +18131,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -17719,6 +18208,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -17794,6 +18285,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -17870,6 +18363,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -17945,6 +18440,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -18020,6 +18517,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -18095,6 +18594,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -18171,6 +18672,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -18246,6 +18749,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -18322,6 +18827,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -18398,6 +18905,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -18472,6 +18981,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -18546,6 +19057,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -18629,6 +19142,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -18715,6 +19230,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -18791,6 +19308,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -18869,6 +19388,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -18944,6 +19465,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -19018,6 +19541,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -19092,6 +19617,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -19166,6 +19693,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -19241,6 +19770,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -19321,6 +19852,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -19397,6 +19930,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -19471,6 +20006,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -19545,6 +20082,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -19619,6 +20158,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -19693,6 +20234,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -19767,6 +20310,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -19841,6 +20386,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -19916,6 +20463,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -19990,6 +20539,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -20065,6 +20616,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -20139,6 +20692,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -20214,6 +20769,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -20289,6 +20846,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -20363,6 +20922,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -20438,6 +20999,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -20513,6 +21076,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -20587,6 +21152,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -20661,6 +21228,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -20735,6 +21304,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -20809,6 +21380,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -20883,6 +21456,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -20959,6 +21534,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() @@ -21036,6 +21613,8 @@ extension ConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSConnectCampaigns/Package.swift.txt b/Sources/Services/AWSConnectCampaigns/Package.swift.txt index 272671b4d16..1b8346904a2 100644 --- a/Sources/Services/AWSConnectCampaigns/Package.swift.txt +++ b/Sources/Services/AWSConnectCampaigns/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSConnectCampaigns/Sources/AWSConnectCampaigns/ConnectCampaignsClient.swift b/Sources/Services/AWSConnectCampaigns/Sources/AWSConnectCampaigns/ConnectCampaignsClient.swift index 59eeab3695b..9dcf500f93d 100644 --- a/Sources/Services/AWSConnectCampaigns/Sources/AWSConnectCampaigns/ConnectCampaignsClient.swift +++ b/Sources/Services/AWSConnectCampaigns/Sources/AWSConnectCampaigns/ConnectCampaignsClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ConnectCampaignsClient: ClientRuntime.Client { public static let clientName = "ConnectCampaignsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ConnectCampaignsClient.ConnectCampaignsClientConfiguration let serviceName = "ConnectCampaigns" @@ -93,6 +94,8 @@ extension ConnectCampaignsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension ConnectCampaignsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension ConnectCampaignsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension ConnectCampaignsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension ConnectCampaignsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension ConnectCampaignsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension ConnectCampaignsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension ConnectCampaignsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension ConnectCampaignsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension ConnectCampaignsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -445,6 +466,8 @@ extension ConnectCampaignsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -517,6 +540,8 @@ extension ConnectCampaignsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -588,6 +613,8 @@ extension ConnectCampaignsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -658,6 +685,8 @@ extension ConnectCampaignsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -729,6 +758,8 @@ extension ConnectCampaignsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -799,6 +830,8 @@ extension ConnectCampaignsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -872,6 +905,8 @@ extension ConnectCampaignsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -942,6 +977,8 @@ extension ConnectCampaignsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -1011,6 +1048,8 @@ extension ConnectCampaignsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -1085,6 +1124,8 @@ extension ConnectCampaignsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -1158,6 +1199,8 @@ extension ConnectCampaignsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -1231,6 +1274,8 @@ extension ConnectCampaignsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -1307,6 +1352,8 @@ extension ConnectCampaignsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -1380,6 +1427,8 @@ extension ConnectCampaignsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -1452,6 +1501,8 @@ extension ConnectCampaignsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -1528,6 +1579,8 @@ extension ConnectCampaignsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -1599,6 +1652,8 @@ extension ConnectCampaignsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -1673,6 +1728,8 @@ extension ConnectCampaignsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -1745,6 +1802,8 @@ extension ConnectCampaignsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -1819,6 +1878,8 @@ extension ConnectCampaignsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -1894,6 +1955,8 @@ extension ConnectCampaignsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSConnectCampaignsV2/Package.swift.txt b/Sources/Services/AWSConnectCampaignsV2/Package.swift.txt index a7655943bce..11e525cb0ef 100644 --- a/Sources/Services/AWSConnectCampaignsV2/Package.swift.txt +++ b/Sources/Services/AWSConnectCampaignsV2/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/ConnectCampaignsV2Client.swift b/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/ConnectCampaignsV2Client.swift index a8b1ac6fe7e..359548d4e72 100644 --- a/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/ConnectCampaignsV2Client.swift +++ b/Sources/Services/AWSConnectCampaignsV2/Sources/AWSConnectCampaignsV2/ConnectCampaignsV2Client.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ConnectCampaignsV2Client: ClientRuntime.Client { public static let clientName = "ConnectCampaignsV2Client" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ConnectCampaignsV2Client.ConnectCampaignsV2ClientConfiguration let serviceName = "ConnectCampaignsV2" @@ -93,6 +94,8 @@ extension ConnectCampaignsV2Client { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension ConnectCampaignsV2Client { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension ConnectCampaignsV2Client { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension ConnectCampaignsV2Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension ConnectCampaignsV2Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension ConnectCampaignsV2Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension ConnectCampaignsV2Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension ConnectCampaignsV2Client { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension ConnectCampaignsV2Client { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension ConnectCampaignsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -445,6 +466,8 @@ extension ConnectCampaignsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -516,6 +539,8 @@ extension ConnectCampaignsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -589,6 +614,8 @@ extension ConnectCampaignsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -662,6 +689,8 @@ extension ConnectCampaignsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -735,6 +764,8 @@ extension ConnectCampaignsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -807,6 +838,8 @@ extension ConnectCampaignsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -881,6 +914,8 @@ extension ConnectCampaignsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -951,6 +986,8 @@ extension ConnectCampaignsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -1022,6 +1059,8 @@ extension ConnectCampaignsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -1092,6 +1131,8 @@ extension ConnectCampaignsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -1165,6 +1206,8 @@ extension ConnectCampaignsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -1235,6 +1278,8 @@ extension ConnectCampaignsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -1304,6 +1349,8 @@ extension ConnectCampaignsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -1378,6 +1425,8 @@ extension ConnectCampaignsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -1450,6 +1499,8 @@ extension ConnectCampaignsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -1523,6 +1574,8 @@ extension ConnectCampaignsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -1595,6 +1648,8 @@ extension ConnectCampaignsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -1671,6 +1726,8 @@ extension ConnectCampaignsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -1747,6 +1804,8 @@ extension ConnectCampaignsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -1823,6 +1882,8 @@ extension ConnectCampaignsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -1896,6 +1957,8 @@ extension ConnectCampaignsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -1968,6 +2031,8 @@ extension ConnectCampaignsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -2044,6 +2109,8 @@ extension ConnectCampaignsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -2115,6 +2182,8 @@ extension ConnectCampaignsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -2189,6 +2258,8 @@ extension ConnectCampaignsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -2261,6 +2332,8 @@ extension ConnectCampaignsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -2336,6 +2409,8 @@ extension ConnectCampaignsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -2411,6 +2486,8 @@ extension ConnectCampaignsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -2486,6 +2563,8 @@ extension ConnectCampaignsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -2560,6 +2639,8 @@ extension ConnectCampaignsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -2635,6 +2716,8 @@ extension ConnectCampaignsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() @@ -2710,6 +2793,8 @@ extension ConnectCampaignsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect-campaigns") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSConnectCases/Package.swift.txt b/Sources/Services/AWSConnectCases/Package.swift.txt index b063186a13d..9bddd568f6b 100644 --- a/Sources/Services/AWSConnectCases/Package.swift.txt +++ b/Sources/Services/AWSConnectCases/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSConnectCases/Sources/AWSConnectCases/ConnectCasesClient.swift b/Sources/Services/AWSConnectCases/Sources/AWSConnectCases/ConnectCasesClient.swift index 8ae8d81b8a4..65b8fe42998 100644 --- a/Sources/Services/AWSConnectCases/Sources/AWSConnectCases/ConnectCasesClient.swift +++ b/Sources/Services/AWSConnectCases/Sources/AWSConnectCases/ConnectCasesClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ConnectCasesClient: ClientRuntime.Client { public static let clientName = "ConnectCasesClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ConnectCasesClient.ConnectCasesClientConfiguration let serviceName = "ConnectCases" @@ -95,6 +96,8 @@ extension ConnectCasesClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension ConnectCasesClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension ConnectCasesClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension ConnectCasesClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension ConnectCasesClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension ConnectCasesClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension ConnectCasesClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension ConnectCasesClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension ConnectCasesClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension ConnectCasesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cases") .withSigningRegion(value: config.signingRegion) .build() @@ -447,6 +468,8 @@ extension ConnectCasesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cases") .withSigningRegion(value: config.signingRegion) .build() @@ -526,6 +549,8 @@ extension ConnectCasesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cases") .withSigningRegion(value: config.signingRegion) .build() @@ -602,6 +627,8 @@ extension ConnectCasesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cases") .withSigningRegion(value: config.signingRegion) .build() @@ -678,6 +705,8 @@ extension ConnectCasesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cases") .withSigningRegion(value: config.signingRegion) .build() @@ -761,6 +790,8 @@ extension ConnectCasesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cases") .withSigningRegion(value: config.signingRegion) .build() @@ -840,6 +871,8 @@ extension ConnectCasesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cases") .withSigningRegion(value: config.signingRegion) .build() @@ -916,6 +949,8 @@ extension ConnectCasesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cases") .withSigningRegion(value: config.signingRegion) .build() @@ -991,6 +1026,8 @@ extension ConnectCasesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cases") .withSigningRegion(value: config.signingRegion) .build() @@ -1088,6 +1125,8 @@ extension ConnectCasesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cases") .withSigningRegion(value: config.signingRegion) .build() @@ -1166,6 +1205,8 @@ extension ConnectCasesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cases") .withSigningRegion(value: config.signingRegion) .build() @@ -1246,6 +1287,8 @@ extension ConnectCasesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cases") .withSigningRegion(value: config.signingRegion) .build() @@ -1317,6 +1360,8 @@ extension ConnectCasesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cases") .withSigningRegion(value: config.signingRegion) .build() @@ -1391,6 +1436,8 @@ extension ConnectCasesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cases") .withSigningRegion(value: config.signingRegion) .build() @@ -1465,6 +1512,8 @@ extension ConnectCasesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cases") .withSigningRegion(value: config.signingRegion) .build() @@ -1536,6 +1585,8 @@ extension ConnectCasesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cases") .withSigningRegion(value: config.signingRegion) .build() @@ -1607,6 +1658,8 @@ extension ConnectCasesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cases") .withSigningRegion(value: config.signingRegion) .build() @@ -1678,6 +1731,8 @@ extension ConnectCasesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cases") .withSigningRegion(value: config.signingRegion) .build() @@ -1749,6 +1804,8 @@ extension ConnectCasesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cases") .withSigningRegion(value: config.signingRegion) .build() @@ -1822,6 +1879,8 @@ extension ConnectCasesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cases") .withSigningRegion(value: config.signingRegion) .build() @@ -1894,6 +1953,8 @@ extension ConnectCasesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cases") .withSigningRegion(value: config.signingRegion) .build() @@ -1966,6 +2027,8 @@ extension ConnectCasesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cases") .withSigningRegion(value: config.signingRegion) .build() @@ -2038,6 +2101,8 @@ extension ConnectCasesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cases") .withSigningRegion(value: config.signingRegion) .build() @@ -2110,6 +2175,8 @@ extension ConnectCasesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cases") .withSigningRegion(value: config.signingRegion) .build() @@ -2181,6 +2248,8 @@ extension ConnectCasesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cases") .withSigningRegion(value: config.signingRegion) .build() @@ -2253,6 +2322,8 @@ extension ConnectCasesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cases") .withSigningRegion(value: config.signingRegion) .build() @@ -2327,6 +2398,8 @@ extension ConnectCasesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cases") .withSigningRegion(value: config.signingRegion) .build() @@ -2401,6 +2474,8 @@ extension ConnectCasesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cases") .withSigningRegion(value: config.signingRegion) .build() @@ -2475,6 +2550,8 @@ extension ConnectCasesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cases") .withSigningRegion(value: config.signingRegion) .build() @@ -2549,6 +2626,8 @@ extension ConnectCasesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cases") .withSigningRegion(value: config.signingRegion) .build() @@ -2621,6 +2700,8 @@ extension ConnectCasesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cases") .withSigningRegion(value: config.signingRegion) .build() @@ -2696,6 +2777,8 @@ extension ConnectCasesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cases") .withSigningRegion(value: config.signingRegion) .build() @@ -2772,6 +2855,8 @@ extension ConnectCasesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cases") .withSigningRegion(value: config.signingRegion) .build() @@ -2847,6 +2932,8 @@ extension ConnectCasesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cases") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSConnectContactLens/Package.swift.txt b/Sources/Services/AWSConnectContactLens/Package.swift.txt index e537dd565e2..b33db60ce5b 100644 --- a/Sources/Services/AWSConnectContactLens/Package.swift.txt +++ b/Sources/Services/AWSConnectContactLens/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSConnectContactLens/Sources/AWSConnectContactLens/ConnectContactLensClient.swift b/Sources/Services/AWSConnectContactLens/Sources/AWSConnectContactLens/ConnectContactLensClient.swift index 9da5e0ad852..55ff28a2fb1 100644 --- a/Sources/Services/AWSConnectContactLens/Sources/AWSConnectContactLens/ConnectContactLensClient.swift +++ b/Sources/Services/AWSConnectContactLens/Sources/AWSConnectContactLens/ConnectContactLensClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -62,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ConnectContactLensClient: ClientRuntime.Client { public static let clientName = "ConnectContactLensClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ConnectContactLensClient.ConnectContactLensClientConfiguration let serviceName = "Connect Contact Lens" @@ -92,6 +93,8 @@ extension ConnectContactLensClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -117,6 +120,8 @@ extension ConnectContactLensClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -140,6 +145,8 @@ extension ConnectContactLensClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -166,6 +173,8 @@ extension ConnectContactLensClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -190,6 +199,8 @@ extension ConnectContactLensClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -216,6 +227,8 @@ extension ConnectContactLensClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -240,6 +253,8 @@ extension ConnectContactLensClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -267,6 +282,8 @@ extension ConnectContactLensClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -294,6 +311,8 @@ extension ConnectContactLensClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -369,6 +388,8 @@ extension ConnectContactLensClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "connect") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSConnectParticipant/Package.swift.txt b/Sources/Services/AWSConnectParticipant/Package.swift.txt index e11e0f8e845..f508fa0ba86 100644 --- a/Sources/Services/AWSConnectParticipant/Package.swift.txt +++ b/Sources/Services/AWSConnectParticipant/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSConnectParticipant/Sources/AWSConnectParticipant/ConnectParticipantClient.swift b/Sources/Services/AWSConnectParticipant/Sources/AWSConnectParticipant/ConnectParticipantClient.swift index 136a21689d9..56429e06143 100644 --- a/Sources/Services/AWSConnectParticipant/Sources/AWSConnectParticipant/ConnectParticipantClient.swift +++ b/Sources/Services/AWSConnectParticipant/Sources/AWSConnectParticipant/ConnectParticipantClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ConnectParticipantClient: ClientRuntime.Client { public static let clientName = "ConnectParticipantClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ConnectParticipantClient.ConnectParticipantClientConfiguration let serviceName = "ConnectParticipant" @@ -94,6 +95,8 @@ extension ConnectParticipantClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension ConnectParticipantClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension ConnectParticipantClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension ConnectParticipantClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension ConnectParticipantClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension ConnectParticipantClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension ConnectParticipantClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension ConnectParticipantClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension ConnectParticipantClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension ConnectParticipantClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "execute-api") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension ConnectParticipantClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "execute-api") .withSigningRegion(value: config.signingRegion) .build() @@ -521,6 +544,8 @@ extension ConnectParticipantClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "execute-api") .withSigningRegion(value: config.signingRegion) .build() @@ -596,6 +621,8 @@ extension ConnectParticipantClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "execute-api") .withSigningRegion(value: config.signingRegion) .build() @@ -667,6 +694,8 @@ extension ConnectParticipantClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "execute-api") .withSigningRegion(value: config.signingRegion) .build() @@ -742,6 +771,8 @@ extension ConnectParticipantClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "execute-api") .withSigningRegion(value: config.signingRegion) .build() @@ -820,6 +851,8 @@ extension ConnectParticipantClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "execute-api") .withSigningRegion(value: config.signingRegion) .build() @@ -907,6 +940,8 @@ extension ConnectParticipantClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "execute-api") .withSigningRegion(value: config.signingRegion) .build() @@ -982,6 +1017,8 @@ extension ConnectParticipantClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "execute-api") .withSigningRegion(value: config.signingRegion) .build() @@ -1057,6 +1094,8 @@ extension ConnectParticipantClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "execute-api") .withSigningRegion(value: config.signingRegion) .build() @@ -1133,6 +1172,8 @@ extension ConnectParticipantClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "execute-api") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSControlCatalog/Package.swift.txt b/Sources/Services/AWSControlCatalog/Package.swift.txt index a100b265ddf..c0d37c4a3e8 100644 --- a/Sources/Services/AWSControlCatalog/Package.swift.txt +++ b/Sources/Services/AWSControlCatalog/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSControlCatalog/Sources/AWSControlCatalog/ControlCatalogClient.swift b/Sources/Services/AWSControlCatalog/Sources/AWSControlCatalog/ControlCatalogClient.swift index 34e43611c38..edfcaad8e4d 100644 --- a/Sources/Services/AWSControlCatalog/Sources/AWSControlCatalog/ControlCatalogClient.swift +++ b/Sources/Services/AWSControlCatalog/Sources/AWSControlCatalog/ControlCatalogClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ControlCatalogClient: ClientRuntime.Client { public static let clientName = "ControlCatalogClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ControlCatalogClient.ControlCatalogClientConfiguration let serviceName = "ControlCatalog" @@ -93,6 +94,8 @@ extension ControlCatalogClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension ControlCatalogClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension ControlCatalogClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension ControlCatalogClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension ControlCatalogClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension ControlCatalogClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension ControlCatalogClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension ControlCatalogClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension ControlCatalogClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension ControlCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "controlcatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -443,6 +464,8 @@ extension ControlCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "controlcatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -517,6 +540,8 @@ extension ControlCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "controlcatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -588,6 +613,8 @@ extension ControlCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "controlcatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -659,6 +686,8 @@ extension ControlCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "controlcatalog") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSControlTower/Package.swift.txt b/Sources/Services/AWSControlTower/Package.swift.txt index 133777e6593..f6e03454225 100644 --- a/Sources/Services/AWSControlTower/Package.swift.txt +++ b/Sources/Services/AWSControlTower/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSControlTower/Sources/AWSControlTower/ControlTowerClient.swift b/Sources/Services/AWSControlTower/Sources/AWSControlTower/ControlTowerClient.swift index f64019ba154..3a9eb632bf4 100644 --- a/Sources/Services/AWSControlTower/Sources/AWSControlTower/ControlTowerClient.swift +++ b/Sources/Services/AWSControlTower/Sources/AWSControlTower/ControlTowerClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ControlTowerClient: ClientRuntime.Client { public static let clientName = "ControlTowerClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ControlTowerClient.ControlTowerClientConfiguration let serviceName = "ControlTower" @@ -94,6 +95,8 @@ extension ControlTowerClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension ControlTowerClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension ControlTowerClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension ControlTowerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension ControlTowerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension ControlTowerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension ControlTowerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension ControlTowerClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension ControlTowerClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension ControlTowerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "controltower") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension ControlTowerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "controltower") .withSigningRegion(value: config.signingRegion) .build() @@ -522,6 +545,8 @@ extension ControlTowerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "controltower") .withSigningRegion(value: config.signingRegion) .build() @@ -598,6 +623,8 @@ extension ControlTowerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "controltower") .withSigningRegion(value: config.signingRegion) .build() @@ -674,6 +701,8 @@ extension ControlTowerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "controltower") .withSigningRegion(value: config.signingRegion) .build() @@ -750,6 +779,8 @@ extension ControlTowerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "controltower") .withSigningRegion(value: config.signingRegion) .build() @@ -824,6 +855,8 @@ extension ControlTowerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "controltower") .withSigningRegion(value: config.signingRegion) .build() @@ -898,6 +931,8 @@ extension ControlTowerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "controltower") .withSigningRegion(value: config.signingRegion) .build() @@ -972,6 +1007,8 @@ extension ControlTowerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "controltower") .withSigningRegion(value: config.signingRegion) .build() @@ -1046,6 +1083,8 @@ extension ControlTowerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "controltower") .withSigningRegion(value: config.signingRegion) .build() @@ -1120,6 +1159,8 @@ extension ControlTowerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "controltower") .withSigningRegion(value: config.signingRegion) .build() @@ -1194,6 +1235,8 @@ extension ControlTowerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "controltower") .withSigningRegion(value: config.signingRegion) .build() @@ -1268,6 +1311,8 @@ extension ControlTowerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "controltower") .withSigningRegion(value: config.signingRegion) .build() @@ -1341,6 +1386,8 @@ extension ControlTowerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "controltower") .withSigningRegion(value: config.signingRegion) .build() @@ -1414,6 +1461,8 @@ extension ControlTowerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "controltower") .withSigningRegion(value: config.signingRegion) .build() @@ -1487,6 +1536,8 @@ extension ControlTowerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "controltower") .withSigningRegion(value: config.signingRegion) .build() @@ -1561,6 +1612,8 @@ extension ControlTowerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "controltower") .withSigningRegion(value: config.signingRegion) .build() @@ -1634,6 +1687,8 @@ extension ControlTowerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "controltower") .withSigningRegion(value: config.signingRegion) .build() @@ -1707,6 +1762,8 @@ extension ControlTowerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "controltower") .withSigningRegion(value: config.signingRegion) .build() @@ -1779,6 +1836,8 @@ extension ControlTowerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "controltower") .withSigningRegion(value: config.signingRegion) .build() @@ -1852,6 +1911,8 @@ extension ControlTowerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "controltower") .withSigningRegion(value: config.signingRegion) .build() @@ -1928,6 +1989,8 @@ extension ControlTowerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "controltower") .withSigningRegion(value: config.signingRegion) .build() @@ -2003,6 +2066,8 @@ extension ControlTowerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "controltower") .withSigningRegion(value: config.signingRegion) .build() @@ -2075,6 +2140,8 @@ extension ControlTowerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "controltower") .withSigningRegion(value: config.signingRegion) .build() @@ -2147,6 +2214,8 @@ extension ControlTowerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "controltower") .withSigningRegion(value: config.signingRegion) .build() @@ -2221,6 +2290,8 @@ extension ControlTowerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "controltower") .withSigningRegion(value: config.signingRegion) .build() @@ -2297,6 +2368,8 @@ extension ControlTowerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "controltower") .withSigningRegion(value: config.signingRegion) .build() @@ -2372,6 +2445,8 @@ extension ControlTowerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "controltower") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSCostExplorer/Package.swift.txt b/Sources/Services/AWSCostExplorer/Package.swift.txt index ec5dcdd4908..0d8fb44e86c 100644 --- a/Sources/Services/AWSCostExplorer/Package.swift.txt +++ b/Sources/Services/AWSCostExplorer/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSCostExplorer/Sources/AWSCostExplorer/CostExplorerClient.swift b/Sources/Services/AWSCostExplorer/Sources/AWSCostExplorer/CostExplorerClient.swift index 5aa6dae4fa4..12e1a32f7c8 100644 --- a/Sources/Services/AWSCostExplorer/Sources/AWSCostExplorer/CostExplorerClient.swift +++ b/Sources/Services/AWSCostExplorer/Sources/AWSCostExplorer/CostExplorerClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CostExplorerClient: ClientRuntime.Client { public static let clientName = "CostExplorerClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: CostExplorerClient.CostExplorerClientConfiguration let serviceName = "Cost Explorer" @@ -93,6 +94,8 @@ extension CostExplorerClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension CostExplorerClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension CostExplorerClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension CostExplorerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension CostExplorerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension CostExplorerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension CostExplorerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension CostExplorerClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension CostExplorerClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -366,6 +385,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -438,6 +459,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -510,6 +533,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -582,6 +607,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -654,6 +681,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -726,6 +755,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -798,6 +829,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -870,6 +903,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -943,6 +978,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -1016,6 +1053,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -1088,6 +1127,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -1161,6 +1202,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -1237,6 +1280,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -1313,6 +1358,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -1389,6 +1436,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -1462,6 +1511,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -1538,6 +1589,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -1638,6 +1691,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -1711,6 +1766,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -1784,6 +1841,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -1856,6 +1915,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -1928,6 +1989,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -2012,6 +2075,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -2084,6 +2149,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -2156,6 +2223,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -2229,6 +2298,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -2305,6 +2376,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -2379,6 +2452,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -2452,6 +2527,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -2524,6 +2601,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -2596,6 +2675,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -2667,6 +2748,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -2740,6 +2823,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -2812,6 +2897,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -2883,6 +2970,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -2957,6 +3046,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -3029,6 +3120,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -3103,6 +3196,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -3176,6 +3271,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -3248,6 +3345,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -3320,6 +3419,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -3393,6 +3494,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -3464,6 +3567,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() @@ -3537,6 +3642,8 @@ extension CostExplorerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ce") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSCostOptimizationHub/Package.swift.txt b/Sources/Services/AWSCostOptimizationHub/Package.swift.txt index 402c283a0af..2288c1f7afa 100644 --- a/Sources/Services/AWSCostOptimizationHub/Package.swift.txt +++ b/Sources/Services/AWSCostOptimizationHub/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSCostOptimizationHub/Sources/AWSCostOptimizationHub/CostOptimizationHubClient.swift b/Sources/Services/AWSCostOptimizationHub/Sources/AWSCostOptimizationHub/CostOptimizationHubClient.swift index 51db1054a44..8db7ff6b163 100644 --- a/Sources/Services/AWSCostOptimizationHub/Sources/AWSCostOptimizationHub/CostOptimizationHubClient.swift +++ b/Sources/Services/AWSCostOptimizationHub/Sources/AWSCostOptimizationHub/CostOptimizationHubClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CostOptimizationHubClient: ClientRuntime.Client { public static let clientName = "CostOptimizationHubClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: CostOptimizationHubClient.CostOptimizationHubClientConfiguration let serviceName = "Cost Optimization Hub" @@ -94,6 +95,8 @@ extension CostOptimizationHubClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension CostOptimizationHubClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension CostOptimizationHubClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension CostOptimizationHubClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension CostOptimizationHubClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension CostOptimizationHubClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension CostOptimizationHubClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension CostOptimizationHubClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension CostOptimizationHubClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension CostOptimizationHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cost-optimization-hub") .withSigningRegion(value: config.signingRegion) .build() @@ -445,6 +466,8 @@ extension CostOptimizationHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cost-optimization-hub") .withSigningRegion(value: config.signingRegion) .build() @@ -519,6 +542,8 @@ extension CostOptimizationHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cost-optimization-hub") .withSigningRegion(value: config.signingRegion) .build() @@ -593,6 +618,8 @@ extension CostOptimizationHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cost-optimization-hub") .withSigningRegion(value: config.signingRegion) .build() @@ -667,6 +694,8 @@ extension CostOptimizationHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cost-optimization-hub") .withSigningRegion(value: config.signingRegion) .build() @@ -741,6 +770,8 @@ extension CostOptimizationHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cost-optimization-hub") .withSigningRegion(value: config.signingRegion) .build() @@ -815,6 +846,8 @@ extension CostOptimizationHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cost-optimization-hub") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSCostandUsageReportService/Package.swift.txt b/Sources/Services/AWSCostandUsageReportService/Package.swift.txt index d79a33412ad..63db83bdbcd 100644 --- a/Sources/Services/AWSCostandUsageReportService/Package.swift.txt +++ b/Sources/Services/AWSCostandUsageReportService/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSCostandUsageReportService/Sources/AWSCostandUsageReportService/CostandUsageReportClient.swift b/Sources/Services/AWSCostandUsageReportService/Sources/AWSCostandUsageReportService/CostandUsageReportClient.swift index 36a6fabb039..c5f95d30299 100644 --- a/Sources/Services/AWSCostandUsageReportService/Sources/AWSCostandUsageReportService/CostandUsageReportClient.swift +++ b/Sources/Services/AWSCostandUsageReportService/Sources/AWSCostandUsageReportService/CostandUsageReportClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CostandUsageReportClient: ClientRuntime.Client { public static let clientName = "CostandUsageReportClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: CostandUsageReportClient.CostandUsageReportClientConfiguration let serviceName = "Cost and Usage Report" @@ -93,6 +94,8 @@ extension CostandUsageReportClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension CostandUsageReportClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension CostandUsageReportClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension CostandUsageReportClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension CostandUsageReportClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension CostandUsageReportClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension CostandUsageReportClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension CostandUsageReportClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension CostandUsageReportClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -367,6 +386,8 @@ extension CostandUsageReportClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cur") .withSigningRegion(value: config.signingRegion) .build() @@ -438,6 +459,8 @@ extension CostandUsageReportClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cur") .withSigningRegion(value: config.signingRegion) .build() @@ -511,6 +534,8 @@ extension CostandUsageReportClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cur") .withSigningRegion(value: config.signingRegion) .build() @@ -583,6 +608,8 @@ extension CostandUsageReportClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cur") .withSigningRegion(value: config.signingRegion) .build() @@ -658,6 +685,8 @@ extension CostandUsageReportClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cur") .withSigningRegion(value: config.signingRegion) .build() @@ -731,6 +760,8 @@ extension CostandUsageReportClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cur") .withSigningRegion(value: config.signingRegion) .build() @@ -804,6 +835,8 @@ extension CostandUsageReportClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cur") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSCustomerProfiles/Package.swift.txt b/Sources/Services/AWSCustomerProfiles/Package.swift.txt index 29ca13c4ad3..bb2d75f2675 100644 --- a/Sources/Services/AWSCustomerProfiles/Package.swift.txt +++ b/Sources/Services/AWSCustomerProfiles/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSCustomerProfiles/Sources/AWSCustomerProfiles/CustomerProfilesClient.swift b/Sources/Services/AWSCustomerProfiles/Sources/AWSCustomerProfiles/CustomerProfilesClient.swift index 4a36090e9fb..45146198d02 100644 --- a/Sources/Services/AWSCustomerProfiles/Sources/AWSCustomerProfiles/CustomerProfilesClient.swift +++ b/Sources/Services/AWSCustomerProfiles/Sources/AWSCustomerProfiles/CustomerProfilesClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class CustomerProfilesClient: ClientRuntime.Client { public static let clientName = "CustomerProfilesClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: CustomerProfilesClient.CustomerProfilesClientConfiguration let serviceName = "Customer Profiles" @@ -94,6 +95,8 @@ extension CustomerProfilesClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension CustomerProfilesClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension CustomerProfilesClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension CustomerProfilesClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension CustomerProfilesClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension CustomerProfilesClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension CustomerProfilesClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension CustomerProfilesClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension CustomerProfilesClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -445,6 +466,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -519,6 +542,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -593,6 +618,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -667,6 +694,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -741,6 +770,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -815,6 +846,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -889,6 +922,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -963,6 +998,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -1037,6 +1074,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -1111,6 +1150,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -1185,6 +1226,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -1259,6 +1302,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -1330,6 +1375,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -1401,6 +1448,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -1472,6 +1521,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -1543,6 +1594,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -1617,6 +1670,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -1691,6 +1746,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -1765,6 +1822,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -1839,6 +1898,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -1910,6 +1971,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -1981,6 +2044,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -2052,6 +2117,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -2126,6 +2193,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -2200,6 +2269,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -2271,6 +2342,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -2342,6 +2415,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -2413,6 +2488,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -2484,6 +2561,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -2555,6 +2634,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -2626,6 +2707,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -2719,6 +2802,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -2791,6 +2876,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -2862,6 +2949,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -2933,6 +3022,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -3004,6 +3095,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -3075,6 +3168,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -3149,6 +3244,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -3220,6 +3317,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -3295,6 +3394,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -3366,6 +3467,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -3438,6 +3541,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -3513,6 +3618,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -3585,6 +3692,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -3657,6 +3766,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -3729,6 +3840,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -3801,6 +3914,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -3873,6 +3988,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -3945,6 +4062,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -4017,6 +4136,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -4089,6 +4210,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -4160,6 +4283,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -4232,6 +4357,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -4304,6 +4431,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -4379,6 +4508,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -4451,6 +4582,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -4521,6 +4654,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -4592,6 +4727,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -4693,6 +4830,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -4767,6 +4906,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -4841,6 +4982,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -4915,6 +5058,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -4989,6 +5134,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -5062,6 +5209,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -5134,6 +5283,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -5206,6 +5357,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -5280,6 +5433,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -5354,6 +5509,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() @@ -5428,6 +5585,8 @@ extension CustomerProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "profile") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSDAX/Package.swift.txt b/Sources/Services/AWSDAX/Package.swift.txt index c90613b67c8..c2c6939951f 100644 --- a/Sources/Services/AWSDAX/Package.swift.txt +++ b/Sources/Services/AWSDAX/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSDAX/Sources/AWSDAX/DAXClient.swift b/Sources/Services/AWSDAX/Sources/AWSDAX/DAXClient.swift index 510d1cd4175..cc437f7fe4c 100644 --- a/Sources/Services/AWSDAX/Sources/AWSDAX/DAXClient.swift +++ b/Sources/Services/AWSDAX/Sources/AWSDAX/DAXClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DAXClient: ClientRuntime.Client { public static let clientName = "DAXClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: DAXClient.DAXClientConfiguration let serviceName = "DAX" @@ -94,6 +95,8 @@ extension DAXClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension DAXClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension DAXClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension DAXClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension DAXClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension DAXClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension DAXClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension DAXClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension DAXClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -381,6 +400,8 @@ extension DAXClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dax") .withSigningRegion(value: config.signingRegion) .build() @@ -457,6 +478,8 @@ extension DAXClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dax") .withSigningRegion(value: config.signingRegion) .build() @@ -532,6 +555,8 @@ extension DAXClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dax") .withSigningRegion(value: config.signingRegion) .build() @@ -608,6 +633,8 @@ extension DAXClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dax") .withSigningRegion(value: config.signingRegion) .build() @@ -683,6 +710,8 @@ extension DAXClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dax") .withSigningRegion(value: config.signingRegion) .build() @@ -758,6 +787,8 @@ extension DAXClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dax") .withSigningRegion(value: config.signingRegion) .build() @@ -831,6 +862,8 @@ extension DAXClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dax") .withSigningRegion(value: config.signingRegion) .build() @@ -905,6 +938,8 @@ extension DAXClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dax") .withSigningRegion(value: config.signingRegion) .build() @@ -978,6 +1013,8 @@ extension DAXClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dax") .withSigningRegion(value: config.signingRegion) .build() @@ -1051,6 +1088,8 @@ extension DAXClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dax") .withSigningRegion(value: config.signingRegion) .build() @@ -1125,6 +1164,8 @@ extension DAXClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dax") .withSigningRegion(value: config.signingRegion) .build() @@ -1199,6 +1240,8 @@ extension DAXClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dax") .withSigningRegion(value: config.signingRegion) .build() @@ -1271,6 +1314,8 @@ extension DAXClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dax") .withSigningRegion(value: config.signingRegion) .build() @@ -1350,6 +1395,8 @@ extension DAXClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dax") .withSigningRegion(value: config.signingRegion) .build() @@ -1426,6 +1473,8 @@ extension DAXClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dax") .withSigningRegion(value: config.signingRegion) .build() @@ -1502,6 +1551,8 @@ extension DAXClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dax") .withSigningRegion(value: config.signingRegion) .build() @@ -1579,6 +1630,8 @@ extension DAXClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dax") .withSigningRegion(value: config.signingRegion) .build() @@ -1656,6 +1709,8 @@ extension DAXClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dax") .withSigningRegion(value: config.signingRegion) .build() @@ -1733,6 +1788,8 @@ extension DAXClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dax") .withSigningRegion(value: config.signingRegion) .build() @@ -1808,6 +1865,8 @@ extension DAXClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dax") .withSigningRegion(value: config.signingRegion) .build() @@ -1883,6 +1942,8 @@ extension DAXClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dax") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSDLM/Package.swift.txt b/Sources/Services/AWSDLM/Package.swift.txt index 7f7fbe27ca2..86d9f2e940b 100644 --- a/Sources/Services/AWSDLM/Package.swift.txt +++ b/Sources/Services/AWSDLM/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSDLM/Sources/AWSDLM/DLMClient.swift b/Sources/Services/AWSDLM/Sources/AWSDLM/DLMClient.swift index 2adc0ed69bf..ae95f713a83 100644 --- a/Sources/Services/AWSDLM/Sources/AWSDLM/DLMClient.swift +++ b/Sources/Services/AWSDLM/Sources/AWSDLM/DLMClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DLMClient: ClientRuntime.Client { public static let clientName = "DLMClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: DLMClient.DLMClientConfiguration let serviceName = "DLM" @@ -93,6 +94,8 @@ extension DLMClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension DLMClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension DLMClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension DLMClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension DLMClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension DLMClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension DLMClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension DLMClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension DLMClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -381,6 +400,8 @@ extension DLMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dlm") .withSigningRegion(value: config.signingRegion) .build() @@ -453,6 +474,8 @@ extension DLMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dlm") .withSigningRegion(value: config.signingRegion) .build() @@ -523,6 +546,8 @@ extension DLMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dlm") .withSigningRegion(value: config.signingRegion) .build() @@ -593,6 +618,8 @@ extension DLMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dlm") .withSigningRegion(value: config.signingRegion) .build() @@ -662,6 +689,8 @@ extension DLMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dlm") .withSigningRegion(value: config.signingRegion) .build() @@ -731,6 +760,8 @@ extension DLMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dlm") .withSigningRegion(value: config.signingRegion) .build() @@ -803,6 +834,8 @@ extension DLMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dlm") .withSigningRegion(value: config.signingRegion) .build() @@ -874,6 +907,8 @@ extension DLMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dlm") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSDSQL/Package.swift.txt b/Sources/Services/AWSDSQL/Package.swift.txt index cb939aaf92f..8ab817e4aaf 100644 --- a/Sources/Services/AWSDSQL/Package.swift.txt +++ b/Sources/Services/AWSDSQL/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSDSQL/Sources/AWSDSQL/DSQLClient.swift b/Sources/Services/AWSDSQL/Sources/AWSDSQL/DSQLClient.swift index c519e0f3ae9..677cf278122 100644 --- a/Sources/Services/AWSDSQL/Sources/AWSDSQL/DSQLClient.swift +++ b/Sources/Services/AWSDSQL/Sources/AWSDSQL/DSQLClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DSQLClient: ClientRuntime.Client { public static let clientName = "DSQLClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: DSQLClient.DSQLClientConfiguration let serviceName = "DSQL" @@ -95,6 +96,8 @@ extension DSQLClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension DSQLClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension DSQLClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension DSQLClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension DSQLClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension DSQLClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension DSQLClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension DSQLClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension DSQLClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension DSQLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dsql") .withSigningRegion(value: config.signingRegion) .build() @@ -449,6 +470,8 @@ extension DSQLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dsql") .withSigningRegion(value: config.signingRegion) .build() @@ -525,6 +548,8 @@ extension DSQLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dsql") .withSigningRegion(value: config.signingRegion) .build() @@ -599,6 +624,8 @@ extension DSQLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dsql") .withSigningRegion(value: config.signingRegion) .build() @@ -672,6 +699,8 @@ extension DSQLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dsql") .withSigningRegion(value: config.signingRegion) .build() @@ -743,6 +772,8 @@ extension DSQLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dsql") .withSigningRegion(value: config.signingRegion) .build() @@ -815,6 +846,8 @@ extension DSQLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dsql") .withSigningRegion(value: config.signingRegion) .build() @@ -887,6 +920,8 @@ extension DSQLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dsql") .withSigningRegion(value: config.signingRegion) .build() @@ -961,6 +996,8 @@ extension DSQLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dsql") .withSigningRegion(value: config.signingRegion) .build() @@ -1034,6 +1071,8 @@ extension DSQLClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dsql") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSDataBrew/Package.swift.txt b/Sources/Services/AWSDataBrew/Package.swift.txt index 75be849555b..3e9898abb82 100644 --- a/Sources/Services/AWSDataBrew/Package.swift.txt +++ b/Sources/Services/AWSDataBrew/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSDataBrew/Sources/AWSDataBrew/DataBrewClient.swift b/Sources/Services/AWSDataBrew/Sources/AWSDataBrew/DataBrewClient.swift index 809677d8cef..1ba1fcac871 100644 --- a/Sources/Services/AWSDataBrew/Sources/AWSDataBrew/DataBrewClient.swift +++ b/Sources/Services/AWSDataBrew/Sources/AWSDataBrew/DataBrewClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DataBrewClient: ClientRuntime.Client { public static let clientName = "DataBrewClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: DataBrewClient.DataBrewClientConfiguration let serviceName = "DataBrew" @@ -94,6 +95,8 @@ extension DataBrewClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension DataBrewClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension DataBrewClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension DataBrewClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension DataBrewClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension DataBrewClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension DataBrewClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension DataBrewClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension DataBrewClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -393,6 +412,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -466,6 +487,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -540,6 +563,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -613,6 +638,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -685,6 +712,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -759,6 +788,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -831,6 +862,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -903,6 +936,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -975,6 +1010,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -1044,6 +1081,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -1113,6 +1152,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -1182,6 +1223,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -1251,6 +1294,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -1319,6 +1364,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -1387,6 +1434,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -1455,6 +1504,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -1523,6 +1574,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -1591,6 +1644,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -1659,6 +1714,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -1728,6 +1785,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -1796,6 +1855,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -1863,6 +1924,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -1932,6 +1995,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -2000,6 +2065,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -2068,6 +2135,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -2136,6 +2205,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -2204,6 +2275,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -2273,6 +2346,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -2341,6 +2416,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -2411,6 +2488,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -2480,6 +2559,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -2552,6 +2633,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -2625,6 +2708,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -2695,6 +2780,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -2766,6 +2853,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -2835,6 +2924,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -2907,6 +2998,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -2977,6 +3070,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -3049,6 +3144,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -3120,6 +3217,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -3191,6 +3290,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -3263,6 +3364,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -3334,6 +3437,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() @@ -3406,6 +3511,8 @@ extension DataBrewClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "databrew") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSDataExchange/Package.swift.txt b/Sources/Services/AWSDataExchange/Package.swift.txt index 988f6a2ec2f..31135d76ed5 100644 --- a/Sources/Services/AWSDataExchange/Package.swift.txt +++ b/Sources/Services/AWSDataExchange/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSDataExchange/Sources/AWSDataExchange/DataExchangeClient.swift b/Sources/Services/AWSDataExchange/Sources/AWSDataExchange/DataExchangeClient.swift index 1a9ff4df1ad..9e42c813e84 100644 --- a/Sources/Services/AWSDataExchange/Sources/AWSDataExchange/DataExchangeClient.swift +++ b/Sources/Services/AWSDataExchange/Sources/AWSDataExchange/DataExchangeClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -68,7 +69,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DataExchangeClient: ClientRuntime.Client { public static let clientName = "DataExchangeClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: DataExchangeClient.DataExchangeClientConfiguration let serviceName = "DataExchange" @@ -98,6 +99,8 @@ extension DataExchangeClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -123,6 +126,8 @@ extension DataExchangeClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -146,6 +151,8 @@ extension DataExchangeClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -172,6 +179,8 @@ extension DataExchangeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -196,6 +205,8 @@ extension DataExchangeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -222,6 +233,8 @@ extension DataExchangeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -246,6 +259,8 @@ extension DataExchangeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -273,6 +288,8 @@ extension DataExchangeClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -300,6 +317,8 @@ extension DataExchangeClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -376,6 +395,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -447,6 +468,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -519,6 +542,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -593,6 +618,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -667,6 +694,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -742,6 +771,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -816,6 +847,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -891,6 +924,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -962,6 +997,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -1034,6 +1071,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -1104,6 +1143,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -1176,6 +1217,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -1246,6 +1289,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -1317,6 +1362,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -1387,6 +1434,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -1457,6 +1506,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -1527,6 +1578,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -1598,6 +1651,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -1668,6 +1723,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -1739,6 +1796,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -1810,6 +1869,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -1881,6 +1942,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -1952,6 +2015,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -2023,6 +2088,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -2095,6 +2162,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -2166,6 +2235,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -2229,6 +2300,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -2301,6 +2374,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -2375,6 +2450,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -2452,6 +2529,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -2528,6 +2607,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -2590,6 +2671,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -2655,6 +2738,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -2728,6 +2813,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -2802,6 +2889,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -2876,6 +2965,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() @@ -2951,6 +3042,8 @@ extension DataExchangeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dataexchange") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSDataPipeline/Package.swift.txt b/Sources/Services/AWSDataPipeline/Package.swift.txt index 8f84841b295..29fe53d7426 100644 --- a/Sources/Services/AWSDataPipeline/Package.swift.txt +++ b/Sources/Services/AWSDataPipeline/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSDataPipeline/Sources/AWSDataPipeline/DataPipelineClient.swift b/Sources/Services/AWSDataPipeline/Sources/AWSDataPipeline/DataPipelineClient.swift index 22a8011b405..08c3fc2dbe1 100644 --- a/Sources/Services/AWSDataPipeline/Sources/AWSDataPipeline/DataPipelineClient.swift +++ b/Sources/Services/AWSDataPipeline/Sources/AWSDataPipeline/DataPipelineClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DataPipelineClient: ClientRuntime.Client { public static let clientName = "DataPipelineClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: DataPipelineClient.DataPipelineClientConfiguration let serviceName = "Data Pipeline" @@ -94,6 +95,8 @@ extension DataPipelineClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension DataPipelineClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension DataPipelineClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension DataPipelineClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension DataPipelineClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension DataPipelineClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension DataPipelineClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension DataPipelineClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension DataPipelineClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension DataPipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datapipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -444,6 +465,8 @@ extension DataPipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datapipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -516,6 +539,8 @@ extension DataPipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datapipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -590,6 +615,8 @@ extension DataPipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datapipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -663,6 +690,8 @@ extension DataPipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datapipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -737,6 +766,8 @@ extension DataPipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datapipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -811,6 +842,8 @@ extension DataPipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datapipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -886,6 +919,8 @@ extension DataPipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datapipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -960,6 +995,8 @@ extension DataPipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datapipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -1032,6 +1069,8 @@ extension DataPipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datapipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -1105,6 +1144,8 @@ extension DataPipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datapipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -1190,6 +1231,8 @@ extension DataPipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datapipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -1264,6 +1307,8 @@ extension DataPipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datapipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -1338,6 +1383,8 @@ extension DataPipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datapipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -1413,6 +1460,8 @@ extension DataPipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datapipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -1485,6 +1534,8 @@ extension DataPipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datapipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -1559,6 +1610,8 @@ extension DataPipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datapipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -1634,6 +1687,8 @@ extension DataPipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datapipeline") .withSigningRegion(value: config.signingRegion) .build() @@ -1708,6 +1763,8 @@ extension DataPipelineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datapipeline") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSDataSync/Package.swift.txt b/Sources/Services/AWSDataSync/Package.swift.txt index 7e4b04e572a..728b93fab9f 100644 --- a/Sources/Services/AWSDataSync/Package.swift.txt +++ b/Sources/Services/AWSDataSync/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSDataSync/Sources/AWSDataSync/DataSyncClient.swift b/Sources/Services/AWSDataSync/Sources/AWSDataSync/DataSyncClient.swift index 20ba39597ac..c643d1c5c54 100644 --- a/Sources/Services/AWSDataSync/Sources/AWSDataSync/DataSyncClient.swift +++ b/Sources/Services/AWSDataSync/Sources/AWSDataSync/DataSyncClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DataSyncClient: ClientRuntime.Client { public static let clientName = "DataSyncClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: DataSyncClient.DataSyncClientConfiguration let serviceName = "DataSync" @@ -95,6 +96,8 @@ extension DataSyncClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension DataSyncClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension DataSyncClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension DataSyncClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension DataSyncClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension DataSyncClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension DataSyncClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension DataSyncClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension DataSyncClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -369,6 +388,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -442,6 +463,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -514,6 +537,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -586,6 +611,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -658,6 +685,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -730,6 +759,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -802,6 +833,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -874,6 +907,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -946,6 +981,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -1018,6 +1055,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -1090,6 +1129,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -1162,6 +1203,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -1241,6 +1284,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -1313,6 +1358,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -1385,6 +1432,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -1457,6 +1506,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -1529,6 +1580,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -1601,6 +1654,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -1673,6 +1728,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -1745,6 +1802,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -1817,6 +1876,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -1889,6 +1950,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -1961,6 +2024,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -2033,6 +2098,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -2105,6 +2172,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -2177,6 +2246,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -2249,6 +2320,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -2321,6 +2394,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -2393,6 +2468,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -2465,6 +2542,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -2537,6 +2616,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -2609,6 +2690,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -2681,6 +2764,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -2753,6 +2838,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -2825,6 +2912,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -2897,6 +2986,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -2969,6 +3060,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -3041,6 +3134,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -3113,6 +3208,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -3185,6 +3282,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -3257,6 +3356,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -3329,6 +3430,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -3401,6 +3504,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -3473,6 +3578,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -3545,6 +3652,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -3617,6 +3726,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -3690,6 +3801,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -3762,6 +3875,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -3834,6 +3949,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -3906,6 +4023,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -3978,6 +4097,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -4050,6 +4171,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -4122,6 +4245,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -4194,6 +4319,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -4266,6 +4393,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -4338,6 +4467,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -4410,6 +4541,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -4482,6 +4615,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -4554,6 +4689,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -4626,6 +4763,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -4698,6 +4837,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -4774,6 +4915,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -4846,6 +4989,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -4918,6 +5063,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -4990,6 +5137,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() @@ -5062,6 +5211,8 @@ extension DataSyncClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datasync") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSDataZone/Package.swift.txt b/Sources/Services/AWSDataZone/Package.swift.txt index fbd72f40765..85bdff87029 100644 --- a/Sources/Services/AWSDataZone/Package.swift.txt +++ b/Sources/Services/AWSDataZone/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSDataZone/Sources/AWSDataZone/DataZoneClient.swift b/Sources/Services/AWSDataZone/Sources/AWSDataZone/DataZoneClient.swift index 4e353497842..b0a78cb1d06 100644 --- a/Sources/Services/AWSDataZone/Sources/AWSDataZone/DataZoneClient.swift +++ b/Sources/Services/AWSDataZone/Sources/AWSDataZone/DataZoneClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -68,7 +69,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DataZoneClient: ClientRuntime.Client { public static let clientName = "DataZoneClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: DataZoneClient.DataZoneClientConfiguration let serviceName = "DataZone" @@ -98,6 +99,8 @@ extension DataZoneClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -123,6 +126,8 @@ extension DataZoneClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -146,6 +151,8 @@ extension DataZoneClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -172,6 +179,8 @@ extension DataZoneClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -196,6 +205,8 @@ extension DataZoneClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -222,6 +233,8 @@ extension DataZoneClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -246,6 +259,8 @@ extension DataZoneClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -273,6 +288,8 @@ extension DataZoneClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -300,6 +317,8 @@ extension DataZoneClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -377,6 +396,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -455,6 +476,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -532,6 +555,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -609,6 +634,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -686,6 +713,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -759,6 +788,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -832,6 +863,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -906,6 +939,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -984,6 +1019,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -1061,6 +1098,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -1138,6 +1177,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -1215,6 +1256,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -1293,6 +1336,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -1370,6 +1415,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -1448,6 +1495,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -1526,6 +1575,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -1603,6 +1654,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -1680,6 +1733,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -1756,6 +1811,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -1833,6 +1890,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -1909,6 +1968,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -1985,6 +2046,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -2063,6 +2126,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -2139,6 +2204,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -2217,6 +2284,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -2295,6 +2364,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -2370,6 +2441,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -2447,6 +2520,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -2524,6 +2599,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -2601,6 +2678,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -2678,6 +2757,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -2755,6 +2836,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -2831,6 +2914,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -2908,6 +2993,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -2981,6 +3068,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -3054,6 +3143,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -3126,6 +3217,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -3199,6 +3292,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -3273,6 +3368,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -3348,6 +3445,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -3423,6 +3522,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -3495,6 +3596,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -3568,6 +3671,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -3639,6 +3744,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -3711,6 +3818,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -3784,6 +3893,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -3857,6 +3968,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -3930,6 +4043,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -4003,6 +4118,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -4075,6 +4192,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -4149,6 +4268,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -4224,6 +4345,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -4297,6 +4420,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -4370,6 +4495,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -4443,6 +4570,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -4516,6 +4645,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -4588,6 +4719,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -4663,6 +4796,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -4735,6 +4870,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -4808,6 +4945,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -4880,6 +5019,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -4953,6 +5094,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -5026,6 +5169,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -5101,6 +5246,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -5175,6 +5322,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -5248,6 +5397,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -5320,6 +5471,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -5392,6 +5545,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -5464,6 +5619,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -5536,6 +5693,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -5608,6 +5767,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -5680,6 +5841,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -5752,6 +5915,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -5824,6 +5989,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -5897,6 +6064,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -5969,6 +6138,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -6041,6 +6212,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -6114,6 +6287,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -6186,6 +6361,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -6258,6 +6435,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -6330,6 +6509,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -6403,6 +6584,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -6476,6 +6659,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -6548,6 +6733,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -6620,6 +6807,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -6692,6 +6881,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -6765,6 +6956,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -6837,6 +7030,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -6909,6 +7104,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -6981,6 +7178,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -7053,6 +7252,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -7126,6 +7327,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -7199,6 +7402,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -7272,6 +7477,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -7344,6 +7551,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -7417,6 +7626,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -7492,6 +7703,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -7567,6 +7780,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -7642,6 +7857,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -7714,6 +7931,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -7789,6 +8008,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -7861,6 +8082,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -7933,6 +8156,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -8006,6 +8231,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -8079,6 +8306,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -8151,6 +8380,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -8223,6 +8454,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -8296,6 +8529,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -8368,6 +8603,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -8441,6 +8678,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -8514,6 +8753,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -8587,6 +8828,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -8659,6 +8902,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -8732,6 +8977,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -8804,6 +9051,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -8876,6 +9125,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -8949,6 +9200,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -9022,6 +9275,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -9095,6 +9350,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -9168,6 +9425,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -9241,6 +9500,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -9314,6 +9575,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -9386,6 +9649,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -9461,6 +9726,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -9540,6 +9807,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -9617,6 +9886,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -9693,6 +9964,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -9771,6 +10044,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -9846,6 +10121,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -9921,6 +10198,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -9998,6 +10277,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -10072,6 +10353,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -10147,6 +10430,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -10221,6 +10506,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -10295,6 +10582,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -10370,6 +10659,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -10447,6 +10738,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -10525,6 +10818,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -10601,6 +10896,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -10675,6 +10972,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -10749,6 +11048,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -10826,6 +11127,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -10903,6 +11206,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -10980,6 +11285,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -11058,6 +11365,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -11134,6 +11443,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -11210,6 +11521,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -11287,6 +11600,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -11363,6 +11678,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -11440,6 +11757,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -11515,6 +11834,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -11592,6 +11913,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -11669,6 +11992,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -11746,6 +12071,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -11822,6 +12149,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -11898,6 +12227,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -11974,6 +12305,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() @@ -12049,6 +12382,8 @@ extension DataZoneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "datazone") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSDatabaseMigrationService/Package.swift.txt b/Sources/Services/AWSDatabaseMigrationService/Package.swift.txt index 78e67be90c0..781a66a827f 100644 --- a/Sources/Services/AWSDatabaseMigrationService/Package.swift.txt +++ b/Sources/Services/AWSDatabaseMigrationService/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSDatabaseMigrationService/Sources/AWSDatabaseMigrationService/DatabaseMigrationClient.swift b/Sources/Services/AWSDatabaseMigrationService/Sources/AWSDatabaseMigrationService/DatabaseMigrationClient.swift index 800cc461d77..10db98b5359 100644 --- a/Sources/Services/AWSDatabaseMigrationService/Sources/AWSDatabaseMigrationService/DatabaseMigrationClient.swift +++ b/Sources/Services/AWSDatabaseMigrationService/Sources/AWSDatabaseMigrationService/DatabaseMigrationClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DatabaseMigrationClient: ClientRuntime.Client { public static let clientName = "DatabaseMigrationClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: DatabaseMigrationClient.DatabaseMigrationClientConfiguration let serviceName = "Database Migration" @@ -94,6 +95,8 @@ extension DatabaseMigrationClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension DatabaseMigrationClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension DatabaseMigrationClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension DatabaseMigrationClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension DatabaseMigrationClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension DatabaseMigrationClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension DatabaseMigrationClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension DatabaseMigrationClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension DatabaseMigrationClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -368,6 +387,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -439,6 +460,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -512,6 +535,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -585,6 +610,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -660,6 +687,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -734,6 +763,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -811,6 +842,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -891,6 +924,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -966,6 +1001,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -1045,6 +1082,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -1122,6 +1161,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -1200,6 +1241,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -1280,6 +1323,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -1356,6 +1401,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -1432,6 +1479,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -1504,6 +1553,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -1577,6 +1628,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -1650,6 +1703,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -1724,6 +1779,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -1796,6 +1853,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -1869,6 +1928,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -1942,6 +2003,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -2015,6 +2078,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -2089,6 +2154,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -2163,6 +2230,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -2236,6 +2305,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -2308,6 +2379,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -2381,6 +2454,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -2453,6 +2528,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -2526,6 +2603,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -2592,6 +2671,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -2665,6 +2746,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -2736,6 +2819,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -2807,6 +2892,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -2878,6 +2965,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -2951,6 +3040,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -3024,6 +3115,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -3090,6 +3183,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -3156,6 +3251,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -3227,6 +3324,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -3293,6 +3392,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -3359,6 +3460,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -3430,6 +3533,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -3496,6 +3601,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -3562,6 +3669,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -3633,6 +3742,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -3704,6 +3815,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -3775,6 +3888,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -3846,6 +3961,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -3917,6 +4034,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -3990,6 +4109,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -4061,6 +4182,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -4132,6 +4255,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -4203,6 +4328,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -4274,6 +4401,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -4345,6 +4474,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -4418,6 +4549,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -4484,6 +4617,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -4555,6 +4690,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -4627,6 +4764,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -4699,6 +4838,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -4771,6 +4912,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -4842,6 +4985,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -4914,6 +5059,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -4985,6 +5132,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -5056,6 +5205,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -5128,6 +5279,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -5199,6 +5352,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -5270,6 +5425,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -5341,6 +5498,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -5412,6 +5571,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -5483,6 +5644,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -5555,6 +5718,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -5628,6 +5793,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -5699,6 +5866,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -5772,6 +5941,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -5844,6 +6015,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -5916,6 +6089,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -5989,6 +6164,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -6063,6 +6240,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -6138,6 +6317,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -6218,6 +6399,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -6295,6 +6478,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -6371,6 +6556,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -6447,6 +6634,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -6524,6 +6713,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -6600,6 +6791,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -6674,6 +6867,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -6749,6 +6944,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -6821,6 +7018,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -6895,6 +7094,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -6967,6 +7168,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -7039,6 +7242,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -7111,6 +7316,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -7183,6 +7390,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -7258,6 +7467,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -7336,6 +7547,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -7414,6 +7627,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -7492,6 +7707,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -7570,6 +7787,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -7648,6 +7867,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -7726,6 +7947,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -7799,6 +8022,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -7872,6 +8097,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -7945,6 +8172,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -8024,6 +8253,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -8106,6 +8337,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -8179,6 +8412,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -8252,6 +8487,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -8324,6 +8561,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -8399,6 +8638,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() @@ -8471,6 +8712,8 @@ extension DatabaseMigrationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dms") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSDeadline/Package.swift.txt b/Sources/Services/AWSDeadline/Package.swift.txt index 38544c978d9..93d449cdce3 100644 --- a/Sources/Services/AWSDeadline/Package.swift.txt +++ b/Sources/Services/AWSDeadline/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSDeadline/Sources/AWSDeadline/DeadlineClient.swift b/Sources/Services/AWSDeadline/Sources/AWSDeadline/DeadlineClient.swift index 8fd2086e2b4..a1b6f2ba1d7 100644 --- a/Sources/Services/AWSDeadline/Sources/AWSDeadline/DeadlineClient.swift +++ b/Sources/Services/AWSDeadline/Sources/AWSDeadline/DeadlineClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -67,7 +68,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DeadlineClient: ClientRuntime.Client { public static let clientName = "DeadlineClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: DeadlineClient.DeadlineClientConfiguration let serviceName = "deadline" @@ -97,6 +98,8 @@ extension DeadlineClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -122,6 +125,8 @@ extension DeadlineClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -145,6 +150,8 @@ extension DeadlineClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -171,6 +178,8 @@ extension DeadlineClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -195,6 +204,8 @@ extension DeadlineClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -221,6 +232,8 @@ extension DeadlineClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -245,6 +258,8 @@ extension DeadlineClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -272,6 +287,8 @@ extension DeadlineClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -299,6 +316,8 @@ extension DeadlineClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -375,6 +394,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -450,6 +471,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -525,6 +548,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -600,6 +625,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -674,6 +701,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -746,6 +775,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -817,6 +848,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -888,6 +921,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -960,6 +995,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -1032,6 +1069,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -1106,6 +1145,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -1181,6 +1222,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -1258,6 +1301,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -1335,6 +1380,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -1412,6 +1459,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -1489,6 +1538,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -1565,6 +1616,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -1642,6 +1695,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -1719,6 +1774,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -1795,6 +1852,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -1870,6 +1929,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -1947,6 +2008,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -2023,6 +2086,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -2094,6 +2159,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -2166,6 +2233,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -2240,6 +2309,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -2311,6 +2382,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -2382,6 +2455,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -2454,6 +2529,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -2524,6 +2601,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -2596,6 +2675,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -2666,6 +2747,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -2738,6 +2821,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -2809,6 +2894,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -2881,6 +2968,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -2952,6 +3041,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -3024,6 +3115,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -3095,6 +3188,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -3166,6 +3261,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -3237,6 +3334,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -3308,6 +3407,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -3379,6 +3480,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -3450,6 +3553,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -3521,6 +3626,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -3592,6 +3699,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -3663,6 +3772,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -3734,6 +3845,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -3805,6 +3918,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -3876,6 +3991,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -3948,6 +4065,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -4019,6 +4138,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -4090,6 +4211,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -4161,6 +4284,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -4232,6 +4357,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -4300,6 +4427,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -4372,6 +4501,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -4444,6 +4575,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -4515,6 +4648,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -4587,6 +4722,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -4659,6 +4796,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -4731,6 +4870,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -4803,6 +4944,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -4875,6 +5018,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -4947,6 +5092,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -5019,6 +5166,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -5090,6 +5239,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -5162,6 +5313,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -5233,6 +5386,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -5305,6 +5460,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -5377,6 +5534,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -5449,6 +5608,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -5521,6 +5682,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -5593,6 +5756,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -5665,6 +5830,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -5737,6 +5904,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -5809,6 +5978,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -5881,6 +6052,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -5953,6 +6126,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -6025,6 +6200,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -6096,6 +6273,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -6168,6 +6347,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -6240,6 +6421,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -6311,6 +6494,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -6385,6 +6570,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -6459,6 +6646,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -6533,6 +6722,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -6607,6 +6798,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -6682,6 +6875,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -6757,6 +6952,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -6829,6 +7026,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -6905,6 +7104,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -6980,6 +7181,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -7057,6 +7260,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -7133,6 +7338,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -7207,6 +7414,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -7283,6 +7492,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -7359,6 +7570,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -7434,6 +7647,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -7511,6 +7726,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -7587,6 +7804,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -7664,6 +7883,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -7741,6 +7962,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() @@ -7816,6 +8039,8 @@ extension DeadlineClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "deadline") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSDetective/Package.swift.txt b/Sources/Services/AWSDetective/Package.swift.txt index c3863e20b13..3506fbc97fb 100644 --- a/Sources/Services/AWSDetective/Package.swift.txt +++ b/Sources/Services/AWSDetective/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSDetective/Sources/AWSDetective/DetectiveClient.swift b/Sources/Services/AWSDetective/Sources/AWSDetective/DetectiveClient.swift index f602088d9e3..bf49f21891d 100644 --- a/Sources/Services/AWSDetective/Sources/AWSDetective/DetectiveClient.swift +++ b/Sources/Services/AWSDetective/Sources/AWSDetective/DetectiveClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DetectiveClient: ClientRuntime.Client { public static let clientName = "DetectiveClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: DetectiveClient.DetectiveClientConfiguration let serviceName = "Detective" @@ -94,6 +95,8 @@ extension DetectiveClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension DetectiveClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension DetectiveClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension DetectiveClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension DetectiveClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension DetectiveClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension DetectiveClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension DetectiveClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension DetectiveClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension DetectiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "detective") .withSigningRegion(value: config.signingRegion) .build() @@ -444,6 +465,8 @@ extension DetectiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "detective") .withSigningRegion(value: config.signingRegion) .build() @@ -517,6 +540,8 @@ extension DetectiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "detective") .withSigningRegion(value: config.signingRegion) .build() @@ -594,6 +619,8 @@ extension DetectiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "detective") .withSigningRegion(value: config.signingRegion) .build() @@ -676,6 +703,8 @@ extension DetectiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "detective") .withSigningRegion(value: config.signingRegion) .build() @@ -749,6 +778,8 @@ extension DetectiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "detective") .withSigningRegion(value: config.signingRegion) .build() @@ -823,6 +854,8 @@ extension DetectiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "detective") .withSigningRegion(value: config.signingRegion) .build() @@ -896,6 +929,8 @@ extension DetectiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "detective") .withSigningRegion(value: config.signingRegion) .build() @@ -969,6 +1004,8 @@ extension DetectiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "detective") .withSigningRegion(value: config.signingRegion) .build() @@ -1040,6 +1077,8 @@ extension DetectiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "detective") .withSigningRegion(value: config.signingRegion) .build() @@ -1113,6 +1152,8 @@ extension DetectiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "detective") .withSigningRegion(value: config.signingRegion) .build() @@ -1187,6 +1228,8 @@ extension DetectiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "detective") .withSigningRegion(value: config.signingRegion) .build() @@ -1260,6 +1303,8 @@ extension DetectiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "detective") .withSigningRegion(value: config.signingRegion) .build() @@ -1333,6 +1378,8 @@ extension DetectiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "detective") .withSigningRegion(value: config.signingRegion) .build() @@ -1405,6 +1452,8 @@ extension DetectiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "detective") .withSigningRegion(value: config.signingRegion) .build() @@ -1479,6 +1528,8 @@ extension DetectiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "detective") .withSigningRegion(value: config.signingRegion) .build() @@ -1553,6 +1604,8 @@ extension DetectiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "detective") .withSigningRegion(value: config.signingRegion) .build() @@ -1625,6 +1678,8 @@ extension DetectiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "detective") .withSigningRegion(value: config.signingRegion) .build() @@ -1698,6 +1753,8 @@ extension DetectiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "detective") .withSigningRegion(value: config.signingRegion) .build() @@ -1771,6 +1828,8 @@ extension DetectiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "detective") .withSigningRegion(value: config.signingRegion) .build() @@ -1844,6 +1903,8 @@ extension DetectiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "detective") .withSigningRegion(value: config.signingRegion) .build() @@ -1915,6 +1976,8 @@ extension DetectiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "detective") .withSigningRegion(value: config.signingRegion) .build() @@ -1989,6 +2052,8 @@ extension DetectiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "detective") .withSigningRegion(value: config.signingRegion) .build() @@ -2072,6 +2137,8 @@ extension DetectiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "detective") .withSigningRegion(value: config.signingRegion) .build() @@ -2145,6 +2212,8 @@ extension DetectiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "detective") .withSigningRegion(value: config.signingRegion) .build() @@ -2218,6 +2287,8 @@ extension DetectiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "detective") .withSigningRegion(value: config.signingRegion) .build() @@ -2294,6 +2365,8 @@ extension DetectiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "detective") .withSigningRegion(value: config.signingRegion) .build() @@ -2368,6 +2441,8 @@ extension DetectiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "detective") .withSigningRegion(value: config.signingRegion) .build() @@ -2441,6 +2516,8 @@ extension DetectiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "detective") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSDevOpsGuru/Package.swift.txt b/Sources/Services/AWSDevOpsGuru/Package.swift.txt index 3039bb951d6..4180435a434 100644 --- a/Sources/Services/AWSDevOpsGuru/Package.swift.txt +++ b/Sources/Services/AWSDevOpsGuru/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSDevOpsGuru/Sources/AWSDevOpsGuru/DevOpsGuruClient.swift b/Sources/Services/AWSDevOpsGuru/Sources/AWSDevOpsGuru/DevOpsGuruClient.swift index 887dee81c00..84ccf3b5d9d 100644 --- a/Sources/Services/AWSDevOpsGuru/Sources/AWSDevOpsGuru/DevOpsGuruClient.swift +++ b/Sources/Services/AWSDevOpsGuru/Sources/AWSDevOpsGuru/DevOpsGuruClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DevOpsGuruClient: ClientRuntime.Client { public static let clientName = "DevOpsGuruClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: DevOpsGuruClient.DevOpsGuruClientConfiguration let serviceName = "DevOps Guru" @@ -95,6 +96,8 @@ extension DevOpsGuruClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension DevOpsGuruClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension DevOpsGuruClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension DevOpsGuruClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension DevOpsGuruClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension DevOpsGuruClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension DevOpsGuruClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension DevOpsGuruClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension DevOpsGuruClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension DevOpsGuruClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devops-guru") .withSigningRegion(value: config.signingRegion) .build() @@ -449,6 +470,8 @@ extension DevOpsGuruClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devops-guru") .withSigningRegion(value: config.signingRegion) .build() @@ -519,6 +542,8 @@ extension DevOpsGuruClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devops-guru") .withSigningRegion(value: config.signingRegion) .build() @@ -589,6 +614,8 @@ extension DevOpsGuruClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devops-guru") .withSigningRegion(value: config.signingRegion) .build() @@ -663,6 +690,8 @@ extension DevOpsGuruClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devops-guru") .withSigningRegion(value: config.signingRegion) .build() @@ -734,6 +763,8 @@ extension DevOpsGuruClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devops-guru") .withSigningRegion(value: config.signingRegion) .build() @@ -805,6 +836,8 @@ extension DevOpsGuruClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devops-guru") .withSigningRegion(value: config.signingRegion) .build() @@ -879,6 +912,8 @@ extension DevOpsGuruClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devops-guru") .withSigningRegion(value: config.signingRegion) .build() @@ -950,6 +985,8 @@ extension DevOpsGuruClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devops-guru") .withSigningRegion(value: config.signingRegion) .build() @@ -1023,6 +1060,8 @@ extension DevOpsGuruClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devops-guru") .withSigningRegion(value: config.signingRegion) .build() @@ -1096,6 +1135,8 @@ extension DevOpsGuruClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devops-guru") .withSigningRegion(value: config.signingRegion) .build() @@ -1169,6 +1210,8 @@ extension DevOpsGuruClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devops-guru") .withSigningRegion(value: config.signingRegion) .build() @@ -1241,6 +1284,8 @@ extension DevOpsGuruClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devops-guru") .withSigningRegion(value: config.signingRegion) .build() @@ -1312,6 +1357,8 @@ extension DevOpsGuruClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devops-guru") .withSigningRegion(value: config.signingRegion) .build() @@ -1384,6 +1431,8 @@ extension DevOpsGuruClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devops-guru") .withSigningRegion(value: config.signingRegion) .build() @@ -1456,6 +1505,8 @@ extension DevOpsGuruClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devops-guru") .withSigningRegion(value: config.signingRegion) .build() @@ -1530,6 +1581,8 @@ extension DevOpsGuruClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devops-guru") .withSigningRegion(value: config.signingRegion) .build() @@ -1604,6 +1657,8 @@ extension DevOpsGuruClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devops-guru") .withSigningRegion(value: config.signingRegion) .build() @@ -1677,6 +1732,8 @@ extension DevOpsGuruClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devops-guru") .withSigningRegion(value: config.signingRegion) .build() @@ -1750,6 +1807,8 @@ extension DevOpsGuruClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devops-guru") .withSigningRegion(value: config.signingRegion) .build() @@ -1823,6 +1882,8 @@ extension DevOpsGuruClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devops-guru") .withSigningRegion(value: config.signingRegion) .build() @@ -1896,6 +1957,8 @@ extension DevOpsGuruClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devops-guru") .withSigningRegion(value: config.signingRegion) .build() @@ -1970,6 +2033,8 @@ extension DevOpsGuruClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devops-guru") .withSigningRegion(value: config.signingRegion) .build() @@ -2045,6 +2110,8 @@ extension DevOpsGuruClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devops-guru") .withSigningRegion(value: config.signingRegion) .build() @@ -2120,6 +2187,8 @@ extension DevOpsGuruClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devops-guru") .withSigningRegion(value: config.signingRegion) .build() @@ -2190,6 +2259,8 @@ extension DevOpsGuruClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devops-guru") .withSigningRegion(value: config.signingRegion) .build() @@ -2263,6 +2334,8 @@ extension DevOpsGuruClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devops-guru") .withSigningRegion(value: config.signingRegion) .build() @@ -2338,6 +2411,8 @@ extension DevOpsGuruClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devops-guru") .withSigningRegion(value: config.signingRegion) .build() @@ -2412,6 +2487,8 @@ extension DevOpsGuruClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devops-guru") .withSigningRegion(value: config.signingRegion) .build() @@ -2486,6 +2563,8 @@ extension DevOpsGuruClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devops-guru") .withSigningRegion(value: config.signingRegion) .build() @@ -2560,6 +2639,8 @@ extension DevOpsGuruClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devops-guru") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSDeviceFarm/Package.swift.txt b/Sources/Services/AWSDeviceFarm/Package.swift.txt index e013974af08..5e255530277 100644 --- a/Sources/Services/AWSDeviceFarm/Package.swift.txt +++ b/Sources/Services/AWSDeviceFarm/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSDeviceFarm/Sources/AWSDeviceFarm/DeviceFarmClient.swift b/Sources/Services/AWSDeviceFarm/Sources/AWSDeviceFarm/DeviceFarmClient.swift index 4019a4763bc..f1151d49ba9 100644 --- a/Sources/Services/AWSDeviceFarm/Sources/AWSDeviceFarm/DeviceFarmClient.swift +++ b/Sources/Services/AWSDeviceFarm/Sources/AWSDeviceFarm/DeviceFarmClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DeviceFarmClient: ClientRuntime.Client { public static let clientName = "DeviceFarmClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: DeviceFarmClient.DeviceFarmClientConfiguration let serviceName = "Device Farm" @@ -94,6 +95,8 @@ extension DeviceFarmClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension DeviceFarmClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension DeviceFarmClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension DeviceFarmClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension DeviceFarmClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension DeviceFarmClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension DeviceFarmClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension DeviceFarmClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension DeviceFarmClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -444,6 +465,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -518,6 +541,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -593,6 +618,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -667,6 +694,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -740,6 +769,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -813,6 +844,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -887,6 +920,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -960,6 +995,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -1034,6 +1071,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -1108,6 +1147,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -1182,6 +1223,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -1256,6 +1299,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -1330,6 +1375,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -1404,6 +1451,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -1478,6 +1527,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -1552,6 +1603,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -1626,6 +1679,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -1700,6 +1755,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -1774,6 +1831,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -1848,6 +1907,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -1922,6 +1983,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -1996,6 +2059,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -2070,6 +2135,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -2144,6 +2211,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -2218,6 +2287,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -2293,6 +2364,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -2367,6 +2440,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -2441,6 +2516,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -2515,6 +2592,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -2589,6 +2668,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -2663,6 +2744,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -2736,6 +2819,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -2813,6 +2898,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -2887,6 +2974,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -2960,6 +3049,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -3034,6 +3125,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -3108,6 +3201,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -3182,6 +3277,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -3256,6 +3353,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -3330,6 +3429,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -3404,6 +3505,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -3478,6 +3581,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -3552,6 +3657,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -3627,6 +3734,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -3702,6 +3811,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -3777,6 +3888,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -3851,6 +3964,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -3925,6 +4040,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -3999,6 +4116,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -4073,6 +4192,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -4147,6 +4268,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -4220,6 +4343,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -4292,6 +4417,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -4365,6 +4492,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -4438,6 +4567,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -4511,6 +4642,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -4585,6 +4718,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -4659,6 +4794,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -4733,6 +4870,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -4805,6 +4944,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -4880,6 +5021,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -4955,6 +5098,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -5030,6 +5175,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -5104,6 +5251,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -5178,6 +5327,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -5252,6 +5403,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -5327,6 +5480,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -5400,6 +5555,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -5474,6 +5631,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -5548,6 +5707,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -5622,6 +5783,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -5696,6 +5859,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -5770,6 +5935,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -5844,6 +6011,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -5918,6 +6087,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() @@ -5992,6 +6163,8 @@ extension DeviceFarmClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "devicefarm") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSDirectConnect/Package.swift.txt b/Sources/Services/AWSDirectConnect/Package.swift.txt index ff965db257d..67adcb171ef 100644 --- a/Sources/Services/AWSDirectConnect/Package.swift.txt +++ b/Sources/Services/AWSDirectConnect/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSDirectConnect/Sources/AWSDirectConnect/DirectConnectClient.swift b/Sources/Services/AWSDirectConnect/Sources/AWSDirectConnect/DirectConnectClient.swift index 512ec8eba3f..9645829b1e0 100644 --- a/Sources/Services/AWSDirectConnect/Sources/AWSDirectConnect/DirectConnectClient.swift +++ b/Sources/Services/AWSDirectConnect/Sources/AWSDirectConnect/DirectConnectClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DirectConnectClient: ClientRuntime.Client { public static let clientName = "DirectConnectClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: DirectConnectClient.DirectConnectClientConfiguration let serviceName = "Direct Connect" @@ -94,6 +95,8 @@ extension DirectConnectClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension DirectConnectClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension DirectConnectClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension DirectConnectClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension DirectConnectClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension DirectConnectClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension DirectConnectClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension DirectConnectClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension DirectConnectClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -368,6 +387,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -441,6 +462,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -515,6 +538,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -589,6 +614,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -663,6 +690,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -737,6 +766,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -809,6 +840,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -881,6 +914,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -953,6 +988,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1025,6 +1062,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1097,6 +1136,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1169,6 +1210,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1241,6 +1284,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1313,6 +1358,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1385,6 +1432,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1457,6 +1506,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1531,6 +1582,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1603,6 +1656,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1675,6 +1730,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1747,6 +1804,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1821,6 +1880,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1895,6 +1956,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1969,6 +2032,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -2043,6 +2108,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -2117,6 +2184,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -2189,6 +2258,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -2261,6 +2332,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -2333,6 +2406,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -2405,6 +2480,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -2477,6 +2554,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -2549,6 +2628,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -2621,6 +2702,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -2693,6 +2776,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -2766,6 +2851,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -2838,6 +2925,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -2911,6 +3000,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -2983,6 +3074,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -3055,6 +3148,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -3137,6 +3232,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -3209,6 +3306,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -3281,6 +3380,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -3353,6 +3454,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -3426,6 +3529,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -3498,6 +3603,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -3570,6 +3677,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -3642,6 +3751,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -3714,6 +3825,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -3786,6 +3899,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -3858,6 +3973,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -3930,6 +4047,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -4002,6 +4121,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -4074,6 +4195,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -4146,6 +4269,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -4218,6 +4343,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -4290,6 +4417,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -4362,6 +4491,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -4436,6 +4567,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -4508,6 +4641,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -4584,6 +4719,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -4656,6 +4793,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -4728,6 +4867,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -4811,6 +4952,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -4883,6 +5026,8 @@ extension DirectConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "directconnect") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSDirectoryService/Package.swift.txt b/Sources/Services/AWSDirectoryService/Package.swift.txt index 108526b99b6..67e88e07c42 100644 --- a/Sources/Services/AWSDirectoryService/Package.swift.txt +++ b/Sources/Services/AWSDirectoryService/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSDirectoryService/Sources/AWSDirectoryService/DirectoryClient.swift b/Sources/Services/AWSDirectoryService/Sources/AWSDirectoryService/DirectoryClient.swift index 228c9f49dec..444bc2a7648 100644 --- a/Sources/Services/AWSDirectoryService/Sources/AWSDirectoryService/DirectoryClient.swift +++ b/Sources/Services/AWSDirectoryService/Sources/AWSDirectoryService/DirectoryClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DirectoryClient: ClientRuntime.Client { public static let clientName = "DirectoryClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: DirectoryClient.DirectoryClientConfiguration let serviceName = "Directory" @@ -93,6 +94,8 @@ extension DirectoryClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension DirectoryClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension DirectoryClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension DirectoryClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension DirectoryClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension DirectoryClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension DirectoryClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension DirectoryClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension DirectoryClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -447,6 +468,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -527,6 +550,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -602,6 +627,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -675,6 +702,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -749,6 +778,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -824,6 +855,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -902,6 +935,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -979,6 +1014,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -1053,6 +1090,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -1129,6 +1168,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -1204,6 +1245,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -1279,6 +1322,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -1355,6 +1400,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -1431,6 +1478,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -1504,6 +1553,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -1578,6 +1629,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -1652,6 +1705,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -1727,6 +1782,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -1805,6 +1862,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -1879,6 +1938,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -1955,6 +2016,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -2031,6 +2094,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -2107,6 +2172,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -2182,6 +2249,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -2257,6 +2326,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -2333,6 +2404,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -2407,6 +2480,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -2483,6 +2558,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -2560,6 +2637,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -2636,6 +2715,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -2712,6 +2793,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -2787,6 +2870,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -2863,6 +2948,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -2939,6 +3026,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -3015,6 +3104,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -3092,6 +3183,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -3169,6 +3262,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -3242,6 +3337,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -3317,6 +3414,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -3394,6 +3493,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -3471,6 +3572,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -3549,6 +3652,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -3624,6 +3729,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -3699,6 +3806,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -3772,6 +3881,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -3845,6 +3956,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -3921,6 +4034,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -3996,6 +4111,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -4070,6 +4187,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -4144,6 +4263,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -4219,6 +4340,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -4298,6 +4421,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -4372,6 +4497,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -4447,6 +4574,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -4522,6 +4651,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -4598,6 +4729,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -4672,6 +4805,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -4753,6 +4888,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -4827,6 +4964,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -4907,6 +5046,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -4983,6 +5124,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -5058,6 +5201,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -5134,6 +5279,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -5213,6 +5360,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -5290,6 +5439,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -5364,6 +5515,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -5442,6 +5595,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -5516,6 +5671,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() @@ -5591,6 +5748,8 @@ extension DirectoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSDirectoryServiceData/Package.swift.txt b/Sources/Services/AWSDirectoryServiceData/Package.swift.txt index c402047ba78..f9aefe63598 100644 --- a/Sources/Services/AWSDirectoryServiceData/Package.swift.txt +++ b/Sources/Services/AWSDirectoryServiceData/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSDirectoryServiceData/Sources/AWSDirectoryServiceData/DirectoryServiceDataClient.swift b/Sources/Services/AWSDirectoryServiceData/Sources/AWSDirectoryServiceData/DirectoryServiceDataClient.swift index 39a40831f0d..7c6557e28cf 100644 --- a/Sources/Services/AWSDirectoryServiceData/Sources/AWSDirectoryServiceData/DirectoryServiceDataClient.swift +++ b/Sources/Services/AWSDirectoryServiceData/Sources/AWSDirectoryServiceData/DirectoryServiceDataClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DirectoryServiceDataClient: ClientRuntime.Client { public static let clientName = "DirectoryServiceDataClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: DirectoryServiceDataClient.DirectoryServiceDataClientConfiguration let serviceName = "Directory Service Data" @@ -94,6 +95,8 @@ extension DirectoryServiceDataClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension DirectoryServiceDataClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension DirectoryServiceDataClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension DirectoryServiceDataClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension DirectoryServiceDataClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension DirectoryServiceDataClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension DirectoryServiceDataClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension DirectoryServiceDataClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension DirectoryServiceDataClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension DirectoryServiceDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds-data") .withSigningRegion(value: config.signingRegion) .build() @@ -450,6 +471,8 @@ extension DirectoryServiceDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds-data") .withSigningRegion(value: config.signingRegion) .build() @@ -527,6 +550,8 @@ extension DirectoryServiceDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds-data") .withSigningRegion(value: config.signingRegion) .build() @@ -605,6 +630,8 @@ extension DirectoryServiceDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds-data") .withSigningRegion(value: config.signingRegion) .build() @@ -683,6 +710,8 @@ extension DirectoryServiceDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds-data") .withSigningRegion(value: config.signingRegion) .build() @@ -760,6 +789,8 @@ extension DirectoryServiceDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds-data") .withSigningRegion(value: config.signingRegion) .build() @@ -836,6 +867,8 @@ extension DirectoryServiceDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds-data") .withSigningRegion(value: config.signingRegion) .build() @@ -913,6 +946,8 @@ extension DirectoryServiceDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds-data") .withSigningRegion(value: config.signingRegion) .build() @@ -990,6 +1025,8 @@ extension DirectoryServiceDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds-data") .withSigningRegion(value: config.signingRegion) .build() @@ -1065,6 +1102,8 @@ extension DirectoryServiceDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds-data") .withSigningRegion(value: config.signingRegion) .build() @@ -1141,6 +1180,8 @@ extension DirectoryServiceDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds-data") .withSigningRegion(value: config.signingRegion) .build() @@ -1216,6 +1257,8 @@ extension DirectoryServiceDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds-data") .withSigningRegion(value: config.signingRegion) .build() @@ -1293,6 +1336,8 @@ extension DirectoryServiceDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds-data") .withSigningRegion(value: config.signingRegion) .build() @@ -1369,6 +1414,8 @@ extension DirectoryServiceDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds-data") .withSigningRegion(value: config.signingRegion) .build() @@ -1444,6 +1491,8 @@ extension DirectoryServiceDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds-data") .withSigningRegion(value: config.signingRegion) .build() @@ -1521,6 +1570,8 @@ extension DirectoryServiceDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds-data") .withSigningRegion(value: config.signingRegion) .build() @@ -1599,6 +1650,8 @@ extension DirectoryServiceDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ds-data") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSDocDB/Package.swift.txt b/Sources/Services/AWSDocDB/Package.swift.txt index be973e84c56..2e9982acaf9 100644 --- a/Sources/Services/AWSDocDB/Package.swift.txt +++ b/Sources/Services/AWSDocDB/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSDocDB/Sources/AWSDocDB/DocDBClient.swift b/Sources/Services/AWSDocDB/Sources/AWSDocDB/DocDBClient.swift index c748ed86be0..b97a4d77195 100644 --- a/Sources/Services/AWSDocDB/Sources/AWSDocDB/DocDBClient.swift +++ b/Sources/Services/AWSDocDB/Sources/AWSDocDB/DocDBClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPRequest import class SmithyHTTPAPI.HTTPResponse import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DocDBClient: ClientRuntime.Client { public static let clientName = "DocDBClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: DocDBClient.DocDBClientConfiguration let serviceName = "DocDB" @@ -93,6 +94,8 @@ extension DocDBClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension DocDBClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension DocDBClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension DocDBClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension DocDBClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension DocDBClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension DocDBClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension DocDBClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension DocDBClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -367,6 +386,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -439,6 +460,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -511,6 +534,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -583,6 +608,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -658,6 +685,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -744,6 +773,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -815,6 +846,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -889,6 +922,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -973,6 +1008,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1047,6 +1084,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1123,6 +1162,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1196,6 +1237,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1270,6 +1313,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1341,6 +1386,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1412,6 +1459,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1486,6 +1535,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1558,6 +1609,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1629,6 +1682,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1700,6 +1755,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1770,6 +1827,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1840,6 +1899,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1910,6 +1971,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1980,6 +2043,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2050,6 +2115,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2120,6 +2187,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2185,6 +2254,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2255,6 +2326,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2325,6 +2398,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2390,6 +2465,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2455,6 +2532,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2525,6 +2604,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2590,6 +2671,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2660,6 +2743,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2725,6 +2810,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2795,6 +2882,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2867,6 +2956,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2940,6 +3031,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3012,6 +3105,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3092,6 +3187,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3163,6 +3260,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3235,6 +3334,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3317,6 +3418,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3391,6 +3494,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3466,6 +3571,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3537,6 +3644,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3608,6 +3717,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3680,6 +3791,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3751,6 +3864,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3823,6 +3938,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3894,6 +4011,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3977,6 +4096,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -4061,6 +4182,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -4133,6 +4256,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -4205,6 +4330,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -4278,6 +4405,8 @@ extension DocDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSDocDBElastic/Package.swift.txt b/Sources/Services/AWSDocDBElastic/Package.swift.txt index c5704388fb7..3a359ef5e89 100644 --- a/Sources/Services/AWSDocDBElastic/Package.swift.txt +++ b/Sources/Services/AWSDocDBElastic/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSDocDBElastic/Sources/AWSDocDBElastic/DocDBElasticClient.swift b/Sources/Services/AWSDocDBElastic/Sources/AWSDocDBElastic/DocDBElasticClient.swift index 73ed99dc4dc..5d4a9485720 100644 --- a/Sources/Services/AWSDocDBElastic/Sources/AWSDocDBElastic/DocDBElasticClient.swift +++ b/Sources/Services/AWSDocDBElastic/Sources/AWSDocDBElastic/DocDBElasticClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DocDBElasticClient: ClientRuntime.Client { public static let clientName = "DocDBElasticClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: DocDBElasticClient.DocDBElasticClientConfiguration let serviceName = "DocDB Elastic" @@ -94,6 +95,8 @@ extension DocDBElasticClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension DocDBElasticClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension DocDBElasticClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension DocDBElasticClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension DocDBElasticClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension DocDBElasticClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension DocDBElasticClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension DocDBElasticClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension DocDBElasticClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension DocDBElasticClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "docdb-elastic") .withSigningRegion(value: config.signingRegion) .build() @@ -448,6 +469,8 @@ extension DocDBElasticClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "docdb-elastic") .withSigningRegion(value: config.signingRegion) .build() @@ -523,6 +546,8 @@ extension DocDBElasticClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "docdb-elastic") .withSigningRegion(value: config.signingRegion) .build() @@ -600,6 +625,8 @@ extension DocDBElasticClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "docdb-elastic") .withSigningRegion(value: config.signingRegion) .build() @@ -675,6 +702,8 @@ extension DocDBElasticClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "docdb-elastic") .withSigningRegion(value: config.signingRegion) .build() @@ -747,6 +776,8 @@ extension DocDBElasticClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "docdb-elastic") .withSigningRegion(value: config.signingRegion) .build() @@ -818,6 +849,8 @@ extension DocDBElasticClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "docdb-elastic") .withSigningRegion(value: config.signingRegion) .build() @@ -889,6 +922,8 @@ extension DocDBElasticClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "docdb-elastic") .withSigningRegion(value: config.signingRegion) .build() @@ -961,6 +996,8 @@ extension DocDBElasticClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "docdb-elastic") .withSigningRegion(value: config.signingRegion) .build() @@ -1031,6 +1068,8 @@ extension DocDBElasticClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "docdb-elastic") .withSigningRegion(value: config.signingRegion) .build() @@ -1102,6 +1141,8 @@ extension DocDBElasticClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "docdb-elastic") .withSigningRegion(value: config.signingRegion) .build() @@ -1173,6 +1214,8 @@ extension DocDBElasticClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "docdb-elastic") .withSigningRegion(value: config.signingRegion) .build() @@ -1244,6 +1287,8 @@ extension DocDBElasticClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "docdb-elastic") .withSigningRegion(value: config.signingRegion) .build() @@ -1317,6 +1362,8 @@ extension DocDBElasticClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "docdb-elastic") .withSigningRegion(value: config.signingRegion) .build() @@ -1391,6 +1438,8 @@ extension DocDBElasticClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "docdb-elastic") .withSigningRegion(value: config.signingRegion) .build() @@ -1462,6 +1511,8 @@ extension DocDBElasticClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "docdb-elastic") .withSigningRegion(value: config.signingRegion) .build() @@ -1532,6 +1583,8 @@ extension DocDBElasticClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "docdb-elastic") .withSigningRegion(value: config.signingRegion) .build() @@ -1605,6 +1658,8 @@ extension DocDBElasticClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "docdb-elastic") .withSigningRegion(value: config.signingRegion) .build() @@ -1678,6 +1733,8 @@ extension DocDBElasticClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "docdb-elastic") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSDrs/Package.swift.txt b/Sources/Services/AWSDrs/Package.swift.txt index 73d150dbae2..68355a88567 100644 --- a/Sources/Services/AWSDrs/Package.swift.txt +++ b/Sources/Services/AWSDrs/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSDrs/Sources/AWSDrs/DrsClient.swift b/Sources/Services/AWSDrs/Sources/AWSDrs/DrsClient.swift index 8e2cd6e565c..3e08d6b44fe 100644 --- a/Sources/Services/AWSDrs/Sources/AWSDrs/DrsClient.swift +++ b/Sources/Services/AWSDrs/Sources/AWSDrs/DrsClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DrsClient: ClientRuntime.Client { public static let clientName = "DrsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: DrsClient.DrsClientConfiguration let serviceName = "drs" @@ -93,6 +94,8 @@ extension DrsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension DrsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension DrsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension DrsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension DrsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension DrsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension DrsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension DrsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension DrsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -448,6 +469,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -523,6 +546,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -598,6 +623,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -674,6 +701,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -748,6 +777,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -822,6 +853,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -896,6 +929,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -970,6 +1005,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -1044,6 +1081,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -1118,6 +1157,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -1192,6 +1233,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -1265,6 +1308,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -1338,6 +1383,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -1412,6 +1459,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -1485,6 +1534,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -1559,6 +1610,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -1633,6 +1686,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -1706,6 +1761,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -1779,6 +1836,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -1854,6 +1913,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -1928,6 +1989,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -2003,6 +2066,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -2076,6 +2141,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -2149,6 +2216,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -2223,6 +2292,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -2296,6 +2367,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -2367,6 +2440,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -2441,6 +2516,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -2515,6 +2592,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -2587,6 +2666,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -2659,6 +2740,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -2734,6 +2817,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -2810,6 +2895,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -2885,6 +2972,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -2959,6 +3048,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -3033,6 +3124,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -3108,6 +3201,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -3182,6 +3277,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -3255,6 +3352,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -3329,6 +3428,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -3404,6 +3505,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -3478,6 +3581,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -3552,6 +3657,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -3626,6 +3733,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -3698,6 +3807,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -3773,6 +3884,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -3848,6 +3961,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -3924,6 +4039,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() @@ -3999,6 +4116,8 @@ extension DrsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "drs") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSDynamoDB/Package.swift.txt b/Sources/Services/AWSDynamoDB/Package.swift.txt index 44abe2f5728..680e2af83a6 100644 --- a/Sources/Services/AWSDynamoDB/Package.swift.txt +++ b/Sources/Services/AWSDynamoDB/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSDynamoDB/Sources/AWSDynamoDB/DynamoDBClient.swift b/Sources/Services/AWSDynamoDB/Sources/AWSDynamoDB/DynamoDBClient.swift index ef24cd10dc6..5b1fb5f8184 100644 --- a/Sources/Services/AWSDynamoDB/Sources/AWSDynamoDB/DynamoDBClient.swift +++ b/Sources/Services/AWSDynamoDB/Sources/AWSDynamoDB/DynamoDBClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DynamoDBClient: ClientRuntime.Client { public static let clientName = "DynamoDBClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: DynamoDBClient.DynamoDBClientConfiguration let serviceName = "DynamoDB" @@ -95,6 +96,8 @@ extension DynamoDBClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -122,6 +125,8 @@ extension DynamoDBClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -147,6 +152,8 @@ extension DynamoDBClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -175,6 +182,8 @@ extension DynamoDBClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -201,6 +210,8 @@ extension DynamoDBClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -229,6 +240,8 @@ extension DynamoDBClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -255,6 +268,8 @@ extension DynamoDBClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -284,6 +299,8 @@ extension DynamoDBClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -313,6 +330,8 @@ extension DynamoDBClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -387,6 +406,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -462,6 +483,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -554,6 +577,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -639,6 +664,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -739,6 +766,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -822,6 +851,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -897,6 +928,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -976,6 +1009,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -1061,6 +1096,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -1145,6 +1182,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -1218,6 +1257,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -1291,6 +1332,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -1363,6 +1406,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -1429,6 +1474,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -1502,6 +1549,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -1575,6 +1624,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -1648,6 +1699,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -1719,6 +1772,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -1792,6 +1847,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -1886,6 +1943,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -1959,6 +2018,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -2031,6 +2092,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -2104,6 +2167,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -2188,6 +2253,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -2272,6 +2339,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -2350,6 +2419,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -2580,6 +2651,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -2657,6 +2730,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -2733,6 +2808,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -2816,6 +2893,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -2898,6 +2977,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -2971,6 +3052,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -3043,6 +3126,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -3115,6 +3200,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -3187,6 +3274,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -3258,6 +3347,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -3330,6 +3421,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -3403,6 +3496,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -3482,6 +3577,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -3567,6 +3664,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -3642,6 +3741,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -3731,6 +3832,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -3834,6 +3937,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -3909,6 +4014,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -4000,6 +4107,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -4206,6 +4315,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -4460,6 +4571,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -4552,6 +4665,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -4626,6 +4741,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -4698,6 +4815,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -4780,6 +4899,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -4866,6 +4987,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -4945,6 +5068,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -5029,6 +5154,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -5122,6 +5249,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -5205,6 +5334,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -5289,6 +5420,8 @@ extension DynamoDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSDynamoDBStreams/Package.swift.txt b/Sources/Services/AWSDynamoDBStreams/Package.swift.txt index 4be0a7b95f7..01f47c55549 100644 --- a/Sources/Services/AWSDynamoDBStreams/Package.swift.txt +++ b/Sources/Services/AWSDynamoDBStreams/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSDynamoDBStreams/Sources/AWSDynamoDBStreams/DynamoDBStreamsClient.swift b/Sources/Services/AWSDynamoDBStreams/Sources/AWSDynamoDBStreams/DynamoDBStreamsClient.swift index 44157fadd6c..bdb2366c4c0 100644 --- a/Sources/Services/AWSDynamoDBStreams/Sources/AWSDynamoDBStreams/DynamoDBStreamsClient.swift +++ b/Sources/Services/AWSDynamoDBStreams/Sources/AWSDynamoDBStreams/DynamoDBStreamsClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class DynamoDBStreamsClient: ClientRuntime.Client { public static let clientName = "DynamoDBStreamsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: DynamoDBStreamsClient.DynamoDBStreamsClientConfiguration let serviceName = "DynamoDB Streams" @@ -93,6 +94,8 @@ extension DynamoDBStreamsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension DynamoDBStreamsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension DynamoDBStreamsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension DynamoDBStreamsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension DynamoDBStreamsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension DynamoDBStreamsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension DynamoDBStreamsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension DynamoDBStreamsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension DynamoDBStreamsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -367,6 +386,8 @@ extension DynamoDBStreamsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension DynamoDBStreamsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -523,6 +546,8 @@ extension DynamoDBStreamsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() @@ -595,6 +620,8 @@ extension DynamoDBStreamsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "dynamodb") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSEBS/Package.swift.txt b/Sources/Services/AWSEBS/Package.swift.txt index f6f22750f6f..a59fcb9c4ab 100644 --- a/Sources/Services/AWSEBS/Package.swift.txt +++ b/Sources/Services/AWSEBS/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSEBS/Sources/AWSEBS/EBSClient.swift b/Sources/Services/AWSEBS/Sources/AWSEBS/EBSClient.swift index 03dd697878f..227ae902694 100644 --- a/Sources/Services/AWSEBS/Sources/AWSEBS/EBSClient.swift +++ b/Sources/Services/AWSEBS/Sources/AWSEBS/EBSClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -69,7 +70,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EBSClient: ClientRuntime.Client { public static let clientName = "EBSClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: EBSClient.EBSClientConfiguration let serviceName = "EBS" @@ -99,6 +100,8 @@ extension EBSClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -124,6 +127,8 @@ extension EBSClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -147,6 +152,8 @@ extension EBSClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -173,6 +180,8 @@ extension EBSClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -197,6 +206,8 @@ extension EBSClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -223,6 +234,8 @@ extension EBSClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -247,6 +260,8 @@ extension EBSClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -274,6 +289,8 @@ extension EBSClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -301,6 +318,8 @@ extension EBSClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -377,6 +396,8 @@ extension EBSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ebs") .withSigningRegion(value: config.signingRegion) .build() @@ -450,6 +471,8 @@ extension EBSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ebs") .withSigningRegion(value: config.signingRegion) .build() @@ -523,6 +546,8 @@ extension EBSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ebs") .withSigningRegion(value: config.signingRegion) .build() @@ -596,6 +621,8 @@ extension EBSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ebs") .withSigningRegion(value: config.signingRegion) .build() @@ -669,6 +696,8 @@ extension EBSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ebs") .withSigningRegion(value: config.signingRegion) .build() @@ -747,6 +776,8 @@ extension EBSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ebs") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSEC2/Package.swift.txt b/Sources/Services/AWSEC2/Package.swift.txt index 0dd1fe741b1..e31248ed651 100644 --- a/Sources/Services/AWSEC2/Package.swift.txt +++ b/Sources/Services/AWSEC2/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSEC2/Sources/AWSEC2/EC2Client.swift b/Sources/Services/AWSEC2/Sources/AWSEC2/EC2Client.swift index 4a280b0d624..42a760b02f2 100644 --- a/Sources/Services/AWSEC2/Sources/AWSEC2/EC2Client.swift +++ b/Sources/Services/AWSEC2/Sources/AWSEC2/EC2Client.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPRequest import class SmithyHTTPAPI.HTTPResponse import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EC2Client: ClientRuntime.Client { public static let clientName = "EC2Client" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: EC2Client.EC2ClientConfiguration let serviceName = "EC2" @@ -94,6 +95,8 @@ extension EC2Client { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension EC2Client { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension EC2Client { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension EC2Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension EC2Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension EC2Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension EC2Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension EC2Client { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension EC2Client { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -362,6 +381,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -427,6 +448,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -492,6 +515,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -557,6 +582,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -622,6 +649,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -687,6 +716,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -752,6 +783,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -817,6 +850,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -882,6 +917,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -947,6 +984,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -1012,6 +1051,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -1077,6 +1118,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -1143,6 +1186,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -1208,6 +1253,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -1273,6 +1320,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -1338,6 +1387,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -1403,6 +1454,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -1468,6 +1521,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -1533,6 +1588,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -1599,6 +1656,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -1664,6 +1723,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -1729,6 +1790,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -1794,6 +1857,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -1859,6 +1924,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -1924,6 +1991,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -1990,6 +2059,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -2055,6 +2126,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -2130,6 +2203,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -2195,6 +2270,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -2260,6 +2337,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -2325,6 +2404,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -2390,6 +2471,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -2455,6 +2538,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -2521,6 +2606,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -2586,6 +2673,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -2651,6 +2740,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -2716,6 +2807,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -2781,6 +2874,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -2858,6 +2953,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -2923,6 +3020,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -2988,6 +3087,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -3054,6 +3155,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -3119,6 +3222,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -3184,6 +3289,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -3249,6 +3356,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -3321,6 +3430,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -3392,6 +3503,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -3457,6 +3570,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -3522,6 +3637,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -3587,6 +3704,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -3652,6 +3771,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -3717,6 +3838,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -3782,6 +3905,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -3849,6 +3974,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -3914,6 +4041,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -3979,6 +4108,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -4044,6 +4175,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -4109,6 +4242,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -4174,6 +4309,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -4243,6 +4380,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -4308,6 +4447,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -4374,6 +4515,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -4440,6 +4583,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -4506,6 +4651,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -4572,6 +4719,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -4638,6 +4787,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -4703,6 +4854,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -4768,6 +4921,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -4833,6 +4988,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -4898,6 +5055,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -4975,6 +5134,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -5040,6 +5201,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -5105,6 +5268,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -5170,6 +5335,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -5235,6 +5402,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -5300,6 +5469,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -5365,6 +5536,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -5438,6 +5611,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -5503,6 +5678,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -5568,6 +5745,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -5633,6 +5812,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -5699,6 +5880,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -5765,6 +5948,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -5831,6 +6016,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -5897,6 +6084,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -5963,6 +6152,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -6028,6 +6219,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -6093,6 +6286,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -6162,6 +6357,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -6227,6 +6424,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -6292,6 +6491,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -6357,6 +6558,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -6422,6 +6625,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -6488,6 +6693,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -6554,6 +6761,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -6620,6 +6829,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -6685,6 +6896,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -6751,6 +6964,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -6817,6 +7032,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -6883,6 +7100,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -6948,6 +7167,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -7013,6 +7234,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -7078,6 +7301,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -7144,6 +7369,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -7209,6 +7436,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -7281,6 +7510,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -7346,6 +7577,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -7412,6 +7645,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -7486,6 +7721,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -7557,6 +7794,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -7622,6 +7861,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -7687,6 +7928,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -7752,6 +7995,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -7817,6 +8062,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -7882,6 +8129,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -7947,6 +8196,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -8013,6 +8264,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -8079,6 +8332,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -8145,6 +8400,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -8211,6 +8468,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -8276,6 +8535,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -8341,6 +8602,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -8406,6 +8669,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -8471,6 +8736,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -8536,6 +8803,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -8601,6 +8870,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -8666,6 +8937,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -8731,6 +9004,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -8796,6 +9071,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -8861,6 +9138,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -8926,6 +9205,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -8992,6 +9273,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -9058,6 +9341,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -9124,6 +9409,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -9190,6 +9477,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -9256,6 +9545,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -9321,6 +9612,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -9386,6 +9679,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -9451,6 +9746,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -9523,6 +9820,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -9588,6 +9887,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -9653,6 +9954,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -9718,6 +10021,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -9783,6 +10088,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -9848,6 +10155,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -9913,6 +10222,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -9978,6 +10289,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -10043,6 +10356,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -10108,6 +10423,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -10173,6 +10490,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -10238,6 +10557,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -10303,6 +10624,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -10379,6 +10702,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -10444,6 +10769,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -10509,6 +10836,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -10574,6 +10903,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -10639,6 +10970,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -10704,6 +11037,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -10769,6 +11104,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -10834,6 +11171,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -10899,6 +11238,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -10964,6 +11305,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -11029,6 +11372,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -11094,6 +11439,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -11159,6 +11506,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -11224,6 +11573,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -11289,6 +11640,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -11354,6 +11707,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -11419,6 +11774,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -11484,6 +11841,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -11549,6 +11908,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -11614,6 +11975,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -11679,6 +12042,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -11744,6 +12109,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -11809,6 +12176,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -11874,6 +12243,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -11939,6 +12310,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -12004,6 +12377,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -12069,6 +12444,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -12134,6 +12511,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -12199,6 +12578,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -12264,6 +12645,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -12329,6 +12712,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -12394,6 +12779,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -12459,6 +12846,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -12524,6 +12913,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -12589,6 +12980,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -12654,6 +13047,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -12719,6 +13114,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -12784,6 +13181,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -12849,6 +13248,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -12914,6 +13315,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -12979,6 +13382,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -13044,6 +13449,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -13109,6 +13516,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -13174,6 +13583,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -13239,6 +13650,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -13304,6 +13717,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -13369,6 +13784,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -13434,6 +13851,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -13499,6 +13918,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -13564,6 +13985,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -13629,6 +14052,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -13694,6 +14119,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -13759,6 +14186,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -13824,6 +14253,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -13889,6 +14320,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -13955,6 +14388,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -14021,6 +14456,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -14087,6 +14524,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -14153,6 +14592,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -14218,6 +14659,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -14283,6 +14726,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -14348,6 +14793,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -14413,6 +14860,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -14478,6 +14927,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -14543,6 +14994,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -14608,6 +15061,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -14673,6 +15128,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -14738,6 +15195,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -14803,6 +15262,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -14868,6 +15329,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -14933,6 +15396,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -14998,6 +15463,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -15063,6 +15530,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -15128,6 +15597,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -15193,6 +15664,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -15258,6 +15731,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -15338,6 +15813,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -15403,6 +15880,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -15468,6 +15947,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -15533,6 +16014,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -15598,6 +16081,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -15663,6 +16148,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -15728,6 +16215,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -15793,6 +16282,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -15858,6 +16349,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -15923,6 +16416,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -15988,6 +16483,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -16057,6 +16554,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -16122,6 +16621,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -16187,6 +16688,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -16252,6 +16755,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -16317,6 +16822,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -16382,6 +16889,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -16447,6 +16956,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -16512,6 +17023,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -16577,6 +17090,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -16642,6 +17157,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -16707,6 +17224,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -16772,6 +17291,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -16837,6 +17358,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -16902,6 +17425,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -16967,6 +17492,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -17032,6 +17559,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -17097,6 +17626,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -17162,6 +17693,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -17227,6 +17760,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -17292,6 +17827,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -17357,6 +17894,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -17422,6 +17961,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -17487,6 +18028,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -17552,6 +18095,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -17617,6 +18162,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -17682,6 +18229,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -17747,6 +18296,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -17812,6 +18363,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -17877,6 +18430,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -17942,6 +18497,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -18007,6 +18564,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -18072,6 +18631,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -18137,6 +18698,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -18202,6 +18765,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -18267,6 +18832,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -18332,6 +18899,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -18397,6 +18966,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -18462,6 +19033,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -18527,6 +19100,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -18592,6 +19167,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -18657,6 +19234,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -18722,6 +19301,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -18787,6 +19368,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -18852,6 +19435,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -18926,6 +19511,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -19014,6 +19601,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -19079,6 +19668,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -19144,6 +19735,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -19209,6 +19802,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -19274,6 +19869,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -19339,6 +19936,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -19404,6 +20003,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -19469,6 +20070,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -19534,6 +20137,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -19599,6 +20204,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -19664,6 +20271,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -19729,6 +20338,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -19794,6 +20405,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -19859,6 +20472,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -19924,6 +20539,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -19989,6 +20606,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -20054,6 +20673,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -20119,6 +20740,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -20184,6 +20807,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -20249,6 +20874,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -20314,6 +20941,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -20379,6 +21008,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -20444,6 +21075,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -20509,6 +21142,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -20574,6 +21209,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -20639,6 +21276,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -20704,6 +21343,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -20769,6 +21410,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -20834,6 +21477,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -20899,6 +21544,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -20964,6 +21611,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -21029,6 +21678,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -21094,6 +21745,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -21159,6 +21812,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -21224,6 +21879,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -21289,6 +21946,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -21354,6 +22013,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -21419,6 +22080,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -21484,6 +22147,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -21549,6 +22214,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -21614,6 +22281,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -21679,6 +22348,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -21744,6 +22415,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -21809,6 +22482,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -21874,6 +22549,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -21939,6 +22616,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -22004,6 +22683,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -22069,6 +22750,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -22134,6 +22817,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -22199,6 +22884,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -22264,6 +22951,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -22329,6 +23018,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -22394,6 +23085,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -22459,6 +23152,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -22533,6 +23228,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -22598,6 +23295,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -22663,6 +23362,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -22728,6 +23429,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -22793,6 +23496,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -22858,6 +23563,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -22923,6 +23630,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -22988,6 +23697,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -23053,6 +23764,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -23118,6 +23831,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -23183,6 +23898,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -23248,6 +23965,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -23313,6 +24032,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -23378,6 +24099,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -23443,6 +24166,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -23508,6 +24233,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -23573,6 +24300,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -23638,6 +24367,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -23703,6 +24434,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -23768,6 +24501,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -23833,6 +24568,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -23898,6 +24635,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -23963,6 +24702,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -24028,6 +24769,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -24093,6 +24836,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -24158,6 +24903,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -24223,6 +24970,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -24288,6 +25037,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -24353,6 +25104,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -24418,6 +25171,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -24483,6 +25238,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -24548,6 +25305,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -24613,6 +25372,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -24678,6 +25439,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -24743,6 +25506,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -24808,6 +25573,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -24873,6 +25640,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -24938,6 +25707,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -25003,6 +25774,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -25068,6 +25841,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -25133,6 +25908,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -25198,6 +25975,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -25263,6 +26042,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -25328,6 +26109,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -25393,6 +26176,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -25458,6 +26243,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -25523,6 +26310,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -25588,6 +26377,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -25653,6 +26444,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -25718,6 +26511,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -25783,6 +26578,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -25848,6 +26645,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -25913,6 +26712,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -25978,6 +26779,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -26043,6 +26846,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -26109,6 +26914,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -26174,6 +26981,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -26239,6 +27048,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -26304,6 +27115,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -26369,6 +27182,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -26434,6 +27249,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -26499,6 +27316,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -26564,6 +27383,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -26629,6 +27450,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -26694,6 +27517,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -26759,6 +27584,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -26824,6 +27651,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -26889,6 +27718,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -26954,6 +27785,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -27019,6 +27852,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -27084,6 +27919,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -27149,6 +27986,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -27214,6 +28053,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -27279,6 +28120,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -27344,6 +28187,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -27409,6 +28254,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -27482,6 +28329,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -27547,6 +28396,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -27612,6 +28463,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -27677,6 +28530,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -27742,6 +28597,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -27807,6 +28664,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -27872,6 +28731,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -27937,6 +28798,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -28002,6 +28865,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -28067,6 +28932,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -28132,6 +28999,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -28197,6 +29066,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -28262,6 +29133,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -28327,6 +29200,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -28393,6 +29268,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -28458,6 +29335,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -28530,6 +29409,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -28595,6 +29476,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -28660,6 +29543,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -28725,6 +29610,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -28790,6 +29677,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -28855,6 +29744,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -28920,6 +29811,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -28985,6 +29878,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -29050,6 +29945,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -29115,6 +30012,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -29180,6 +30079,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -29245,6 +30146,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -29310,6 +30213,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -29375,6 +30280,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -29440,6 +30347,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -29505,6 +30414,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -29570,6 +30481,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -29635,6 +30548,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -29700,6 +30615,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -29765,6 +30682,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -29830,6 +30749,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -29896,6 +30817,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -29961,6 +30884,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -30026,6 +30951,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -30091,6 +31018,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -30156,6 +31085,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -30221,6 +31152,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -30286,6 +31219,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -30351,6 +31286,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -30416,6 +31353,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -30481,6 +31420,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -30546,6 +31487,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -30611,6 +31554,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -30676,6 +31621,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -30741,6 +31688,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -30817,6 +31766,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -30882,6 +31833,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -30947,6 +31900,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -31012,6 +31967,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -31077,6 +32034,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -31142,6 +32101,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -31207,6 +32168,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -31272,6 +32235,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -31337,6 +32302,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -31402,6 +32369,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -31467,6 +32436,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -31532,6 +32503,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -31597,6 +32570,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -31662,6 +32637,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -31727,6 +32704,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -31792,6 +32771,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -31857,6 +32838,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -31922,6 +32905,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -31987,6 +32972,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -32052,6 +33039,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -32117,6 +33106,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -32182,6 +33173,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -32247,6 +33240,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -32312,6 +33307,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -32377,6 +33374,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -32442,6 +33441,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -32507,6 +33508,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -32572,6 +33575,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -32637,6 +33642,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -32702,6 +33709,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -32767,6 +33776,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -32832,6 +33843,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -32897,6 +33910,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -32962,6 +33977,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -33027,6 +34044,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -33092,6 +34111,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -33157,6 +34178,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -33222,6 +34245,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -33287,6 +34312,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -33352,6 +34379,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -33417,6 +34446,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -33482,6 +34513,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -33547,6 +34580,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -33612,6 +34647,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -33677,6 +34714,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -33742,6 +34781,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -33807,6 +34848,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -33872,6 +34915,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -33943,6 +34988,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -34008,6 +35055,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -34073,6 +35122,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -34148,6 +35199,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -34213,6 +35266,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -34278,6 +35333,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -34343,6 +35400,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -34408,6 +35467,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -34473,6 +35534,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -34538,6 +35601,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -34603,6 +35668,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -34668,6 +35735,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -34733,6 +35802,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -34798,6 +35869,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -34863,6 +35936,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -34928,6 +36003,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -34993,6 +36070,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -35058,6 +36137,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -35123,6 +36204,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -35188,6 +36271,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -35253,6 +36338,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -35318,6 +36405,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -35383,6 +36472,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -35448,6 +36539,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -35524,6 +36617,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -35589,6 +36684,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -35654,6 +36751,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -35719,6 +36818,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -35784,6 +36885,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -35849,6 +36952,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -35914,6 +37019,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -35979,6 +37086,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -36044,6 +37153,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -36109,6 +37220,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -36174,6 +37287,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -36239,6 +37354,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -36304,6 +37421,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -36369,6 +37488,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -36434,6 +37555,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -36499,6 +37622,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -36575,6 +37700,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -36640,6 +37767,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -36705,6 +37834,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -36770,6 +37901,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -36835,6 +37968,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -36900,6 +38035,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -36965,6 +38102,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -37030,6 +38169,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -37096,6 +38237,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -37162,6 +38305,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -37228,6 +38373,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -37294,6 +38441,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -37360,6 +38509,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -37426,6 +38577,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -37492,6 +38645,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -37557,6 +38712,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -37622,6 +38779,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -37687,6 +38846,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -37752,6 +38913,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -37817,6 +38980,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -37882,6 +39047,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -37947,6 +39114,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -38012,6 +39181,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -38077,6 +39248,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -38142,6 +39315,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -38207,6 +39382,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -38283,6 +39460,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -38348,6 +39527,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -38413,6 +39594,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -38478,6 +39661,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -38543,6 +39728,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -38608,6 +39795,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -38673,6 +39862,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -38750,6 +39941,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -38816,6 +40009,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -38881,6 +40076,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -38946,6 +40143,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -39012,6 +40211,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -39077,6 +40278,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -39142,6 +40345,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -39207,6 +40412,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -39272,6 +40479,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -39337,6 +40546,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -39403,6 +40614,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -39468,6 +40681,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -39533,6 +40748,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -39598,6 +40815,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -39663,6 +40882,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -39728,6 +40949,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -39793,6 +41016,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -39858,6 +41083,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -39923,6 +41150,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -39988,6 +41217,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -40053,6 +41284,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -40118,6 +41351,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -40183,6 +41418,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -40248,6 +41485,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -40313,6 +41552,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -40378,6 +41619,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -40443,6 +41686,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -40508,6 +41753,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -40573,6 +41820,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -40638,6 +41887,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -40703,6 +41954,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -40768,6 +42021,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -40833,6 +42088,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -40898,6 +42155,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -40963,6 +42222,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -41028,6 +42289,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -41093,6 +42356,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -41158,6 +42423,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -41223,6 +42490,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -41288,6 +42557,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -41353,6 +42624,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -41418,6 +42691,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -41483,6 +42758,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -41548,6 +42825,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -41613,6 +42892,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -41678,6 +42959,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -41743,6 +43026,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -41808,6 +43093,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -41873,6 +43160,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -41938,6 +43227,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -42016,6 +43307,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -42082,6 +43375,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -42148,6 +43443,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -42213,6 +43510,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -42278,6 +43577,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -42343,6 +43644,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -42419,6 +43722,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -42484,6 +43789,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -42549,6 +43856,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -42615,6 +43924,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -42681,6 +43992,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -42746,6 +44059,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -42811,6 +44126,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -42901,6 +44218,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -42966,6 +44285,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -43031,6 +44352,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -43096,6 +44419,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -43161,6 +44486,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -43226,6 +44553,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -43291,6 +44620,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -43356,6 +44687,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() @@ -43421,6 +44754,8 @@ extension EC2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSEC2InstanceConnect/Package.swift.txt b/Sources/Services/AWSEC2InstanceConnect/Package.swift.txt index 5ceacc778d9..fc733e6c99b 100644 --- a/Sources/Services/AWSEC2InstanceConnect/Package.swift.txt +++ b/Sources/Services/AWSEC2InstanceConnect/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSEC2InstanceConnect/Sources/AWSEC2InstanceConnect/EC2InstanceConnectClient.swift b/Sources/Services/AWSEC2InstanceConnect/Sources/AWSEC2InstanceConnect/EC2InstanceConnectClient.swift index d501bf55fd9..30f1d9a6238 100644 --- a/Sources/Services/AWSEC2InstanceConnect/Sources/AWSEC2InstanceConnect/EC2InstanceConnectClient.swift +++ b/Sources/Services/AWSEC2InstanceConnect/Sources/AWSEC2InstanceConnect/EC2InstanceConnectClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EC2InstanceConnectClient: ClientRuntime.Client { public static let clientName = "EC2InstanceConnectClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: EC2InstanceConnectClient.EC2InstanceConnectClientConfiguration let serviceName = "EC2 Instance Connect" @@ -93,6 +94,8 @@ extension EC2InstanceConnectClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension EC2InstanceConnectClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension EC2InstanceConnectClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension EC2InstanceConnectClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension EC2InstanceConnectClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension EC2InstanceConnectClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension EC2InstanceConnectClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension EC2InstanceConnectClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension EC2InstanceConnectClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension EC2InstanceConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2-instance-connect") .withSigningRegion(value: config.signingRegion) .build() @@ -454,6 +475,8 @@ extension EC2InstanceConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ec2-instance-connect") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSECR/Package.swift.txt b/Sources/Services/AWSECR/Package.swift.txt index c9d1dc4ee64..fc9a3d4f556 100644 --- a/Sources/Services/AWSECR/Package.swift.txt +++ b/Sources/Services/AWSECR/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSECR/Sources/AWSECR/ECRClient.swift b/Sources/Services/AWSECR/Sources/AWSECR/ECRClient.swift index 76cc81172c8..3cdef523096 100644 --- a/Sources/Services/AWSECR/Sources/AWSECR/ECRClient.swift +++ b/Sources/Services/AWSECR/Sources/AWSECR/ECRClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ECRClient: ClientRuntime.Client { public static let clientName = "ECRClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ECRClient.ECRClientConfiguration let serviceName = "ECR" @@ -94,6 +95,8 @@ extension ECRClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension ECRClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension ECRClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension ECRClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension ECRClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension ECRClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension ECRClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension ECRClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension ECRClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -369,6 +388,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -442,6 +463,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -517,6 +540,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -591,6 +616,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -670,6 +697,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -749,6 +778,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -826,6 +857,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -901,6 +934,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -976,6 +1011,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -1050,6 +1087,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -1124,6 +1163,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -1199,6 +1240,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -1273,6 +1316,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -1347,6 +1392,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -1422,6 +1469,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -1498,6 +1547,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -1572,6 +1623,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -1646,6 +1699,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -1719,6 +1774,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -1792,6 +1849,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -1865,6 +1924,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -1938,6 +1999,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -2010,6 +2073,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -2086,6 +2151,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -2161,6 +2228,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -2236,6 +2305,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -2310,6 +2381,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -2383,6 +2456,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -2457,6 +2532,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -2531,6 +2608,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -2604,6 +2683,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -2677,6 +2758,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -2751,6 +2834,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -2831,6 +2916,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -2905,6 +2992,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -2978,6 +3067,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -3052,6 +3143,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -3125,6 +3218,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -3198,6 +3293,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -3271,6 +3368,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -3344,6 +3443,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -3421,6 +3522,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -3497,6 +3600,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -3572,6 +3677,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -3647,6 +3754,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -3724,6 +3833,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -3798,6 +3909,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -3875,6 +3988,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() @@ -3949,6 +4064,8 @@ extension ECRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSECRPUBLIC/Package.swift.txt b/Sources/Services/AWSECRPUBLIC/Package.swift.txt index cc22f49db64..e7763f353fc 100644 --- a/Sources/Services/AWSECRPUBLIC/Package.swift.txt +++ b/Sources/Services/AWSECRPUBLIC/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSECRPUBLIC/Sources/AWSECRPUBLIC/ECRPUBLICClient.swift b/Sources/Services/AWSECRPUBLIC/Sources/AWSECRPUBLIC/ECRPUBLICClient.swift index 1c8dcdca139..9c35332e233 100644 --- a/Sources/Services/AWSECRPUBLIC/Sources/AWSECRPUBLIC/ECRPUBLICClient.swift +++ b/Sources/Services/AWSECRPUBLIC/Sources/AWSECRPUBLIC/ECRPUBLICClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ECRPUBLICClient: ClientRuntime.Client { public static let clientName = "ECRPUBLICClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ECRPUBLICClient.ECRPUBLICClientConfiguration let serviceName = "ECR PUBLIC" @@ -94,6 +95,8 @@ extension ECRPUBLICClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension ECRPUBLICClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension ECRPUBLICClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension ECRPUBLICClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension ECRPUBLICClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension ECRPUBLICClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension ECRPUBLICClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension ECRPUBLICClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension ECRPUBLICClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension ECRPUBLICClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr-public") .withSigningRegion(value: config.signingRegion) .build() @@ -445,6 +466,8 @@ extension ECRPUBLICClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr-public") .withSigningRegion(value: config.signingRegion) .build() @@ -525,6 +548,8 @@ extension ECRPUBLICClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr-public") .withSigningRegion(value: config.signingRegion) .build() @@ -602,6 +627,8 @@ extension ECRPUBLICClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr-public") .withSigningRegion(value: config.signingRegion) .build() @@ -677,6 +704,8 @@ extension ECRPUBLICClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr-public") .withSigningRegion(value: config.signingRegion) .build() @@ -752,6 +781,8 @@ extension ECRPUBLICClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr-public") .withSigningRegion(value: config.signingRegion) .build() @@ -826,6 +857,8 @@ extension ECRPUBLICClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr-public") .withSigningRegion(value: config.signingRegion) .build() @@ -901,6 +934,8 @@ extension ECRPUBLICClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr-public") .withSigningRegion(value: config.signingRegion) .build() @@ -974,6 +1009,8 @@ extension ECRPUBLICClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr-public") .withSigningRegion(value: config.signingRegion) .build() @@ -1048,6 +1085,8 @@ extension ECRPUBLICClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr-public") .withSigningRegion(value: config.signingRegion) .build() @@ -1121,6 +1160,8 @@ extension ECRPUBLICClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr-public") .withSigningRegion(value: config.signingRegion) .build() @@ -1193,6 +1234,8 @@ extension ECRPUBLICClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr-public") .withSigningRegion(value: config.signingRegion) .build() @@ -1268,6 +1311,8 @@ extension ECRPUBLICClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr-public") .withSigningRegion(value: config.signingRegion) .build() @@ -1343,6 +1388,8 @@ extension ECRPUBLICClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr-public") .withSigningRegion(value: config.signingRegion) .build() @@ -1418,6 +1465,8 @@ extension ECRPUBLICClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr-public") .withSigningRegion(value: config.signingRegion) .build() @@ -1492,6 +1541,8 @@ extension ECRPUBLICClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr-public") .withSigningRegion(value: config.signingRegion) .build() @@ -1573,6 +1624,8 @@ extension ECRPUBLICClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr-public") .withSigningRegion(value: config.signingRegion) .build() @@ -1646,6 +1699,8 @@ extension ECRPUBLICClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr-public") .withSigningRegion(value: config.signingRegion) .build() @@ -1720,6 +1775,8 @@ extension ECRPUBLICClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr-public") .withSigningRegion(value: config.signingRegion) .build() @@ -1794,6 +1851,8 @@ extension ECRPUBLICClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr-public") .withSigningRegion(value: config.signingRegion) .build() @@ -1870,6 +1929,8 @@ extension ECRPUBLICClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr-public") .withSigningRegion(value: config.signingRegion) .build() @@ -1946,6 +2007,8 @@ extension ECRPUBLICClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr-public") .withSigningRegion(value: config.signingRegion) .build() @@ -2024,6 +2087,8 @@ extension ECRPUBLICClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecr-public") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSECS/Package.swift.txt b/Sources/Services/AWSECS/Package.swift.txt index 3cc2f876e71..bf368b83c87 100644 --- a/Sources/Services/AWSECS/Package.swift.txt +++ b/Sources/Services/AWSECS/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSECS/Sources/AWSECS/ECSClient.swift b/Sources/Services/AWSECS/Sources/AWSECS/ECSClient.swift index 05040bf05de..ad0f70c81af 100644 --- a/Sources/Services/AWSECS/Sources/AWSECS/ECSClient.swift +++ b/Sources/Services/AWSECS/Sources/AWSECS/ECSClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ECSClient: ClientRuntime.Client { public static let clientName = "ECSClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ECSClient.ECSClientConfiguration let serviceName = "ECS" @@ -95,6 +96,8 @@ extension ECSClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension ECSClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension ECSClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension ECSClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension ECSClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension ECSClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension ECSClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension ECSClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension ECSClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -450,6 +471,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -538,6 +561,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -621,6 +646,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -696,6 +723,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -769,6 +798,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -844,6 +875,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -924,6 +957,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -1001,6 +1036,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -1077,6 +1114,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -1158,6 +1197,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -1234,6 +1275,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -1309,6 +1352,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -1384,6 +1429,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -1459,6 +1506,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -1535,6 +1584,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -1614,6 +1665,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -1693,6 +1746,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -1769,6 +1824,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -1844,6 +1901,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -1924,6 +1983,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -2000,6 +2061,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -2074,6 +2137,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -2161,6 +2226,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -2240,6 +2307,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -2315,6 +2384,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -2387,6 +2458,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -2462,6 +2535,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -2538,6 +2613,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -2616,6 +2693,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -2692,6 +2771,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -2768,6 +2849,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -2844,6 +2927,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -2919,6 +3004,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -2994,6 +3081,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -3071,6 +3160,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -3146,6 +3237,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -3221,6 +3314,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -3295,6 +3390,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -3373,6 +3470,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -3448,6 +3547,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -3523,6 +3624,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -3613,6 +3716,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -3691,6 +3796,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -3767,6 +3874,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -3843,6 +3952,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -3918,6 +4029,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -3994,6 +4107,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -4071,6 +4186,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -4148,6 +4265,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -4223,6 +4342,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -4300,6 +4421,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -4376,6 +4499,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -4455,6 +4580,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -4538,6 +4665,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -4656,6 +4785,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -4737,6 +4868,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -4816,6 +4949,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() @@ -4897,6 +5032,8 @@ extension ECSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ecs") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSECS/Sources/AWSECS/Models.swift b/Sources/Services/AWSECS/Sources/AWSECS/Models.swift index e173ef2790f..36f96f5b032 100644 --- a/Sources/Services/AWSECS/Sources/AWSECS/Models.swift +++ b/Sources/Services/AWSECS/Sources/AWSECS/Models.swift @@ -4266,7 +4266,7 @@ extension ECSClientTypes { public var interactive: Swift.Bool? /// The links parameter allows containers to communicate with each other without the need for port mappings. This parameter is only supported if the network mode of a task definition is bridge. The name:internalName construct is analogous to name:alias in Docker links. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.. This parameter maps to Links in the docker container create command and the --link option to docker run. This parameter is not supported for Windows containers. Containers that are collocated on a single container instance may be able to communicate with each other without requiring links or host port mappings. Network isolation is achieved on the container instance using security groups and VPC settings. public var links: [Swift.String]? - /// Linux-specific modifications that are applied to the container, such as Linux kernel capabilities. For more information see [KernelCapabilities](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_KernelCapabilities.html). This parameter is not supported for Windows containers. + /// Linux-specific modifications that are applied to the default Docker container configuration, such as Linux kernel capabilities. For more information see [KernelCapabilities](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_KernelCapabilities.html). This parameter is not supported for Windows containers. public var linuxParameters: ECSClientTypes.LinuxParameters? /// The log configuration specification for the container. This parameter maps to LogConfig in the docker container create command and the --log-driver option to docker run. By default, containers use the same logging driver that the Docker daemon uses. However the container can use a different logging driver than the Docker daemon by specifying a log driver with this parameter in the container definition. To use a different logging driver for a container, the log system must be configured properly on the container instance (or on a different log server for remote logging options). Amazon ECS currently supports a subset of the logging drivers available to the Docker daemon (shown in the [LogConfiguration](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_LogConfiguration.html) data type). Additional log drivers may be available in future releases of the Amazon ECS container agent. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version --format '{{.Server.APIVersion}}' The Amazon ECS container agent running on a container instance must register the logging drivers available on that instance with the ECS_AVAILABLE_LOGGING_DRIVERS environment variable before containers placed on that instance can use these log configuration options. For more information, see [Amazon ECS Container Agent Configuration](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html) in the Amazon Elastic Container Service Developer Guide. public var logConfiguration: ECSClientTypes.LogConfiguration? diff --git a/Sources/Services/AWSEFS/Package.swift.txt b/Sources/Services/AWSEFS/Package.swift.txt index 5e1d6378b76..332dd98991c 100644 --- a/Sources/Services/AWSEFS/Package.swift.txt +++ b/Sources/Services/AWSEFS/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSEFS/Sources/AWSEFS/EFSClient.swift b/Sources/Services/AWSEFS/Sources/AWSEFS/EFSClient.swift index e94a16d2fb8..e14d627a6f0 100644 --- a/Sources/Services/AWSEFS/Sources/AWSEFS/EFSClient.swift +++ b/Sources/Services/AWSEFS/Sources/AWSEFS/EFSClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EFSClient: ClientRuntime.Client { public static let clientName = "EFSClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: EFSClient.EFSClientConfiguration let serviceName = "EFS" @@ -95,6 +96,8 @@ extension EFSClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension EFSClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension EFSClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension EFSClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension EFSClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension EFSClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension EFSClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension EFSClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension EFSClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension EFSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticfilesystem") .withSigningRegion(value: config.signingRegion) .build() @@ -458,6 +479,8 @@ extension EFSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticfilesystem") .withSigningRegion(value: config.signingRegion) .build() @@ -593,6 +616,8 @@ extension EFSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticfilesystem") .withSigningRegion(value: config.signingRegion) .build() @@ -680,6 +705,8 @@ extension EFSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticfilesystem") .withSigningRegion(value: config.signingRegion) .build() @@ -753,6 +780,8 @@ extension EFSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticfilesystem") .withSigningRegion(value: config.signingRegion) .build() @@ -825,6 +854,8 @@ extension EFSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticfilesystem") .withSigningRegion(value: config.signingRegion) .build() @@ -895,6 +926,8 @@ extension EFSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticfilesystem") .withSigningRegion(value: config.signingRegion) .build() @@ -965,6 +998,8 @@ extension EFSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticfilesystem") .withSigningRegion(value: config.signingRegion) .build() @@ -1042,6 +1077,8 @@ extension EFSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticfilesystem") .withSigningRegion(value: config.signingRegion) .build() @@ -1112,6 +1149,8 @@ extension EFSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticfilesystem") .withSigningRegion(value: config.signingRegion) .build() @@ -1183,6 +1222,8 @@ extension EFSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticfilesystem") .withSigningRegion(value: config.signingRegion) .build() @@ -1256,6 +1297,8 @@ extension EFSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticfilesystem") .withSigningRegion(value: config.signingRegion) .build() @@ -1324,6 +1367,8 @@ extension EFSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticfilesystem") .withSigningRegion(value: config.signingRegion) .build() @@ -1398,6 +1443,8 @@ extension EFSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticfilesystem") .withSigningRegion(value: config.signingRegion) .build() @@ -1468,6 +1515,8 @@ extension EFSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticfilesystem") .withSigningRegion(value: config.signingRegion) .build() @@ -1537,6 +1586,8 @@ extension EFSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticfilesystem") .withSigningRegion(value: config.signingRegion) .build() @@ -1607,6 +1658,8 @@ extension EFSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticfilesystem") .withSigningRegion(value: config.signingRegion) .build() @@ -1681,6 +1734,8 @@ extension EFSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticfilesystem") .withSigningRegion(value: config.signingRegion) .build() @@ -1752,6 +1807,8 @@ extension EFSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticfilesystem") .withSigningRegion(value: config.signingRegion) .build() @@ -1824,6 +1881,8 @@ extension EFSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticfilesystem") .withSigningRegion(value: config.signingRegion) .build() @@ -1895,6 +1954,8 @@ extension EFSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticfilesystem") .withSigningRegion(value: config.signingRegion) .build() @@ -1966,6 +2027,8 @@ extension EFSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticfilesystem") .withSigningRegion(value: config.signingRegion) .build() @@ -2043,6 +2106,8 @@ extension EFSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticfilesystem") .withSigningRegion(value: config.signingRegion) .build() @@ -2114,6 +2179,8 @@ extension EFSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticfilesystem") .withSigningRegion(value: config.signingRegion) .build() @@ -2188,6 +2255,8 @@ extension EFSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticfilesystem") .withSigningRegion(value: config.signingRegion) .build() @@ -2262,6 +2331,8 @@ extension EFSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticfilesystem") .withSigningRegion(value: config.signingRegion) .build() @@ -2354,6 +2425,8 @@ extension EFSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticfilesystem") .withSigningRegion(value: config.signingRegion) .build() @@ -2427,6 +2500,8 @@ extension EFSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticfilesystem") .withSigningRegion(value: config.signingRegion) .build() @@ -2500,6 +2575,8 @@ extension EFSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticfilesystem") .withSigningRegion(value: config.signingRegion) .build() @@ -2574,6 +2651,8 @@ extension EFSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticfilesystem") .withSigningRegion(value: config.signingRegion) .build() @@ -2651,6 +2730,8 @@ extension EFSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticfilesystem") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSEKS/Package.swift.txt b/Sources/Services/AWSEKS/Package.swift.txt index 26a06dd3a27..8c97df9f52a 100644 --- a/Sources/Services/AWSEKS/Package.swift.txt +++ b/Sources/Services/AWSEKS/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSEKS/Sources/AWSEKS/EKSClient.swift b/Sources/Services/AWSEKS/Sources/AWSEKS/EKSClient.swift index 900381380af..03fb83b58c2 100644 --- a/Sources/Services/AWSEKS/Sources/AWSEKS/EKSClient.swift +++ b/Sources/Services/AWSEKS/Sources/AWSEKS/EKSClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EKSClient: ClientRuntime.Client { public static let clientName = "EKSClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: EKSClient.EKSClientConfiguration let serviceName = "EKS" @@ -94,6 +95,8 @@ extension EKSClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension EKSClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension EKSClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension EKSClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension EKSClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension EKSClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension EKSClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension EKSClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension EKSClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -445,6 +466,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -521,6 +544,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -597,6 +622,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -673,6 +700,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -750,6 +779,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -825,6 +856,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -901,6 +934,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -978,6 +1013,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -1054,6 +1091,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -1127,6 +1166,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -1198,6 +1239,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -1270,6 +1313,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -1340,6 +1385,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -1410,6 +1457,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -1482,6 +1531,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -1552,6 +1603,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -1624,6 +1677,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -1693,6 +1748,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -1764,6 +1821,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -1833,6 +1892,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -1903,6 +1964,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -1974,6 +2037,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -2043,6 +2108,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -2114,6 +2181,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -2184,6 +2253,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -2255,6 +2326,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -2328,6 +2401,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -2399,6 +2474,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -2469,6 +2546,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -2539,6 +2618,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -2609,6 +2690,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -2681,6 +2764,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -2755,6 +2840,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -2823,6 +2910,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -2895,6 +2984,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -2965,6 +3056,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -3036,6 +3129,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -3107,6 +3202,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -3178,6 +3275,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -3250,6 +3349,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -3321,6 +3422,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -3395,6 +3498,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -3466,6 +3571,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -3535,6 +3642,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -3605,6 +3714,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -3680,6 +3791,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -3752,6 +3865,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -3823,6 +3938,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -3894,6 +4011,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -3970,6 +4089,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -4046,6 +4167,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -4122,6 +4245,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -4197,6 +4322,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -4273,6 +4400,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -4349,6 +4478,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() @@ -4423,6 +4554,8 @@ extension EKSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSEKSAuth/Package.swift.txt b/Sources/Services/AWSEKSAuth/Package.swift.txt index 6b1b3fc78e0..312ba332055 100644 --- a/Sources/Services/AWSEKSAuth/Package.swift.txt +++ b/Sources/Services/AWSEKSAuth/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSEKSAuth/Sources/AWSEKSAuth/EKSAuthClient.swift b/Sources/Services/AWSEKSAuth/Sources/AWSEKSAuth/EKSAuthClient.swift index 315ed0e0bc4..0202484fe88 100644 --- a/Sources/Services/AWSEKSAuth/Sources/AWSEKSAuth/EKSAuthClient.swift +++ b/Sources/Services/AWSEKSAuth/Sources/AWSEKSAuth/EKSAuthClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -62,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EKSAuthClient: ClientRuntime.Client { public static let clientName = "EKSAuthClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: EKSAuthClient.EKSAuthClientConfiguration let serviceName = "EKS Auth" @@ -92,6 +93,8 @@ extension EKSAuthClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -117,6 +120,8 @@ extension EKSAuthClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -140,6 +145,8 @@ extension EKSAuthClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -166,6 +173,8 @@ extension EKSAuthClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -190,6 +199,8 @@ extension EKSAuthClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -216,6 +227,8 @@ extension EKSAuthClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -240,6 +253,8 @@ extension EKSAuthClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -267,6 +282,8 @@ extension EKSAuthClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -294,6 +311,8 @@ extension EKSAuthClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension EKSAuthClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "eks-auth") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSEMR/Package.swift.txt b/Sources/Services/AWSEMR/Package.swift.txt index 4562d008a2f..7cee8e6018f 100644 --- a/Sources/Services/AWSEMR/Package.swift.txt +++ b/Sources/Services/AWSEMR/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSEMR/Sources/AWSEMR/EMRClient.swift b/Sources/Services/AWSEMR/Sources/AWSEMR/EMRClient.swift index 52376d031c8..c2e24494ab7 100644 --- a/Sources/Services/AWSEMR/Sources/AWSEMR/EMRClient.swift +++ b/Sources/Services/AWSEMR/Sources/AWSEMR/EMRClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EMRClient: ClientRuntime.Client { public static let clientName = "EMRClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: EMRClient.EMRClientConfiguration let serviceName = "EMR" @@ -94,6 +95,8 @@ extension EMRClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension EMRClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension EMRClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension EMRClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension EMRClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension EMRClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension EMRClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension EMRClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension EMRClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -368,6 +387,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -439,6 +460,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -510,6 +533,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -582,6 +607,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -654,6 +681,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -726,6 +755,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -798,6 +829,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -870,6 +903,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -942,6 +977,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -1014,6 +1051,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -1086,6 +1125,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -1158,6 +1199,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -1237,6 +1280,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -1309,6 +1354,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -1381,6 +1428,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -1453,6 +1502,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -1525,6 +1576,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -1597,6 +1650,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -1663,6 +1718,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -1735,6 +1792,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -1807,6 +1866,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -1873,6 +1934,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -1945,6 +2008,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -2017,6 +2082,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -2089,6 +2156,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -2161,6 +2230,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -2233,6 +2304,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -2305,6 +2378,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -2377,6 +2452,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -2449,6 +2526,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -2521,6 +2600,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -2593,6 +2674,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -2665,6 +2748,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -2737,6 +2822,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -2809,6 +2896,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -2881,6 +2970,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -2953,6 +3044,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -3024,6 +3117,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -3090,6 +3185,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -3156,6 +3253,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -3228,6 +3327,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -3294,6 +3395,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -3360,6 +3463,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -3426,6 +3531,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -3492,6 +3599,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -3564,6 +3673,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -3635,6 +3746,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -3706,6 +3819,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -3777,6 +3892,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -3848,6 +3965,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -3919,6 +4038,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -3991,6 +4112,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -4063,6 +4186,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -4134,6 +4259,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -4206,6 +4333,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() @@ -4278,6 +4407,8 @@ extension EMRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticmapreduce") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSEMRServerless/Package.swift.txt b/Sources/Services/AWSEMRServerless/Package.swift.txt index 05c984ee7bb..1157af57c46 100644 --- a/Sources/Services/AWSEMRServerless/Package.swift.txt +++ b/Sources/Services/AWSEMRServerless/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSEMRServerless/Sources/AWSEMRServerless/EMRServerlessClient.swift b/Sources/Services/AWSEMRServerless/Sources/AWSEMRServerless/EMRServerlessClient.swift index 4ec0e4ee4cd..f1c9e501783 100644 --- a/Sources/Services/AWSEMRServerless/Sources/AWSEMRServerless/EMRServerlessClient.swift +++ b/Sources/Services/AWSEMRServerless/Sources/AWSEMRServerless/EMRServerlessClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EMRServerlessClient: ClientRuntime.Client { public static let clientName = "EMRServerlessClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: EMRServerlessClient.EMRServerlessClientConfiguration let serviceName = "EMR Serverless" @@ -95,6 +96,8 @@ extension EMRServerlessClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension EMRServerlessClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension EMRServerlessClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension EMRServerlessClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension EMRServerlessClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension EMRServerlessClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension EMRServerlessClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension EMRServerlessClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension EMRServerlessClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension EMRServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -440,6 +461,8 @@ extension EMRServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -513,6 +536,8 @@ extension EMRServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -582,6 +607,8 @@ extension EMRServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -651,6 +678,8 @@ extension EMRServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -721,6 +750,8 @@ extension EMRServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -790,6 +821,8 @@ extension EMRServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -860,6 +893,8 @@ extension EMRServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -929,6 +964,8 @@ extension EMRServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -999,6 +1036,8 @@ extension EMRServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -1069,6 +1108,8 @@ extension EMRServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -1139,6 +1180,8 @@ extension EMRServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -1212,6 +1255,8 @@ extension EMRServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -1281,6 +1326,8 @@ extension EMRServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -1353,6 +1400,8 @@ extension EMRServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -1423,6 +1472,8 @@ extension EMRServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-serverless") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSEMRcontainers/Package.swift.txt b/Sources/Services/AWSEMRcontainers/Package.swift.txt index c8588eac53d..f3b5ce2baf9 100644 --- a/Sources/Services/AWSEMRcontainers/Package.swift.txt +++ b/Sources/Services/AWSEMRcontainers/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSEMRcontainers/Sources/AWSEMRcontainers/EMRcontainersClient.swift b/Sources/Services/AWSEMRcontainers/Sources/AWSEMRcontainers/EMRcontainersClient.swift index 1e7a90792b6..436622c6e22 100644 --- a/Sources/Services/AWSEMRcontainers/Sources/AWSEMRcontainers/EMRcontainersClient.swift +++ b/Sources/Services/AWSEMRcontainers/Sources/AWSEMRcontainers/EMRcontainersClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EMRcontainersClient: ClientRuntime.Client { public static let clientName = "EMRcontainersClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: EMRcontainersClient.EMRcontainersClientConfiguration let serviceName = "EMR containers" @@ -95,6 +96,8 @@ extension EMRcontainersClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension EMRcontainersClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension EMRcontainersClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension EMRcontainersClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension EMRcontainersClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension EMRcontainersClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension EMRcontainersClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension EMRcontainersClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension EMRcontainersClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -369,6 +388,8 @@ extension EMRcontainersClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-containers") .withSigningRegion(value: config.signingRegion) .build() @@ -438,6 +459,8 @@ extension EMRcontainersClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-containers") .withSigningRegion(value: config.signingRegion) .build() @@ -511,6 +534,8 @@ extension EMRcontainersClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-containers") .withSigningRegion(value: config.signingRegion) .build() @@ -583,6 +608,8 @@ extension EMRcontainersClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-containers") .withSigningRegion(value: config.signingRegion) .build() @@ -657,6 +684,8 @@ extension EMRcontainersClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-containers") .withSigningRegion(value: config.signingRegion) .build() @@ -729,6 +758,8 @@ extension EMRcontainersClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-containers") .withSigningRegion(value: config.signingRegion) .build() @@ -797,6 +828,8 @@ extension EMRcontainersClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-containers") .withSigningRegion(value: config.signingRegion) .build() @@ -865,6 +898,8 @@ extension EMRcontainersClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-containers") .withSigningRegion(value: config.signingRegion) .build() @@ -934,6 +969,8 @@ extension EMRcontainersClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-containers") .withSigningRegion(value: config.signingRegion) .build() @@ -1003,6 +1040,8 @@ extension EMRcontainersClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-containers") .withSigningRegion(value: config.signingRegion) .build() @@ -1072,6 +1111,8 @@ extension EMRcontainersClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-containers") .withSigningRegion(value: config.signingRegion) .build() @@ -1141,6 +1182,8 @@ extension EMRcontainersClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-containers") .withSigningRegion(value: config.signingRegion) .build() @@ -1210,6 +1253,8 @@ extension EMRcontainersClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-containers") .withSigningRegion(value: config.signingRegion) .build() @@ -1280,6 +1325,8 @@ extension EMRcontainersClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-containers") .withSigningRegion(value: config.signingRegion) .build() @@ -1352,6 +1399,8 @@ extension EMRcontainersClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-containers") .withSigningRegion(value: config.signingRegion) .build() @@ -1421,6 +1470,8 @@ extension EMRcontainersClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-containers") .withSigningRegion(value: config.signingRegion) .build() @@ -1490,6 +1541,8 @@ extension EMRcontainersClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-containers") .withSigningRegion(value: config.signingRegion) .build() @@ -1559,6 +1612,8 @@ extension EMRcontainersClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-containers") .withSigningRegion(value: config.signingRegion) .build() @@ -1629,6 +1684,8 @@ extension EMRcontainersClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-containers") .withSigningRegion(value: config.signingRegion) .build() @@ -1697,6 +1754,8 @@ extension EMRcontainersClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-containers") .withSigningRegion(value: config.signingRegion) .build() @@ -1767,6 +1826,8 @@ extension EMRcontainersClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-containers") .withSigningRegion(value: config.signingRegion) .build() @@ -1840,6 +1901,8 @@ extension EMRcontainersClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-containers") .withSigningRegion(value: config.signingRegion) .build() @@ -1912,6 +1975,8 @@ extension EMRcontainersClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "emr-containers") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSElastiCache/Package.swift.txt b/Sources/Services/AWSElastiCache/Package.swift.txt index d2d3ce4d5e5..f3d59069e41 100644 --- a/Sources/Services/AWSElastiCache/Package.swift.txt +++ b/Sources/Services/AWSElastiCache/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSElastiCache/Sources/AWSElastiCache/ElastiCacheClient.swift b/Sources/Services/AWSElastiCache/Sources/AWSElastiCache/ElastiCacheClient.swift index da9f3b3b6c9..1c6ebd64e9f 100644 --- a/Sources/Services/AWSElastiCache/Sources/AWSElastiCache/ElastiCacheClient.swift +++ b/Sources/Services/AWSElastiCache/Sources/AWSElastiCache/ElastiCacheClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPRequest import class SmithyHTTPAPI.HTTPResponse import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ElastiCacheClient: ClientRuntime.Client { public static let clientName = "ElastiCacheClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ElastiCacheClient.ElastiCacheClientConfiguration let serviceName = "ElastiCache" @@ -93,6 +94,8 @@ extension ElastiCacheClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension ElastiCacheClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension ElastiCacheClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension ElastiCacheClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension ElastiCacheClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension ElastiCacheClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension ElastiCacheClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension ElastiCacheClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension ElastiCacheClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -381,6 +400,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -455,6 +476,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -526,6 +549,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -597,6 +622,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -669,6 +696,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -746,6 +775,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -838,6 +869,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -921,6 +954,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -1000,6 +1035,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -1074,6 +1111,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -1149,6 +1188,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -1227,6 +1268,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -1315,6 +1358,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -1395,6 +1440,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -1472,6 +1519,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -1558,6 +1607,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -1634,6 +1685,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -1711,6 +1764,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -1784,6 +1839,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -1865,6 +1922,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -1962,6 +2021,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -2035,6 +2096,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -2108,6 +2171,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -2179,6 +2244,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -2258,6 +2325,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -2345,6 +2414,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -2421,6 +2492,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -2494,6 +2567,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -2567,6 +2642,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -2641,6 +2718,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -2714,6 +2793,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -2786,6 +2867,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -2851,6 +2934,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -2923,6 +3008,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -2995,6 +3082,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -3067,6 +3156,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -3137,6 +3228,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -3208,6 +3301,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -3279,6 +3374,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -3351,6 +3448,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -3423,6 +3522,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -3495,6 +3596,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -3567,6 +3670,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -3640,6 +3745,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -3712,6 +3819,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -3784,6 +3893,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -3857,6 +3968,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -3928,6 +4041,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -4000,6 +4115,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -4072,6 +4189,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -4145,6 +4264,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -4218,6 +4339,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -4291,6 +4414,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -4363,6 +4488,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -4444,6 +4571,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -4517,6 +4646,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -4601,6 +4732,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -4681,6 +4814,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -4759,6 +4894,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -4833,6 +4970,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -4905,6 +5044,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -4997,6 +5138,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -5076,6 +5219,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -5153,6 +5298,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -5227,6 +5374,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -5304,6 +5453,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -5379,6 +5530,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -5451,6 +5604,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -5522,6 +5677,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -5607,6 +5764,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -5685,6 +5844,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -5759,6 +5920,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -5832,6 +5995,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -5941,6 +6106,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() @@ -6014,6 +6181,8 @@ extension ElastiCacheClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticache") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSElasticBeanstalk/Package.swift.txt b/Sources/Services/AWSElasticBeanstalk/Package.swift.txt index 2992dd891ff..de14b22f055 100644 --- a/Sources/Services/AWSElasticBeanstalk/Package.swift.txt +++ b/Sources/Services/AWSElasticBeanstalk/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSElasticBeanstalk/Sources/AWSElasticBeanstalk/ElasticBeanstalkClient.swift b/Sources/Services/AWSElasticBeanstalk/Sources/AWSElasticBeanstalk/ElasticBeanstalkClient.swift index 602c99fb1ce..c472f742865 100644 --- a/Sources/Services/AWSElasticBeanstalk/Sources/AWSElasticBeanstalk/ElasticBeanstalkClient.swift +++ b/Sources/Services/AWSElasticBeanstalk/Sources/AWSElasticBeanstalk/ElasticBeanstalkClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPRequest import class SmithyHTTPAPI.HTTPResponse import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ElasticBeanstalkClient: ClientRuntime.Client { public static let clientName = "ElasticBeanstalkClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ElasticBeanstalkClient.ElasticBeanstalkClientConfiguration let serviceName = "Elastic Beanstalk" @@ -93,6 +94,8 @@ extension ElasticBeanstalkClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension ElasticBeanstalkClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension ElasticBeanstalkClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension ElasticBeanstalkClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension ElasticBeanstalkClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension ElasticBeanstalkClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension ElasticBeanstalkClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension ElasticBeanstalkClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension ElasticBeanstalkClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -366,6 +385,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -437,6 +458,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -507,6 +530,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -572,6 +597,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -643,6 +670,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -713,6 +742,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -793,6 +824,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -871,6 +904,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -942,6 +977,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -1014,6 +1051,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -1086,6 +1125,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -1156,6 +1197,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -1235,6 +1278,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -1305,6 +1350,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -1370,6 +1417,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -1443,6 +1492,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -1513,6 +1564,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -1578,6 +1631,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -1643,6 +1698,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -1713,6 +1770,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -1785,6 +1844,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -1856,6 +1917,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -1926,6 +1989,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -1996,6 +2061,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -2066,6 +2133,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -2131,6 +2200,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -2196,6 +2267,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -2267,6 +2340,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -2338,6 +2413,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -2408,6 +2485,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -2473,6 +2552,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -2538,6 +2619,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -2609,6 +2692,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -2681,6 +2766,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -2751,6 +2838,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -2818,6 +2907,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -2883,6 +2974,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -2950,6 +3043,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -3015,6 +3110,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -3085,6 +3182,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -3150,6 +3249,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -3220,6 +3321,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -3285,6 +3388,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -3358,6 +3463,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -3429,6 +3536,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -3503,6 +3612,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() @@ -3574,6 +3685,8 @@ extension ElasticBeanstalkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticbeanstalk") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSElasticInference/Package.swift.txt b/Sources/Services/AWSElasticInference/Package.swift.txt index e25d3a3184b..86372f5c7a2 100644 --- a/Sources/Services/AWSElasticInference/Package.swift.txt +++ b/Sources/Services/AWSElasticInference/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSElasticInference/Sources/AWSElasticInference/ElasticInferenceClient.swift b/Sources/Services/AWSElasticInference/Sources/AWSElasticInference/ElasticInferenceClient.swift index d9879c5244d..1d468583224 100644 --- a/Sources/Services/AWSElasticInference/Sources/AWSElasticInference/ElasticInferenceClient.swift +++ b/Sources/Services/AWSElasticInference/Sources/AWSElasticInference/ElasticInferenceClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ElasticInferenceClient: ClientRuntime.Client { public static let clientName = "ElasticInferenceClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ElasticInferenceClient.ElasticInferenceClientConfiguration let serviceName = "Elastic Inference" @@ -93,6 +94,8 @@ extension ElasticInferenceClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension ElasticInferenceClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension ElasticInferenceClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension ElasticInferenceClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension ElasticInferenceClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension ElasticInferenceClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension ElasticInferenceClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension ElasticInferenceClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension ElasticInferenceClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -368,6 +387,8 @@ extension ElasticInferenceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elastic-inference") .withSigningRegion(value: config.signingRegion) .build() @@ -438,6 +459,8 @@ extension ElasticInferenceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elastic-inference") .withSigningRegion(value: config.signingRegion) .build() @@ -507,6 +530,8 @@ extension ElasticInferenceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elastic-inference") .withSigningRegion(value: config.signingRegion) .build() @@ -579,6 +604,8 @@ extension ElasticInferenceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elastic-inference") .withSigningRegion(value: config.signingRegion) .build() @@ -648,6 +675,8 @@ extension ElasticInferenceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elastic-inference") .withSigningRegion(value: config.signingRegion) .build() @@ -720,6 +749,8 @@ extension ElasticInferenceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elastic-inference") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSElasticLoadBalancing/Package.swift.txt b/Sources/Services/AWSElasticLoadBalancing/Package.swift.txt index 1c00ee967bd..2348e234f69 100644 --- a/Sources/Services/AWSElasticLoadBalancing/Package.swift.txt +++ b/Sources/Services/AWSElasticLoadBalancing/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSElasticLoadBalancing/Sources/AWSElasticLoadBalancing/ElasticLoadBalancingClient.swift b/Sources/Services/AWSElasticLoadBalancing/Sources/AWSElasticLoadBalancing/ElasticLoadBalancingClient.swift index f2d751f0488..bef1352c4e8 100644 --- a/Sources/Services/AWSElasticLoadBalancing/Sources/AWSElasticLoadBalancing/ElasticLoadBalancingClient.swift +++ b/Sources/Services/AWSElasticLoadBalancing/Sources/AWSElasticLoadBalancing/ElasticLoadBalancingClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPRequest import class SmithyHTTPAPI.HTTPResponse import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -62,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ElasticLoadBalancingClient: ClientRuntime.Client { public static let clientName = "ElasticLoadBalancingClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ElasticLoadBalancingClient.ElasticLoadBalancingClientConfiguration let serviceName = "Elastic Load Balancing" @@ -92,6 +93,8 @@ extension ElasticLoadBalancingClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -117,6 +120,8 @@ extension ElasticLoadBalancingClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -140,6 +145,8 @@ extension ElasticLoadBalancingClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -166,6 +173,8 @@ extension ElasticLoadBalancingClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -190,6 +199,8 @@ extension ElasticLoadBalancingClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -216,6 +227,8 @@ extension ElasticLoadBalancingClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -240,6 +253,8 @@ extension ElasticLoadBalancingClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -267,6 +282,8 @@ extension ElasticLoadBalancingClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -294,6 +311,8 @@ extension ElasticLoadBalancingClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -367,6 +386,8 @@ extension ElasticLoadBalancingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -439,6 +460,8 @@ extension ElasticLoadBalancingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -512,6 +535,8 @@ extension ElasticLoadBalancingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -582,6 +607,8 @@ extension ElasticLoadBalancingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -655,6 +682,8 @@ extension ElasticLoadBalancingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -728,6 +757,8 @@ extension ElasticLoadBalancingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -809,6 +840,8 @@ extension ElasticLoadBalancingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -883,6 +916,8 @@ extension ElasticLoadBalancingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -957,6 +992,8 @@ extension ElasticLoadBalancingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -1022,6 +1059,8 @@ extension ElasticLoadBalancingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -1092,6 +1131,8 @@ extension ElasticLoadBalancingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -1163,6 +1204,8 @@ extension ElasticLoadBalancingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -1234,6 +1277,8 @@ extension ElasticLoadBalancingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -1299,6 +1344,8 @@ extension ElasticLoadBalancingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -1370,6 +1417,8 @@ extension ElasticLoadBalancingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -1441,6 +1490,8 @@ extension ElasticLoadBalancingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -1512,6 +1563,8 @@ extension ElasticLoadBalancingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -1582,6 +1635,8 @@ extension ElasticLoadBalancingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -1653,6 +1708,8 @@ extension ElasticLoadBalancingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -1723,6 +1780,8 @@ extension ElasticLoadBalancingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -1794,6 +1853,8 @@ extension ElasticLoadBalancingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -1865,6 +1926,8 @@ extension ElasticLoadBalancingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -1935,6 +1998,8 @@ extension ElasticLoadBalancingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -2015,6 +2080,8 @@ extension ElasticLoadBalancingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -2086,6 +2153,8 @@ extension ElasticLoadBalancingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -2156,6 +2225,8 @@ extension ElasticLoadBalancingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -2230,6 +2301,8 @@ extension ElasticLoadBalancingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -2302,6 +2375,8 @@ extension ElasticLoadBalancingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -2375,6 +2450,8 @@ extension ElasticLoadBalancingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSElasticLoadBalancingv2/Package.swift.txt b/Sources/Services/AWSElasticLoadBalancingv2/Package.swift.txt index fb1434d5138..23cde234483 100644 --- a/Sources/Services/AWSElasticLoadBalancingv2/Package.swift.txt +++ b/Sources/Services/AWSElasticLoadBalancingv2/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSElasticLoadBalancingv2/Sources/AWSElasticLoadBalancingv2/ElasticLoadBalancingv2Client.swift b/Sources/Services/AWSElasticLoadBalancingv2/Sources/AWSElasticLoadBalancingv2/ElasticLoadBalancingv2Client.swift index 89115231ef1..f8dd4a5c394 100644 --- a/Sources/Services/AWSElasticLoadBalancingv2/Sources/AWSElasticLoadBalancingv2/ElasticLoadBalancingv2Client.swift +++ b/Sources/Services/AWSElasticLoadBalancingv2/Sources/AWSElasticLoadBalancingv2/ElasticLoadBalancingv2Client.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPRequest import class SmithyHTTPAPI.HTTPResponse import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ElasticLoadBalancingv2Client: ClientRuntime.Client { public static let clientName = "ElasticLoadBalancingv2Client" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ElasticLoadBalancingv2Client.ElasticLoadBalancingv2ClientConfiguration let serviceName = "Elastic Load Balancing v2" @@ -93,6 +94,8 @@ extension ElasticLoadBalancingv2Client { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension ElasticLoadBalancingv2Client { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension ElasticLoadBalancingv2Client { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension ElasticLoadBalancingv2Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension ElasticLoadBalancingv2Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension ElasticLoadBalancingv2Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension ElasticLoadBalancingv2Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension ElasticLoadBalancingv2Client { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension ElasticLoadBalancingv2Client { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -368,6 +387,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -444,6 +465,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -517,6 +540,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -615,6 +640,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -706,6 +733,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -790,6 +819,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -872,6 +903,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -947,6 +980,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -1018,6 +1053,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -1090,6 +1127,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -1161,6 +1200,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -1233,6 +1274,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -1303,6 +1346,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -1374,6 +1419,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -1454,6 +1501,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -1525,6 +1574,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -1595,6 +1646,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -1665,6 +1718,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -1735,6 +1790,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -1807,6 +1864,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -1883,6 +1942,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -1953,6 +2014,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -2025,6 +2088,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -2095,6 +2160,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -2169,6 +2236,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -2245,6 +2314,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -2316,6 +2387,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -2388,6 +2461,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -2458,6 +2533,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -2529,6 +2606,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -2599,6 +2678,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -2669,6 +2750,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -2739,6 +2822,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -2810,6 +2895,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -2887,6 +2974,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -2975,6 +3064,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -3046,6 +3137,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -3117,6 +3210,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -3197,6 +3292,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -3268,6 +3365,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -3339,6 +3438,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -3411,6 +3512,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -3484,6 +3587,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -3555,6 +3660,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -3630,6 +3737,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -3701,6 +3810,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -3773,6 +3884,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -3845,6 +3958,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -3917,6 +4032,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() @@ -3993,6 +4110,8 @@ extension ElasticLoadBalancingv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elasticloadbalancing") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSElasticTranscoder/Package.swift.txt b/Sources/Services/AWSElasticTranscoder/Package.swift.txt index d73b3fdc567..ecb8df31eed 100644 --- a/Sources/Services/AWSElasticTranscoder/Package.swift.txt +++ b/Sources/Services/AWSElasticTranscoder/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSElasticTranscoder/Sources/AWSElasticTranscoder/ElasticTranscoderClient.swift b/Sources/Services/AWSElasticTranscoder/Sources/AWSElasticTranscoder/ElasticTranscoderClient.swift index 608ca703b0f..8e6c98c0cb0 100644 --- a/Sources/Services/AWSElasticTranscoder/Sources/AWSElasticTranscoder/ElasticTranscoderClient.swift +++ b/Sources/Services/AWSElasticTranscoder/Sources/AWSElasticTranscoder/ElasticTranscoderClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ElasticTranscoderClient: ClientRuntime.Client { public static let clientName = "ElasticTranscoderClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ElasticTranscoderClient.ElasticTranscoderClientConfiguration let serviceName = "Elastic Transcoder" @@ -93,6 +94,8 @@ extension ElasticTranscoderClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension ElasticTranscoderClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension ElasticTranscoderClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension ElasticTranscoderClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension ElasticTranscoderClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension ElasticTranscoderClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension ElasticTranscoderClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension ElasticTranscoderClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension ElasticTranscoderClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension ElasticTranscoderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elastictranscoder") .withSigningRegion(value: config.signingRegion) .build() @@ -443,6 +464,8 @@ extension ElasticTranscoderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elastictranscoder") .withSigningRegion(value: config.signingRegion) .build() @@ -518,6 +541,8 @@ extension ElasticTranscoderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elastictranscoder") .withSigningRegion(value: config.signingRegion) .build() @@ -592,6 +617,8 @@ extension ElasticTranscoderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elastictranscoder") .withSigningRegion(value: config.signingRegion) .build() @@ -667,6 +694,8 @@ extension ElasticTranscoderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elastictranscoder") .withSigningRegion(value: config.signingRegion) .build() @@ -738,6 +767,8 @@ extension ElasticTranscoderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elastictranscoder") .withSigningRegion(value: config.signingRegion) .build() @@ -809,6 +840,8 @@ extension ElasticTranscoderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elastictranscoder") .withSigningRegion(value: config.signingRegion) .build() @@ -881,6 +914,8 @@ extension ElasticTranscoderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elastictranscoder") .withSigningRegion(value: config.signingRegion) .build() @@ -952,6 +987,8 @@ extension ElasticTranscoderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elastictranscoder") .withSigningRegion(value: config.signingRegion) .build() @@ -1023,6 +1060,8 @@ extension ElasticTranscoderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elastictranscoder") .withSigningRegion(value: config.signingRegion) .build() @@ -1095,6 +1134,8 @@ extension ElasticTranscoderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elastictranscoder") .withSigningRegion(value: config.signingRegion) .build() @@ -1166,6 +1207,8 @@ extension ElasticTranscoderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elastictranscoder") .withSigningRegion(value: config.signingRegion) .build() @@ -1237,6 +1280,8 @@ extension ElasticTranscoderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elastictranscoder") .withSigningRegion(value: config.signingRegion) .build() @@ -1309,6 +1354,8 @@ extension ElasticTranscoderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elastictranscoder") .withSigningRegion(value: config.signingRegion) .build() @@ -1384,6 +1431,8 @@ extension ElasticTranscoderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elastictranscoder") .withSigningRegion(value: config.signingRegion) .build() @@ -1459,6 +1508,8 @@ extension ElasticTranscoderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elastictranscoder") .withSigningRegion(value: config.signingRegion) .build() @@ -1534,6 +1585,8 @@ extension ElasticTranscoderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "elastictranscoder") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSElasticsearchService/Package.swift.txt b/Sources/Services/AWSElasticsearchService/Package.swift.txt index a41e9567779..6ad48d2a536 100644 --- a/Sources/Services/AWSElasticsearchService/Package.swift.txt +++ b/Sources/Services/AWSElasticsearchService/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSElasticsearchService/Sources/AWSElasticsearchService/ElasticsearchClient.swift b/Sources/Services/AWSElasticsearchService/Sources/AWSElasticsearchService/ElasticsearchClient.swift index d7cc8f8af48..b19b84917aa 100644 --- a/Sources/Services/AWSElasticsearchService/Sources/AWSElasticsearchService/ElasticsearchClient.swift +++ b/Sources/Services/AWSElasticsearchService/Sources/AWSElasticsearchService/ElasticsearchClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ElasticsearchClient: ClientRuntime.Client { public static let clientName = "ElasticsearchClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ElasticsearchClient.ElasticsearchClientConfiguration let serviceName = "Elasticsearch" @@ -93,6 +94,8 @@ extension ElasticsearchClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension ElasticsearchClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension ElasticsearchClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension ElasticsearchClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension ElasticsearchClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension ElasticsearchClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension ElasticsearchClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension ElasticsearchClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension ElasticsearchClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -368,6 +387,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -438,6 +459,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -513,6 +536,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -585,6 +610,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -659,6 +686,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -732,6 +761,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -808,6 +839,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -881,6 +914,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -957,6 +992,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -1032,6 +1069,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -1105,6 +1144,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -1174,6 +1215,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -1242,6 +1285,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -1310,6 +1355,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -1382,6 +1429,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -1452,6 +1501,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -1522,6 +1573,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -1595,6 +1648,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -1666,6 +1721,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -1736,6 +1793,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -1805,6 +1864,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -1880,6 +1941,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -1949,6 +2012,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -2020,6 +2085,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -2094,6 +2161,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -2167,6 +2236,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -2238,6 +2309,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -2309,6 +2382,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -2384,6 +2459,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -2455,6 +2532,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -2527,6 +2606,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -2599,6 +2680,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -2671,6 +2754,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -2739,6 +2824,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -2811,6 +2898,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -2882,6 +2971,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -2953,6 +3044,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -3025,6 +3118,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -3096,6 +3191,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -3167,6 +3264,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -3237,6 +3336,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -3308,6 +3409,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -3381,6 +3484,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -3452,6 +3557,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -3521,6 +3628,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -3595,6 +3704,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -3668,6 +3779,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -3743,6 +3856,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -3818,6 +3933,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -3893,6 +4010,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -3968,6 +4087,8 @@ extension ElasticsearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSEntityResolution/Package.swift.txt b/Sources/Services/AWSEntityResolution/Package.swift.txt index 35874345467..c9bc984cc76 100644 --- a/Sources/Services/AWSEntityResolution/Package.swift.txt +++ b/Sources/Services/AWSEntityResolution/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSEntityResolution/Sources/AWSEntityResolution/EntityResolutionClient.swift b/Sources/Services/AWSEntityResolution/Sources/AWSEntityResolution/EntityResolutionClient.swift index bf67686b033..88255f4013a 100644 --- a/Sources/Services/AWSEntityResolution/Sources/AWSEntityResolution/EntityResolutionClient.swift +++ b/Sources/Services/AWSEntityResolution/Sources/AWSEntityResolution/EntityResolutionClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -66,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EntityResolutionClient: ClientRuntime.Client { public static let clientName = "EntityResolutionClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: EntityResolutionClient.EntityResolutionClientConfiguration let serviceName = "EntityResolution" @@ -96,6 +97,8 @@ extension EntityResolutionClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -121,6 +124,8 @@ extension EntityResolutionClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -144,6 +149,8 @@ extension EntityResolutionClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -170,6 +177,8 @@ extension EntityResolutionClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -194,6 +203,8 @@ extension EntityResolutionClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -220,6 +231,8 @@ extension EntityResolutionClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -244,6 +257,8 @@ extension EntityResolutionClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -271,6 +286,8 @@ extension EntityResolutionClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -298,6 +315,8 @@ extension EntityResolutionClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -519,6 +542,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -594,6 +619,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -669,6 +696,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -744,6 +773,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -818,6 +849,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -888,6 +921,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -959,6 +994,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -1031,6 +1068,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -1102,6 +1141,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -1173,6 +1214,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -1244,6 +1287,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -1315,6 +1360,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -1386,6 +1433,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -1460,6 +1509,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -1531,6 +1582,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -1602,6 +1655,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -1673,6 +1728,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -1744,6 +1801,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -1815,6 +1874,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -1886,6 +1947,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -1957,6 +2020,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -2029,6 +2094,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -2100,6 +2167,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -2171,6 +2240,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -2242,6 +2313,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -2312,6 +2385,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -2384,6 +2459,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -2460,6 +2537,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -2536,6 +2615,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -2605,6 +2686,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -2676,6 +2759,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -2748,6 +2833,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -2822,6 +2909,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -2896,6 +2985,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() @@ -2971,6 +3062,8 @@ extension EntityResolutionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "entityresolution") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSEventBridge/Package.swift.txt b/Sources/Services/AWSEventBridge/Package.swift.txt index b2d6f3eb410..f401bc38d2c 100644 --- a/Sources/Services/AWSEventBridge/Package.swift.txt +++ b/Sources/Services/AWSEventBridge/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSEventBridge/Sources/AWSEventBridge/EventBridgeClient.swift b/Sources/Services/AWSEventBridge/Sources/AWSEventBridge/EventBridgeClient.swift index ee5298a2261..30162506335 100644 --- a/Sources/Services/AWSEventBridge/Sources/AWSEventBridge/EventBridgeClient.swift +++ b/Sources/Services/AWSEventBridge/Sources/AWSEventBridge/EventBridgeClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -66,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EventBridgeClient: ClientRuntime.Client { public static let clientName = "EventBridgeClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: EventBridgeClient.EventBridgeClientConfiguration let serviceName = "EventBridge" @@ -96,6 +97,8 @@ extension EventBridgeClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -121,6 +124,8 @@ extension EventBridgeClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -144,6 +149,8 @@ extension EventBridgeClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -170,6 +177,8 @@ extension EventBridgeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -194,6 +203,8 @@ extension EventBridgeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -220,6 +231,8 @@ extension EventBridgeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -244,6 +257,8 @@ extension EventBridgeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -271,6 +286,8 @@ extension EventBridgeClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -298,6 +315,8 @@ extension EventBridgeClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -448,6 +469,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -523,6 +546,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -609,6 +634,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -686,6 +713,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -760,6 +789,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -838,6 +869,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -923,6 +956,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -999,6 +1034,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -1073,6 +1110,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -1147,6 +1186,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -1221,6 +1262,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -1295,6 +1338,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -1369,6 +1414,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -1442,6 +1489,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -1516,6 +1565,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -1591,6 +1642,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -1664,6 +1717,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -1738,6 +1793,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -1811,6 +1868,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -1884,6 +1943,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -1957,6 +2018,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -2031,6 +2094,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -2105,6 +2170,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -2178,6 +2245,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -2251,6 +2320,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -2326,6 +2397,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -2401,6 +2474,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -2473,6 +2548,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -2546,6 +2623,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -2618,6 +2697,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -2690,6 +2771,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -2762,6 +2845,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -2835,6 +2920,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -2909,6 +2996,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -2982,6 +3071,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -3054,6 +3145,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -3127,6 +3220,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -3200,6 +3295,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -3273,6 +3370,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -3346,6 +3445,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -3418,6 +3519,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -3491,6 +3594,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -3567,6 +3672,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -3644,6 +3751,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -3749,6 +3858,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -3824,6 +3935,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -3899,6 +4012,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -3975,6 +4090,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -4050,6 +4167,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -4123,6 +4242,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -4198,6 +4319,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -4273,6 +4396,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -4349,6 +4474,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -4426,6 +4553,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -4500,6 +4629,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() @@ -4575,6 +4706,8 @@ extension EventBridgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "events") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSEvidently/Package.swift.txt b/Sources/Services/AWSEvidently/Package.swift.txt index a0a3c9854f8..36f293f21b0 100644 --- a/Sources/Services/AWSEvidently/Package.swift.txt +++ b/Sources/Services/AWSEvidently/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSEvidently/Sources/AWSEvidently/EvidentlyClient.swift b/Sources/Services/AWSEvidently/Sources/AWSEvidently/EvidentlyClient.swift index 625c36c21b6..82123bb5f1f 100644 --- a/Sources/Services/AWSEvidently/Sources/AWSEvidently/EvidentlyClient.swift +++ b/Sources/Services/AWSEvidently/Sources/AWSEvidently/EvidentlyClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class EvidentlyClient: ClientRuntime.Client { public static let clientName = "EvidentlyClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: EvidentlyClient.EvidentlyClientConfiguration let serviceName = "Evidently" @@ -94,6 +95,8 @@ extension EvidentlyClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension EvidentlyClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension EvidentlyClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension EvidentlyClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension EvidentlyClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension EvidentlyClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension EvidentlyClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension EvidentlyClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension EvidentlyClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -444,6 +465,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -518,6 +541,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -592,6 +617,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -665,6 +692,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -738,6 +767,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -813,6 +844,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -884,6 +917,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -955,6 +990,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -1026,6 +1063,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -1097,6 +1136,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -1167,6 +1208,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -1240,6 +1283,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -1311,6 +1356,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -1384,6 +1431,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -1454,6 +1503,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -1524,6 +1575,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -1594,6 +1647,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -1663,6 +1718,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -1734,6 +1791,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -1804,6 +1863,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -1874,6 +1935,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -1945,6 +2008,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -2015,6 +2080,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -2085,6 +2152,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -2155,6 +2224,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -2230,6 +2301,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -2305,6 +2378,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -2377,6 +2452,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -2450,6 +2527,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -2522,6 +2601,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -2594,6 +2675,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -2666,6 +2749,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -2737,6 +2822,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -2811,6 +2898,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -2884,6 +2973,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -2958,6 +3049,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() @@ -3032,6 +3125,8 @@ extension EvidentlyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "evidently") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSFMS/Package.swift.txt b/Sources/Services/AWSFMS/Package.swift.txt index b27f5ad40d3..66315d7d170 100644 --- a/Sources/Services/AWSFMS/Package.swift.txt +++ b/Sources/Services/AWSFMS/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSFMS/Sources/AWSFMS/FMSClient.swift b/Sources/Services/AWSFMS/Sources/AWSFMS/FMSClient.swift index e5640fc8d75..8d599dc3891 100644 --- a/Sources/Services/AWSFMS/Sources/AWSFMS/FMSClient.swift +++ b/Sources/Services/AWSFMS/Sources/AWSFMS/FMSClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class FMSClient: ClientRuntime.Client { public static let clientName = "FMSClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: FMSClient.FMSClientConfiguration let serviceName = "FMS" @@ -94,6 +95,8 @@ extension FMSClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension FMSClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension FMSClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension FMSClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension FMSClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension FMSClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension FMSClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension FMSClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension FMSClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -445,6 +466,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -520,6 +543,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -594,6 +619,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -667,6 +694,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -740,6 +769,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -815,6 +846,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -888,6 +921,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -962,6 +997,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -1035,6 +1072,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -1109,6 +1148,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -1182,6 +1223,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -1257,6 +1300,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -1330,6 +1375,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -1404,6 +1451,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -1477,6 +1526,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -1551,6 +1602,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -1624,6 +1677,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -1697,6 +1752,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -1771,6 +1828,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -1845,6 +1904,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -1918,6 +1979,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -1992,6 +2055,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -2065,6 +2130,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -2139,6 +2206,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -2211,6 +2280,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -2284,6 +2355,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -2356,6 +2429,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -2430,6 +2505,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -2503,6 +2580,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -2577,6 +2656,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -2650,6 +2731,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -2724,6 +2807,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -2798,6 +2883,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -2872,6 +2959,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -2947,6 +3036,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -3020,6 +3111,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -3114,6 +3207,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -3189,6 +3284,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -3263,6 +3360,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -3338,6 +3437,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() @@ -3412,6 +3513,8 @@ extension FMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fms") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSFSx/Package.swift.txt b/Sources/Services/AWSFSx/Package.swift.txt index 00dab8a5122..d56156e1430 100644 --- a/Sources/Services/AWSFSx/Package.swift.txt +++ b/Sources/Services/AWSFSx/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSFSx/Sources/AWSFSx/FSxClient.swift b/Sources/Services/AWSFSx/Sources/AWSFSx/FSxClient.swift index 8eb5c9a84e1..f2f9f21c0b2 100644 --- a/Sources/Services/AWSFSx/Sources/AWSFSx/FSxClient.swift +++ b/Sources/Services/AWSFSx/Sources/AWSFSx/FSxClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class FSxClient: ClientRuntime.Client { public static let clientName = "FSxClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: FSxClient.FSxClientConfiguration let serviceName = "FSx" @@ -94,6 +95,8 @@ extension FSxClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension FSxClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension FSxClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension FSxClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension FSxClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension FSxClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension FSxClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension FSxClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension FSxClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -369,6 +388,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -454,6 +475,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -535,6 +558,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -610,6 +635,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -714,6 +741,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -791,6 +820,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -872,6 +903,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -957,6 +990,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -1056,6 +1091,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -1143,6 +1180,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -1225,6 +1264,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -1303,6 +1344,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -1382,6 +1425,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -1461,6 +1506,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -1539,6 +1586,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -1615,6 +1664,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -1691,6 +1742,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -1767,6 +1820,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -1841,6 +1896,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -1916,6 +1973,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -1992,6 +2051,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -2072,6 +2133,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -2147,6 +2210,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -2221,6 +2286,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -2298,6 +2365,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -2371,6 +2440,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -2449,6 +2520,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -2521,6 +2594,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -2598,6 +2673,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -2671,6 +2748,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -2744,6 +2823,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -2817,6 +2898,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -2897,6 +2980,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -2972,6 +3057,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -3046,6 +3133,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -3120,6 +3209,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -3196,6 +3287,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -3271,6 +3364,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -3346,6 +3441,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -3424,6 +3521,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -3594,6 +3693,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -3668,6 +3769,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -3742,6 +3845,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -3818,6 +3923,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() @@ -3894,6 +4001,8 @@ extension FSxClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fsx") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSFinspace/Package.swift.txt b/Sources/Services/AWSFinspace/Package.swift.txt index 49be6d7c579..e5da5674cc7 100644 --- a/Sources/Services/AWSFinspace/Package.swift.txt +++ b/Sources/Services/AWSFinspace/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSFinspace/Sources/AWSFinspace/FinspaceClient.swift b/Sources/Services/AWSFinspace/Sources/AWSFinspace/FinspaceClient.swift index 83bd89679a8..a0aea4dbb2d 100644 --- a/Sources/Services/AWSFinspace/Sources/AWSFinspace/FinspaceClient.swift +++ b/Sources/Services/AWSFinspace/Sources/AWSFinspace/FinspaceClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class FinspaceClient: ClientRuntime.Client { public static let clientName = "FinspaceClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: FinspaceClient.FinspaceClientConfiguration let serviceName = "finspace" @@ -95,6 +96,8 @@ extension FinspaceClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension FinspaceClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension FinspaceClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension FinspaceClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension FinspaceClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension FinspaceClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension FinspaceClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension FinspaceClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension FinspaceClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -450,6 +471,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -527,6 +550,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -605,6 +630,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -683,6 +710,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -760,6 +789,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -837,6 +868,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -915,6 +948,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -993,6 +1028,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -1069,6 +1106,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -1142,6 +1181,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -1215,6 +1256,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -1287,6 +1330,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -1361,6 +1406,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -1435,6 +1482,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -1510,6 +1559,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -1584,6 +1635,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -1659,6 +1712,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -1732,6 +1787,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -1803,6 +1860,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -1876,6 +1935,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -1947,6 +2008,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -2019,6 +2082,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -2090,6 +2155,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -2161,6 +2228,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -2234,6 +2303,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -2305,6 +2376,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -2378,6 +2451,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -2448,6 +2523,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -2520,6 +2597,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -2593,6 +2672,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -2667,6 +2748,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -2739,6 +2822,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -2811,6 +2896,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -2881,6 +2968,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -2955,6 +3044,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -3027,6 +3118,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -3101,6 +3194,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -3171,6 +3266,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -3240,6 +3337,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -3312,6 +3411,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -3385,6 +3486,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -3461,6 +3564,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -3538,6 +3643,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -3614,6 +3721,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -3691,6 +3800,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -3767,6 +3878,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -3843,6 +3956,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -3920,6 +4035,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() @@ -3997,6 +4114,8 @@ extension FinspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSFinspacedata/Package.swift.txt b/Sources/Services/AWSFinspacedata/Package.swift.txt index 96075d90eed..711dcb96c22 100644 --- a/Sources/Services/AWSFinspacedata/Package.swift.txt +++ b/Sources/Services/AWSFinspacedata/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSFinspacedata/Sources/AWSFinspacedata/FinspacedataClient.swift b/Sources/Services/AWSFinspacedata/Sources/AWSFinspacedata/FinspacedataClient.swift index 6d41f865493..2392f21c545 100644 --- a/Sources/Services/AWSFinspacedata/Sources/AWSFinspacedata/FinspacedataClient.swift +++ b/Sources/Services/AWSFinspacedata/Sources/AWSFinspacedata/FinspacedataClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class FinspacedataClient: ClientRuntime.Client { public static let clientName = "FinspacedataClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: FinspacedataClient.FinspacedataClientConfiguration let serviceName = "finspace data" @@ -94,6 +95,8 @@ extension FinspacedataClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension FinspacedataClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension FinspacedataClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension FinspacedataClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension FinspacedataClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension FinspacedataClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension FinspacedataClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension FinspacedataClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension FinspacedataClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension FinspacedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace-api") .withSigningRegion(value: config.signingRegion) .build() @@ -451,6 +472,8 @@ extension FinspacedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace-api") .withSigningRegion(value: config.signingRegion) .build() @@ -528,6 +551,8 @@ extension FinspacedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace-api") .withSigningRegion(value: config.signingRegion) .build() @@ -606,6 +631,8 @@ extension FinspacedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace-api") .withSigningRegion(value: config.signingRegion) .build() @@ -683,6 +710,8 @@ extension FinspacedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace-api") .withSigningRegion(value: config.signingRegion) .build() @@ -760,6 +789,8 @@ extension FinspacedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace-api") .withSigningRegion(value: config.signingRegion) .build() @@ -838,6 +869,8 @@ extension FinspacedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace-api") .withSigningRegion(value: config.signingRegion) .build() @@ -914,6 +947,8 @@ extension FinspacedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace-api") .withSigningRegion(value: config.signingRegion) .build() @@ -989,6 +1024,8 @@ extension FinspacedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace-api") .withSigningRegion(value: config.signingRegion) .build() @@ -1066,6 +1103,8 @@ extension FinspacedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace-api") .withSigningRegion(value: config.signingRegion) .build() @@ -1142,6 +1181,8 @@ extension FinspacedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace-api") .withSigningRegion(value: config.signingRegion) .build() @@ -1219,6 +1260,8 @@ extension FinspacedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace-api") .withSigningRegion(value: config.signingRegion) .build() @@ -1291,6 +1334,8 @@ extension FinspacedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace-api") .withSigningRegion(value: config.signingRegion) .build() @@ -1364,6 +1409,8 @@ extension FinspacedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace-api") .withSigningRegion(value: config.signingRegion) .build() @@ -1440,6 +1487,8 @@ extension FinspacedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace-api") .withSigningRegion(value: config.signingRegion) .build() @@ -1512,6 +1561,8 @@ extension FinspacedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace-api") .withSigningRegion(value: config.signingRegion) .build() @@ -1583,6 +1634,8 @@ extension FinspacedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace-api") .withSigningRegion(value: config.signingRegion) .build() @@ -1656,6 +1709,8 @@ extension FinspacedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace-api") .withSigningRegion(value: config.signingRegion) .build() @@ -1727,6 +1782,8 @@ extension FinspacedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace-api") .withSigningRegion(value: config.signingRegion) .build() @@ -1803,6 +1860,8 @@ extension FinspacedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace-api") .withSigningRegion(value: config.signingRegion) .build() @@ -1876,6 +1935,8 @@ extension FinspacedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace-api") .withSigningRegion(value: config.signingRegion) .build() @@ -1949,6 +2010,8 @@ extension FinspacedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace-api") .withSigningRegion(value: config.signingRegion) .build() @@ -2021,6 +2084,8 @@ extension FinspacedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace-api") .withSigningRegion(value: config.signingRegion) .build() @@ -2094,6 +2159,8 @@ extension FinspacedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace-api") .withSigningRegion(value: config.signingRegion) .build() @@ -2166,6 +2233,8 @@ extension FinspacedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace-api") .withSigningRegion(value: config.signingRegion) .build() @@ -2239,6 +2308,8 @@ extension FinspacedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace-api") .withSigningRegion(value: config.signingRegion) .build() @@ -2313,6 +2384,8 @@ extension FinspacedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace-api") .withSigningRegion(value: config.signingRegion) .build() @@ -2390,6 +2463,8 @@ extension FinspacedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace-api") .withSigningRegion(value: config.signingRegion) .build() @@ -2467,6 +2542,8 @@ extension FinspacedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace-api") .withSigningRegion(value: config.signingRegion) .build() @@ -2544,6 +2621,8 @@ extension FinspacedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace-api") .withSigningRegion(value: config.signingRegion) .build() @@ -2621,6 +2700,8 @@ extension FinspacedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "finspace-api") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSFirehose/Package.swift.txt b/Sources/Services/AWSFirehose/Package.swift.txt index 7ce53cf0f71..4892f572a47 100644 --- a/Sources/Services/AWSFirehose/Package.swift.txt +++ b/Sources/Services/AWSFirehose/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSFirehose/Sources/AWSFirehose/FirehoseClient.swift b/Sources/Services/AWSFirehose/Sources/AWSFirehose/FirehoseClient.swift index 6aaff3e08a1..694b8ed4042 100644 --- a/Sources/Services/AWSFirehose/Sources/AWSFirehose/FirehoseClient.swift +++ b/Sources/Services/AWSFirehose/Sources/AWSFirehose/FirehoseClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class FirehoseClient: ClientRuntime.Client { public static let clientName = "FirehoseClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: FirehoseClient.FirehoseClientConfiguration let serviceName = "Firehose" @@ -93,6 +94,8 @@ extension FirehoseClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension FirehoseClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension FirehoseClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension FirehoseClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension FirehoseClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension FirehoseClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension FirehoseClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension FirehoseClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension FirehoseClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -378,6 +397,8 @@ extension FirehoseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "firehose") .withSigningRegion(value: config.signingRegion) .build() @@ -450,6 +471,8 @@ extension FirehoseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "firehose") .withSigningRegion(value: config.signingRegion) .build() @@ -521,6 +544,8 @@ extension FirehoseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "firehose") .withSigningRegion(value: config.signingRegion) .build() @@ -587,6 +612,8 @@ extension FirehoseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "firehose") .withSigningRegion(value: config.signingRegion) .build() @@ -660,6 +687,8 @@ extension FirehoseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "firehose") .withSigningRegion(value: config.signingRegion) .build() @@ -735,6 +764,8 @@ extension FirehoseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "firehose") .withSigningRegion(value: config.signingRegion) .build() @@ -810,6 +841,8 @@ extension FirehoseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "firehose") .withSigningRegion(value: config.signingRegion) .build() @@ -885,6 +918,8 @@ extension FirehoseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "firehose") .withSigningRegion(value: config.signingRegion) .build() @@ -959,6 +994,8 @@ extension FirehoseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "firehose") .withSigningRegion(value: config.signingRegion) .build() @@ -1033,6 +1070,8 @@ extension FirehoseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "firehose") .withSigningRegion(value: config.signingRegion) .build() @@ -1107,6 +1146,8 @@ extension FirehoseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "firehose") .withSigningRegion(value: config.signingRegion) .build() @@ -1181,6 +1222,8 @@ extension FirehoseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "firehose") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSFis/Package.swift.txt b/Sources/Services/AWSFis/Package.swift.txt index add28ce9cd2..6db6b0517b6 100644 --- a/Sources/Services/AWSFis/Package.swift.txt +++ b/Sources/Services/AWSFis/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSFis/Sources/AWSFis/FisClient.swift b/Sources/Services/AWSFis/Sources/AWSFis/FisClient.swift index 6e70ee204d5..0e65f8b47eb 100644 --- a/Sources/Services/AWSFis/Sources/AWSFis/FisClient.swift +++ b/Sources/Services/AWSFis/Sources/AWSFis/FisClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class FisClient: ClientRuntime.Client { public static let clientName = "FisClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: FisClient.FisClientConfiguration let serviceName = "fis" @@ -94,6 +95,8 @@ extension FisClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension FisClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension FisClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension FisClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension FisClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension FisClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension FisClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension FisClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension FisClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -379,6 +398,8 @@ extension FisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fis") .withSigningRegion(value: config.signingRegion) .build() @@ -453,6 +474,8 @@ extension FisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fis") .withSigningRegion(value: config.signingRegion) .build() @@ -525,6 +548,8 @@ extension FisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fis") .withSigningRegion(value: config.signingRegion) .build() @@ -593,6 +618,8 @@ extension FisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fis") .withSigningRegion(value: config.signingRegion) .build() @@ -661,6 +688,8 @@ extension FisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fis") .withSigningRegion(value: config.signingRegion) .build() @@ -729,6 +758,8 @@ extension FisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fis") .withSigningRegion(value: config.signingRegion) .build() @@ -797,6 +828,8 @@ extension FisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fis") .withSigningRegion(value: config.signingRegion) .build() @@ -865,6 +898,8 @@ extension FisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fis") .withSigningRegion(value: config.signingRegion) .build() @@ -932,6 +967,8 @@ extension FisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fis") .withSigningRegion(value: config.signingRegion) .build() @@ -1000,6 +1037,8 @@ extension FisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fis") .withSigningRegion(value: config.signingRegion) .build() @@ -1068,6 +1107,8 @@ extension FisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fis") .withSigningRegion(value: config.signingRegion) .build() @@ -1135,6 +1176,8 @@ extension FisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fis") .withSigningRegion(value: config.signingRegion) .build() @@ -1204,6 +1247,8 @@ extension FisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fis") .withSigningRegion(value: config.signingRegion) .build() @@ -1273,6 +1318,8 @@ extension FisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fis") .withSigningRegion(value: config.signingRegion) .build() @@ -1341,6 +1388,8 @@ extension FisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fis") .withSigningRegion(value: config.signingRegion) .build() @@ -1409,6 +1458,8 @@ extension FisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fis") .withSigningRegion(value: config.signingRegion) .build() @@ -1472,6 +1523,8 @@ extension FisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fis") .withSigningRegion(value: config.signingRegion) .build() @@ -1540,6 +1593,8 @@ extension FisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fis") .withSigningRegion(value: config.signingRegion) .build() @@ -1608,6 +1663,8 @@ extension FisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fis") .withSigningRegion(value: config.signingRegion) .build() @@ -1679,6 +1736,8 @@ extension FisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fis") .withSigningRegion(value: config.signingRegion) .build() @@ -1751,6 +1810,8 @@ extension FisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fis") .withSigningRegion(value: config.signingRegion) .build() @@ -1813,6 +1874,8 @@ extension FisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fis") .withSigningRegion(value: config.signingRegion) .build() @@ -1878,6 +1941,8 @@ extension FisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fis") .withSigningRegion(value: config.signingRegion) .build() @@ -1948,6 +2013,8 @@ extension FisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fis") .withSigningRegion(value: config.signingRegion) .build() @@ -2020,6 +2087,8 @@ extension FisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fis") .withSigningRegion(value: config.signingRegion) .build() @@ -2091,6 +2160,8 @@ extension FisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "fis") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSForecast/Package.swift.txt b/Sources/Services/AWSForecast/Package.swift.txt index 84c87b12e61..61301597691 100644 --- a/Sources/Services/AWSForecast/Package.swift.txt +++ b/Sources/Services/AWSForecast/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSForecast/Sources/AWSForecast/ForecastClient.swift b/Sources/Services/AWSForecast/Sources/AWSForecast/ForecastClient.swift index ba61207aba3..d9b3decba52 100644 --- a/Sources/Services/AWSForecast/Sources/AWSForecast/ForecastClient.swift +++ b/Sources/Services/AWSForecast/Sources/AWSForecast/ForecastClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ForecastClient: ClientRuntime.Client { public static let clientName = "ForecastClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ForecastClient.ForecastClientConfiguration let serviceName = "forecast" @@ -94,6 +95,8 @@ extension ForecastClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension ForecastClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension ForecastClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension ForecastClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension ForecastClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension ForecastClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension ForecastClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension ForecastClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension ForecastClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -389,6 +408,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -471,6 +492,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -546,6 +569,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -621,6 +646,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -740,6 +767,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -815,6 +844,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -890,6 +921,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -965,6 +998,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -1040,6 +1075,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -1126,6 +1163,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -1201,6 +1240,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -1276,6 +1317,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -1351,6 +1394,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -1426,6 +1471,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -1499,6 +1546,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -1572,6 +1621,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -1645,6 +1696,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -1718,6 +1771,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -1791,6 +1846,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -1864,6 +1921,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -1937,6 +1996,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -2010,6 +2071,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -2083,6 +2146,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -2156,6 +2221,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -2240,6 +2307,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -2313,6 +2382,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -2386,6 +2457,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -2459,6 +2532,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -2531,6 +2606,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -2609,6 +2686,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -2689,6 +2768,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -2773,6 +2854,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -2845,6 +2928,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -2917,6 +3002,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -2999,6 +3086,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -3079,6 +3168,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -3165,6 +3256,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -3249,6 +3342,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -3329,6 +3424,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -3409,6 +3506,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -3489,6 +3588,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -3569,6 +3670,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -3642,6 +3745,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -3713,6 +3818,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -3785,6 +3892,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -3856,6 +3965,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -3928,6 +4039,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -4000,6 +4113,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -4072,6 +4187,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -4144,6 +4261,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -4217,6 +4336,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -4289,6 +4410,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -4361,6 +4484,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -4433,6 +4558,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -4505,6 +4632,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -4577,6 +4706,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -4649,6 +4780,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -4721,6 +4854,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -4795,6 +4930,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -4882,6 +5019,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -4955,6 +5094,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -5027,6 +5168,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -5100,6 +5243,8 @@ extension ForecastClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSForecastquery/Package.swift.txt b/Sources/Services/AWSForecastquery/Package.swift.txt index 840092e94da..99372032ea5 100644 --- a/Sources/Services/AWSForecastquery/Package.swift.txt +++ b/Sources/Services/AWSForecastquery/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSForecastquery/Sources/AWSForecastquery/ForecastqueryClient.swift b/Sources/Services/AWSForecastquery/Sources/AWSForecastquery/ForecastqueryClient.swift index 3a1b2c75f6d..c7a7fec5731 100644 --- a/Sources/Services/AWSForecastquery/Sources/AWSForecastquery/ForecastqueryClient.swift +++ b/Sources/Services/AWSForecastquery/Sources/AWSForecastquery/ForecastqueryClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ForecastqueryClient: ClientRuntime.Client { public static let clientName = "ForecastqueryClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ForecastqueryClient.ForecastqueryClientConfiguration let serviceName = "forecastquery" @@ -93,6 +94,8 @@ extension ForecastqueryClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension ForecastqueryClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension ForecastqueryClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension ForecastqueryClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension ForecastqueryClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension ForecastqueryClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension ForecastqueryClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension ForecastqueryClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension ForecastqueryClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension ForecastqueryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() @@ -445,6 +466,8 @@ extension ForecastqueryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "forecast") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSFraudDetector/Package.swift.txt b/Sources/Services/AWSFraudDetector/Package.swift.txt index 78e7b3382fb..d534a15d611 100644 --- a/Sources/Services/AWSFraudDetector/Package.swift.txt +++ b/Sources/Services/AWSFraudDetector/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSFraudDetector/Sources/AWSFraudDetector/FraudDetectorClient.swift b/Sources/Services/AWSFraudDetector/Sources/AWSFraudDetector/FraudDetectorClient.swift index 679d502d404..baff0f3f1d5 100644 --- a/Sources/Services/AWSFraudDetector/Sources/AWSFraudDetector/FraudDetectorClient.swift +++ b/Sources/Services/AWSFraudDetector/Sources/AWSFraudDetector/FraudDetectorClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class FraudDetectorClient: ClientRuntime.Client { public static let clientName = "FraudDetectorClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: FraudDetectorClient.FraudDetectorClientConfiguration let serviceName = "FraudDetector" @@ -93,6 +94,8 @@ extension FraudDetectorClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension FraudDetectorClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension FraudDetectorClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension FraudDetectorClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension FraudDetectorClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension FraudDetectorClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension FraudDetectorClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension FraudDetectorClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension FraudDetectorClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -369,6 +388,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -443,6 +464,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -518,6 +541,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -593,6 +618,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -668,6 +695,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -743,6 +772,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -818,6 +849,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -892,6 +925,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -966,6 +1001,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -1041,6 +1078,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -1115,6 +1154,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -1189,6 +1230,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -1263,6 +1306,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -1337,6 +1382,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -1412,6 +1459,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -1488,6 +1537,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -1563,6 +1614,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -1637,6 +1690,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -1712,6 +1767,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -1788,6 +1845,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -1863,6 +1922,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -1937,6 +1998,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -2012,6 +2075,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -2087,6 +2152,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -2162,6 +2229,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -2237,6 +2306,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -2312,6 +2383,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -2387,6 +2460,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -2462,6 +2537,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -2537,6 +2614,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -2612,6 +2691,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -2687,6 +2768,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -2762,6 +2845,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -2837,6 +2922,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -2912,6 +2999,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -2987,6 +3076,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -3062,6 +3153,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -3139,6 +3232,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -3214,6 +3309,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -3289,6 +3386,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -3364,6 +3463,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -3438,6 +3539,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -3513,6 +3616,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -3588,6 +3693,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -3663,6 +3770,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -3738,6 +3847,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -3813,6 +3924,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -3888,6 +4001,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -3963,6 +4078,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -4038,6 +4155,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -4112,6 +4231,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -4186,6 +4307,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -4261,6 +4384,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -4336,6 +4461,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -4411,6 +4538,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -4486,6 +4615,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -4562,6 +4693,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -4637,6 +4770,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -4712,6 +4847,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -4788,6 +4925,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -4862,6 +5001,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -4936,6 +5077,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -5012,6 +5155,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -5087,6 +5232,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -5163,6 +5310,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -5239,6 +5388,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -5315,6 +5466,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -5391,6 +5544,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -5467,6 +5622,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -5549,6 +5706,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -5625,6 +5784,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -5701,6 +5862,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() @@ -5777,6 +5940,8 @@ extension FraudDetectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "frauddetector") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSFreeTier/Package.swift.txt b/Sources/Services/AWSFreeTier/Package.swift.txt index 9e0eaf13f5f..ac37102043c 100644 --- a/Sources/Services/AWSFreeTier/Package.swift.txt +++ b/Sources/Services/AWSFreeTier/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSFreeTier/Sources/AWSFreeTier/FreeTierClient.swift b/Sources/Services/AWSFreeTier/Sources/AWSFreeTier/FreeTierClient.swift index 76ab1c57c37..745d6ca9197 100644 --- a/Sources/Services/AWSFreeTier/Sources/AWSFreeTier/FreeTierClient.swift +++ b/Sources/Services/AWSFreeTier/Sources/AWSFreeTier/FreeTierClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class FreeTierClient: ClientRuntime.Client { public static let clientName = "FreeTierClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: FreeTierClient.FreeTierClientConfiguration let serviceName = "FreeTier" @@ -93,6 +94,8 @@ extension FreeTierClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension FreeTierClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension FreeTierClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension FreeTierClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension FreeTierClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension FreeTierClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension FreeTierClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension FreeTierClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension FreeTierClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -368,6 +387,8 @@ extension FreeTierClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "freetier") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSGameLift/Package.swift.txt b/Sources/Services/AWSGameLift/Package.swift.txt index cc9fe5c6531..b87feb18acd 100644 --- a/Sources/Services/AWSGameLift/Package.swift.txt +++ b/Sources/Services/AWSGameLift/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSGameLift/Sources/AWSGameLift/GameLiftClient.swift b/Sources/Services/AWSGameLift/Sources/AWSGameLift/GameLiftClient.swift index 6f98149f499..c502e222384 100644 --- a/Sources/Services/AWSGameLift/Sources/AWSGameLift/GameLiftClient.swift +++ b/Sources/Services/AWSGameLift/Sources/AWSGameLift/GameLiftClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GameLiftClient: ClientRuntime.Client { public static let clientName = "GameLiftClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: GameLiftClient.GameLiftClientConfiguration let serviceName = "GameLift" @@ -94,6 +95,8 @@ extension GameLiftClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension GameLiftClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension GameLiftClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension GameLiftClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension GameLiftClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension GameLiftClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension GameLiftClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension GameLiftClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension GameLiftClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -377,6 +396,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -462,6 +483,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -538,6 +561,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -620,6 +645,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -734,6 +761,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -880,6 +909,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -985,6 +1016,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -1064,6 +1097,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -1146,6 +1181,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -1236,6 +1273,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -1312,6 +1351,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -1388,6 +1429,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -1464,6 +1507,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -1545,6 +1590,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -1622,6 +1669,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -1699,6 +1748,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -1781,6 +1832,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -1855,6 +1908,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -1929,6 +1984,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -2004,6 +2061,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -2079,6 +2138,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -2155,6 +2216,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -2251,6 +2314,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -2327,6 +2392,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -2402,6 +2469,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -2485,6 +2554,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -2560,6 +2631,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -2634,6 +2707,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -2709,6 +2784,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -2786,6 +2863,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -2861,6 +2940,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -2936,6 +3017,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -3010,6 +3093,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -3084,6 +3169,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -3158,6 +3245,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -3232,6 +3321,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -3306,6 +3397,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -3380,6 +3473,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -3459,6 +3554,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -3539,6 +3636,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -3623,6 +3722,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -3713,6 +3814,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -3794,6 +3897,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -3876,6 +3981,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -3958,6 +4065,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -4033,6 +4142,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -4115,6 +4226,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -4190,6 +4303,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -4265,6 +4380,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -4347,6 +4464,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -4428,6 +4547,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -4502,6 +4623,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -4576,6 +4699,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -4650,6 +4775,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -4735,6 +4862,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -4809,6 +4938,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -4883,6 +5014,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -4968,6 +5101,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -5052,6 +5187,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -5125,6 +5262,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -5198,6 +5337,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -5274,6 +5415,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -5357,6 +5500,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -5431,6 +5576,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -5506,6 +5653,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -5580,6 +5729,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -5653,6 +5804,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -5727,6 +5880,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -5804,6 +5959,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -5892,6 +6049,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -5966,6 +6125,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -6047,6 +6208,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -6120,6 +6283,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -6193,6 +6358,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -6278,6 +6445,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -6361,6 +6530,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -6443,6 +6614,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -6524,6 +6697,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -6606,6 +6781,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -6689,6 +6866,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -6762,6 +6941,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -6835,6 +7016,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -6908,6 +7091,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -6981,6 +7166,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -7056,6 +7243,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -7131,6 +7320,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -7213,6 +7404,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -7288,6 +7481,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -7362,6 +7557,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -7437,6 +7634,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -7511,6 +7710,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -7611,6 +7812,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -7693,6 +7896,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -7791,6 +7996,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -7865,6 +8072,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -7939,6 +8148,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -8021,6 +8232,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -8095,6 +8308,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -8169,6 +8384,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -8248,6 +8465,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -8323,6 +8542,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -8406,6 +8627,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -8481,6 +8704,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -8555,6 +8780,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -8629,6 +8856,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -8728,6 +8957,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -8817,6 +9048,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -8894,6 +9127,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -8979,6 +9214,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -9056,6 +9293,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -9139,6 +9378,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -9213,6 +9454,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -9289,6 +9532,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -9363,6 +9608,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -9437,6 +9684,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -9513,6 +9762,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -9587,6 +9838,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() @@ -9662,6 +9915,8 @@ extension GameLiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "gamelift") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSGeoMaps/Package.swift.txt b/Sources/Services/AWSGeoMaps/Package.swift.txt index 35aff4e395b..7d1a9444f39 100644 --- a/Sources/Services/AWSGeoMaps/Package.swift.txt +++ b/Sources/Services/AWSGeoMaps/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSGeoMaps/Sources/AWSGeoMaps/GeoMapsClient.swift b/Sources/Services/AWSGeoMaps/Sources/AWSGeoMaps/GeoMapsClient.swift index 7f6fe7d2475..ba99451bc77 100644 --- a/Sources/Services/AWSGeoMaps/Sources/AWSGeoMaps/GeoMapsClient.swift +++ b/Sources/Services/AWSGeoMaps/Sources/AWSGeoMaps/GeoMapsClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPRequest import class SmithyHTTPAPI.HTTPResponse import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -59,7 +60,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GeoMapsClient: ClientRuntime.Client { public static let clientName = "GeoMapsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: GeoMapsClient.GeoMapsClientConfiguration let serviceName = "Geo Maps" @@ -89,6 +90,8 @@ extension GeoMapsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -114,6 +117,8 @@ extension GeoMapsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -137,6 +142,8 @@ extension GeoMapsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -163,6 +170,8 @@ extension GeoMapsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -187,6 +196,8 @@ extension GeoMapsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -213,6 +224,8 @@ extension GeoMapsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -237,6 +250,8 @@ extension GeoMapsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -264,6 +279,8 @@ extension GeoMapsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -291,6 +308,8 @@ extension GeoMapsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -357,6 +376,8 @@ extension GeoMapsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo-maps") .withSigningRegion(value: config.signingRegion) .build() @@ -419,6 +440,8 @@ extension GeoMapsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo-maps") .withSigningRegion(value: config.signingRegion) .build() @@ -489,6 +512,8 @@ extension GeoMapsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo-maps") .withSigningRegion(value: config.signingRegion) .build() @@ -552,6 +577,8 @@ extension GeoMapsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo-maps") .withSigningRegion(value: config.signingRegion) .build() @@ -623,6 +650,8 @@ extension GeoMapsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo-maps") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSGeoPlaces/Package.swift.txt b/Sources/Services/AWSGeoPlaces/Package.swift.txt index 6cb47170987..a549cc5bc47 100644 --- a/Sources/Services/AWSGeoPlaces/Package.swift.txt +++ b/Sources/Services/AWSGeoPlaces/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSGeoPlaces/Sources/AWSGeoPlaces/GeoPlacesClient.swift b/Sources/Services/AWSGeoPlaces/Sources/AWSGeoPlaces/GeoPlacesClient.swift index 06c79d17701..22a2a910723 100644 --- a/Sources/Services/AWSGeoPlaces/Sources/AWSGeoPlaces/GeoPlacesClient.swift +++ b/Sources/Services/AWSGeoPlaces/Sources/AWSGeoPlaces/GeoPlacesClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GeoPlacesClient: ClientRuntime.Client { public static let clientName = "GeoPlacesClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: GeoPlacesClient.GeoPlacesClientConfiguration let serviceName = "Geo Places" @@ -93,6 +94,8 @@ extension GeoPlacesClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension GeoPlacesClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension GeoPlacesClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension GeoPlacesClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension GeoPlacesClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension GeoPlacesClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension GeoPlacesClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension GeoPlacesClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension GeoPlacesClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -369,6 +388,8 @@ extension GeoPlacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo-places") .withSigningRegion(value: config.signingRegion) .build() @@ -443,6 +464,8 @@ extension GeoPlacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo-places") .withSigningRegion(value: config.signingRegion) .build() @@ -517,6 +540,8 @@ extension GeoPlacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo-places") .withSigningRegion(value: config.signingRegion) .build() @@ -588,6 +613,8 @@ extension GeoPlacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo-places") .withSigningRegion(value: config.signingRegion) .build() @@ -662,6 +689,8 @@ extension GeoPlacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo-places") .withSigningRegion(value: config.signingRegion) .build() @@ -736,6 +765,8 @@ extension GeoPlacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo-places") .withSigningRegion(value: config.signingRegion) .build() @@ -810,6 +841,8 @@ extension GeoPlacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo-places") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSGeoRoutes/Package.swift.txt b/Sources/Services/AWSGeoRoutes/Package.swift.txt index f662e6e1042..747653f97f7 100644 --- a/Sources/Services/AWSGeoRoutes/Package.swift.txt +++ b/Sources/Services/AWSGeoRoutes/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSGeoRoutes/Sources/AWSGeoRoutes/GeoRoutesClient.swift b/Sources/Services/AWSGeoRoutes/Sources/AWSGeoRoutes/GeoRoutesClient.swift index cab8d4d6512..1ccc61897d3 100644 --- a/Sources/Services/AWSGeoRoutes/Sources/AWSGeoRoutes/GeoRoutesClient.swift +++ b/Sources/Services/AWSGeoRoutes/Sources/AWSGeoRoutes/GeoRoutesClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GeoRoutesClient: ClientRuntime.Client { public static let clientName = "GeoRoutesClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: GeoRoutesClient.GeoRoutesClientConfiguration let serviceName = "Geo Routes" @@ -93,6 +94,8 @@ extension GeoRoutesClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension GeoRoutesClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension GeoRoutesClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension GeoRoutesClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension GeoRoutesClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension GeoRoutesClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension GeoRoutesClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension GeoRoutesClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension GeoRoutesClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -369,6 +388,8 @@ extension GeoRoutesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo-routes") .withSigningRegion(value: config.signingRegion) .build() @@ -443,6 +464,8 @@ extension GeoRoutesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo-routes") .withSigningRegion(value: config.signingRegion) .build() @@ -517,6 +540,8 @@ extension GeoRoutesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo-routes") .withSigningRegion(value: config.signingRegion) .build() @@ -591,6 +616,8 @@ extension GeoRoutesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo-routes") .withSigningRegion(value: config.signingRegion) .build() @@ -665,6 +692,8 @@ extension GeoRoutesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo-routes") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSGlacier/Package.swift.txt b/Sources/Services/AWSGlacier/Package.swift.txt index 197e8e89b5b..2d06a3cde21 100644 --- a/Sources/Services/AWSGlacier/Package.swift.txt +++ b/Sources/Services/AWSGlacier/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSGlacier/Sources/AWSGlacier/GlacierClient.swift b/Sources/Services/AWSGlacier/Sources/AWSGlacier/GlacierClient.swift index 026c51e0127..f172d744c90 100644 --- a/Sources/Services/AWSGlacier/Sources/AWSGlacier/GlacierClient.swift +++ b/Sources/Services/AWSGlacier/Sources/AWSGlacier/GlacierClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -70,7 +71,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GlacierClient: ClientRuntime.Client { public static let clientName = "GlacierClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: GlacierClient.GlacierClientConfiguration let serviceName = "Glacier" @@ -100,6 +101,8 @@ extension GlacierClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -125,6 +128,8 @@ extension GlacierClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -148,6 +153,8 @@ extension GlacierClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -174,6 +181,8 @@ extension GlacierClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -198,6 +207,8 @@ extension GlacierClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -224,6 +235,8 @@ extension GlacierClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -248,6 +261,8 @@ extension GlacierClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -275,6 +290,8 @@ extension GlacierClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -302,6 +319,8 @@ extension GlacierClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -376,6 +395,8 @@ extension GlacierClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glacier") .withSigningRegion(value: config.signingRegion) .build() @@ -457,6 +478,8 @@ extension GlacierClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glacier") .withSigningRegion(value: config.signingRegion) .build() @@ -539,6 +562,8 @@ extension GlacierClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glacier") .withSigningRegion(value: config.signingRegion) .build() @@ -624,6 +649,8 @@ extension GlacierClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glacier") .withSigningRegion(value: config.signingRegion) .build() @@ -706,6 +733,8 @@ extension GlacierClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glacier") .withSigningRegion(value: config.signingRegion) .build() @@ -794,6 +823,8 @@ extension GlacierClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glacier") .withSigningRegion(value: config.signingRegion) .build() @@ -882,6 +913,8 @@ extension GlacierClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glacier") .withSigningRegion(value: config.signingRegion) .build() @@ -963,6 +996,8 @@ extension GlacierClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glacier") .withSigningRegion(value: config.signingRegion) .build() @@ -1044,6 +1079,8 @@ extension GlacierClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glacier") .withSigningRegion(value: config.signingRegion) .build() @@ -1125,6 +1162,8 @@ extension GlacierClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glacier") .withSigningRegion(value: config.signingRegion) .build() @@ -1206,6 +1245,8 @@ extension GlacierClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glacier") .withSigningRegion(value: config.signingRegion) .build() @@ -1287,6 +1328,8 @@ extension GlacierClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glacier") .withSigningRegion(value: config.signingRegion) .build() @@ -1367,6 +1410,8 @@ extension GlacierClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glacier") .withSigningRegion(value: config.signingRegion) .build() @@ -1448,6 +1493,8 @@ extension GlacierClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glacier") .withSigningRegion(value: config.signingRegion) .build() @@ -1530,6 +1577,8 @@ extension GlacierClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glacier") .withSigningRegion(value: config.signingRegion) .build() @@ -1622,6 +1671,8 @@ extension GlacierClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glacier") .withSigningRegion(value: config.signingRegion) .build() @@ -1703,6 +1754,8 @@ extension GlacierClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glacier") .withSigningRegion(value: config.signingRegion) .build() @@ -1786,6 +1839,8 @@ extension GlacierClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glacier") .withSigningRegion(value: config.signingRegion) .build() @@ -1870,6 +1925,8 @@ extension GlacierClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glacier") .withSigningRegion(value: config.signingRegion) .build() @@ -1961,6 +2018,8 @@ extension GlacierClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glacier") .withSigningRegion(value: config.signingRegion) .build() @@ -2045,6 +2104,8 @@ extension GlacierClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glacier") .withSigningRegion(value: config.signingRegion) .build() @@ -2127,6 +2188,8 @@ extension GlacierClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glacier") .withSigningRegion(value: config.signingRegion) .build() @@ -2209,6 +2272,8 @@ extension GlacierClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glacier") .withSigningRegion(value: config.signingRegion) .build() @@ -2290,6 +2355,8 @@ extension GlacierClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glacier") .withSigningRegion(value: config.signingRegion) .build() @@ -2371,6 +2438,8 @@ extension GlacierClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glacier") .withSigningRegion(value: config.signingRegion) .build() @@ -2452,6 +2521,8 @@ extension GlacierClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glacier") .withSigningRegion(value: config.signingRegion) .build() @@ -2534,6 +2605,8 @@ extension GlacierClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glacier") .withSigningRegion(value: config.signingRegion) .build() @@ -2615,6 +2688,8 @@ extension GlacierClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glacier") .withSigningRegion(value: config.signingRegion) .build() @@ -2699,6 +2774,8 @@ extension GlacierClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glacier") .withSigningRegion(value: config.signingRegion) .build() @@ -2783,6 +2860,8 @@ extension GlacierClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glacier") .withSigningRegion(value: config.signingRegion) .build() @@ -2874,6 +2953,8 @@ extension GlacierClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glacier") .withSigningRegion(value: config.signingRegion) .build() @@ -2959,6 +3040,8 @@ extension GlacierClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glacier") .withSigningRegion(value: config.signingRegion) .build() @@ -3054,6 +3137,8 @@ extension GlacierClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glacier") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSGlobalAccelerator/Package.swift.txt b/Sources/Services/AWSGlobalAccelerator/Package.swift.txt index 12ca09a4dc9..d65b38b9469 100644 --- a/Sources/Services/AWSGlobalAccelerator/Package.swift.txt +++ b/Sources/Services/AWSGlobalAccelerator/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSGlobalAccelerator/Sources/AWSGlobalAccelerator/GlobalAcceleratorClient.swift b/Sources/Services/AWSGlobalAccelerator/Sources/AWSGlobalAccelerator/GlobalAcceleratorClient.swift index 3da166a0a05..ed1b09a5500 100644 --- a/Sources/Services/AWSGlobalAccelerator/Sources/AWSGlobalAccelerator/GlobalAcceleratorClient.swift +++ b/Sources/Services/AWSGlobalAccelerator/Sources/AWSGlobalAccelerator/GlobalAcceleratorClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GlobalAcceleratorClient: ClientRuntime.Client { public static let clientName = "GlobalAcceleratorClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: GlobalAcceleratorClient.GlobalAcceleratorClientConfiguration let serviceName = "Global Accelerator" @@ -94,6 +95,8 @@ extension GlobalAcceleratorClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension GlobalAcceleratorClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension GlobalAcceleratorClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension GlobalAcceleratorClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension GlobalAcceleratorClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension GlobalAcceleratorClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension GlobalAcceleratorClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension GlobalAcceleratorClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension GlobalAcceleratorClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -456,6 +477,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -531,6 +554,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -604,6 +629,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -679,6 +706,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -755,6 +784,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -831,6 +862,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -910,6 +943,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -986,6 +1021,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -1064,6 +1101,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -1140,6 +1179,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -1217,6 +1258,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -1292,6 +1335,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -1368,6 +1413,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -1441,6 +1488,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -1515,6 +1564,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -1588,6 +1639,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -1662,6 +1715,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -1735,6 +1790,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -1810,6 +1867,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -1883,6 +1942,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -1956,6 +2017,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -2030,6 +2093,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -2103,6 +2168,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -2176,6 +2243,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -2249,6 +2318,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -2322,6 +2393,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -2395,6 +2468,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -2468,6 +2543,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -2541,6 +2618,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -2615,6 +2694,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -2689,6 +2770,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -2761,6 +2844,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -2836,6 +2921,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -2909,6 +2996,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -2983,6 +3072,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -3057,6 +3148,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -3132,6 +3225,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -3206,6 +3301,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -3280,6 +3377,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -3354,6 +3453,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -3430,6 +3531,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -3505,6 +3608,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -3581,6 +3686,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -3660,6 +3767,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -3733,6 +3842,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -3806,6 +3917,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -3893,6 +4006,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -3968,6 +4083,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -4044,6 +4161,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -4119,6 +4238,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -4194,6 +4315,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -4269,6 +4392,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -4344,6 +4469,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -4419,6 +4546,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() @@ -4494,6 +4623,8 @@ extension GlobalAcceleratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "globalaccelerator") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSGlue/Package.swift.txt b/Sources/Services/AWSGlue/Package.swift.txt index 835df034b46..0cbad4057c1 100644 --- a/Sources/Services/AWSGlue/Package.swift.txt +++ b/Sources/Services/AWSGlue/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSGlue/Sources/AWSGlue/GlueClient.swift b/Sources/Services/AWSGlue/Sources/AWSGlue/GlueClient.swift index f6e92e92e12..7db7bfb146c 100644 --- a/Sources/Services/AWSGlue/Sources/AWSGlue/GlueClient.swift +++ b/Sources/Services/AWSGlue/Sources/AWSGlue/GlueClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GlueClient: ClientRuntime.Client { public static let clientName = "GlueClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: GlueClient.GlueClientConfiguration let serviceName = "Glue" @@ -95,6 +96,8 @@ extension GlueClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension GlueClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension GlueClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension GlueClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension GlueClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension GlueClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension GlueClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension GlueClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension GlueClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -520,6 +543,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -596,6 +621,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -670,6 +697,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -743,6 +772,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -815,6 +846,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -888,6 +921,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -961,6 +996,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -1035,6 +1072,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -1108,6 +1147,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -1186,6 +1227,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -1261,6 +1304,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -1334,6 +1379,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -1407,6 +1454,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -1481,6 +1530,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -1554,6 +1605,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -1629,6 +1682,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -1703,6 +1758,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -1777,6 +1834,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -1851,6 +1910,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -1927,6 +1988,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -2000,6 +2063,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -2075,6 +2140,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -2156,6 +2223,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -2229,6 +2298,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -2306,6 +2377,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -2381,6 +2454,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -2455,6 +2530,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -2532,6 +2609,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -2607,6 +2686,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -2687,6 +2768,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -2765,6 +2848,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -2847,6 +2932,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -2925,6 +3012,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -3002,6 +3091,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -3079,6 +3170,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -3156,6 +3249,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -3233,6 +3328,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -3310,6 +3407,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -3386,6 +3485,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -3463,6 +3564,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -3536,6 +3639,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -3611,6 +3716,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -3689,6 +3796,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -3770,6 +3879,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -3847,6 +3958,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -3925,6 +4038,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -4001,6 +4116,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -4078,6 +4195,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -4154,6 +4273,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -4227,6 +4348,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -4305,6 +4428,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -4377,6 +4502,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -4452,6 +4579,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -4527,6 +4656,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -4600,6 +4731,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -4672,6 +4805,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -4746,6 +4881,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -4821,6 +4958,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -4895,6 +5034,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -4972,6 +5113,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -5046,6 +5189,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -5127,6 +5272,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -5204,6 +5351,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -5277,6 +5426,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -5351,6 +5502,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -5425,6 +5578,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -5501,6 +5656,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -5575,6 +5732,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -5650,6 +5809,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -5724,6 +5885,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -5798,6 +5961,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -5872,6 +6037,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -5948,6 +6115,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -6026,6 +6195,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -6101,6 +6272,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -6175,6 +6348,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -6249,6 +6424,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -6323,6 +6500,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -6397,6 +6576,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -6471,6 +6652,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -6545,6 +6728,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -6622,6 +6807,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -6701,6 +6888,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -6778,6 +6967,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -6852,6 +7043,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -6925,6 +7118,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -6999,6 +7194,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -7077,6 +7274,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -7149,6 +7348,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -7227,6 +7428,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -7299,6 +7502,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -7370,6 +7575,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -7445,6 +7652,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -7520,6 +7729,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -7593,6 +7804,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -7664,6 +7877,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -7737,6 +7952,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -7811,6 +8028,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -7885,6 +8104,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -7957,6 +8178,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -8028,6 +8251,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -8099,6 +8324,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -8174,6 +8401,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -8247,6 +8476,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -8321,6 +8552,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -8395,6 +8628,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -8469,6 +8704,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -8543,6 +8780,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -8617,6 +8856,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -8691,6 +8932,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -8768,6 +9011,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -8845,6 +9090,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -8918,6 +9165,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -8992,6 +9241,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -9066,6 +9317,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -9143,6 +9396,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -9220,6 +9475,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -9297,6 +9554,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -9371,6 +9630,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -9452,6 +9713,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -9526,6 +9789,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -9600,6 +9865,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -9674,6 +9941,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -9748,6 +10017,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -9822,6 +10093,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -9896,6 +10169,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -9970,6 +10245,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -10044,6 +10321,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -10121,6 +10400,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -10196,6 +10477,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -10275,6 +10558,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -10348,6 +10633,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -10422,6 +10709,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -10496,6 +10785,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -10570,6 +10861,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -10644,6 +10937,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -10718,6 +11013,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -10792,6 +11089,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -10866,6 +11165,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -10940,6 +11241,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -11014,6 +11317,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -11089,6 +11394,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -11165,6 +11472,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -11243,6 +11552,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -11318,6 +11629,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -11393,6 +11706,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -11468,6 +11783,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -11545,6 +11862,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -11619,6 +11938,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -11693,6 +12014,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -11767,6 +12090,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -11845,6 +12170,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -11923,6 +12250,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -12001,6 +12330,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -12076,6 +12407,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -12151,6 +12484,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -12226,6 +12561,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -12300,6 +12637,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -12374,6 +12713,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -12448,6 +12789,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -12522,6 +12865,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -12594,6 +12939,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -12667,6 +13014,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -12738,6 +13087,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -12810,6 +13161,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -12881,6 +13234,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -12962,6 +13317,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -13035,6 +13392,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -13108,6 +13467,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -13181,6 +13542,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -13254,6 +13617,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -13328,6 +13693,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -13400,6 +13767,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -13473,6 +13842,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -13547,6 +13918,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -13624,6 +13997,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -13698,6 +14073,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -13772,6 +14149,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -13845,6 +14224,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -13919,6 +14300,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -13993,6 +14376,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -14067,6 +14452,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -14143,6 +14530,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -14219,6 +14608,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -14293,6 +14684,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -14367,6 +14760,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -14440,6 +14835,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -14521,6 +14918,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -14594,6 +14993,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -14667,6 +15068,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -14742,6 +15145,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -14817,6 +15222,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -14894,6 +15301,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -14967,6 +15376,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -15043,6 +15454,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -15116,6 +15529,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -15196,6 +15611,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -15272,6 +15689,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -15350,6 +15769,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -15423,6 +15844,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -15499,6 +15922,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -15575,6 +16000,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -15649,6 +16076,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -15722,6 +16151,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -15797,6 +16228,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -15871,6 +16304,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -15946,6 +16381,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -16020,6 +16457,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -16095,6 +16534,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -16171,6 +16612,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -16247,6 +16690,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -16322,6 +16767,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -16398,6 +16845,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -16474,6 +16923,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -16548,6 +16999,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -16621,6 +17074,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -16695,6 +17150,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -16769,6 +17226,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -16845,6 +17304,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -16920,6 +17381,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -16995,6 +17458,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -17069,6 +17534,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -17148,6 +17615,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -17222,6 +17691,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -17298,6 +17769,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -17376,6 +17849,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -17450,6 +17925,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -17525,6 +18002,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -17600,6 +18079,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -17675,6 +18156,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -17749,6 +18232,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -17824,6 +18309,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -17899,6 +18386,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -17976,6 +18465,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -18055,6 +18546,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -18130,6 +18623,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -18207,6 +18702,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -18284,6 +18781,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -18359,6 +18858,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -18436,6 +18937,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -18511,6 +19014,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -18586,6 +19091,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -18661,6 +19168,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -18736,6 +19245,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -18813,6 +19324,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -18894,6 +19407,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -18971,6 +19486,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -19046,6 +19563,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -19122,6 +19641,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -19197,6 +19718,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() @@ -19272,6 +19795,8 @@ extension GlueClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "glue") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSGrafana/Package.swift.txt b/Sources/Services/AWSGrafana/Package.swift.txt index 9dd56ab2116..9eeb06d0df9 100644 --- a/Sources/Services/AWSGrafana/Package.swift.txt +++ b/Sources/Services/AWSGrafana/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSGrafana/Sources/AWSGrafana/GrafanaClient.swift b/Sources/Services/AWSGrafana/Sources/AWSGrafana/GrafanaClient.swift index 74d1b0496fa..d9efd1e704f 100644 --- a/Sources/Services/AWSGrafana/Sources/AWSGrafana/GrafanaClient.swift +++ b/Sources/Services/AWSGrafana/Sources/AWSGrafana/GrafanaClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GrafanaClient: ClientRuntime.Client { public static let clientName = "GrafanaClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: GrafanaClient.GrafanaClientConfiguration let serviceName = "grafana" @@ -95,6 +96,8 @@ extension GrafanaClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension GrafanaClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension GrafanaClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension GrafanaClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension GrafanaClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension GrafanaClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension GrafanaClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension GrafanaClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension GrafanaClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension GrafanaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "grafana") .withSigningRegion(value: config.signingRegion) .build() @@ -445,6 +466,8 @@ extension GrafanaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "grafana") .withSigningRegion(value: config.signingRegion) .build() @@ -522,6 +545,8 @@ extension GrafanaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "grafana") .withSigningRegion(value: config.signingRegion) .build() @@ -598,6 +623,8 @@ extension GrafanaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "grafana") .withSigningRegion(value: config.signingRegion) .build() @@ -674,6 +701,8 @@ extension GrafanaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "grafana") .withSigningRegion(value: config.signingRegion) .build() @@ -749,6 +778,8 @@ extension GrafanaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "grafana") .withSigningRegion(value: config.signingRegion) .build() @@ -821,6 +852,8 @@ extension GrafanaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "grafana") .withSigningRegion(value: config.signingRegion) .build() @@ -893,6 +926,8 @@ extension GrafanaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "grafana") .withSigningRegion(value: config.signingRegion) .build() @@ -965,6 +1000,8 @@ extension GrafanaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "grafana") .withSigningRegion(value: config.signingRegion) .build() @@ -1036,6 +1073,8 @@ extension GrafanaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "grafana") .withSigningRegion(value: config.signingRegion) .build() @@ -1108,6 +1147,8 @@ extension GrafanaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "grafana") .withSigningRegion(value: config.signingRegion) .build() @@ -1178,6 +1219,8 @@ extension GrafanaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "grafana") .withSigningRegion(value: config.signingRegion) .build() @@ -1249,6 +1292,8 @@ extension GrafanaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "grafana") .withSigningRegion(value: config.signingRegion) .build() @@ -1320,6 +1365,8 @@ extension GrafanaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "grafana") .withSigningRegion(value: config.signingRegion) .build() @@ -1392,6 +1439,8 @@ extension GrafanaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "grafana") .withSigningRegion(value: config.signingRegion) .build() @@ -1463,6 +1512,8 @@ extension GrafanaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "grafana") .withSigningRegion(value: config.signingRegion) .build() @@ -1536,6 +1587,8 @@ extension GrafanaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "grafana") .withSigningRegion(value: config.signingRegion) .build() @@ -1609,6 +1662,8 @@ extension GrafanaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "grafana") .withSigningRegion(value: config.signingRegion) .build() @@ -1679,6 +1734,8 @@ extension GrafanaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "grafana") .withSigningRegion(value: config.signingRegion) .build() @@ -1751,6 +1808,8 @@ extension GrafanaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "grafana") .withSigningRegion(value: config.signingRegion) .build() @@ -1825,6 +1884,8 @@ extension GrafanaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "grafana") .withSigningRegion(value: config.signingRegion) .build() @@ -1897,6 +1958,8 @@ extension GrafanaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "grafana") .withSigningRegion(value: config.signingRegion) .build() @@ -1972,6 +2035,8 @@ extension GrafanaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "grafana") .withSigningRegion(value: config.signingRegion) .build() @@ -2047,6 +2112,8 @@ extension GrafanaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "grafana") .withSigningRegion(value: config.signingRegion) .build() @@ -2122,6 +2189,8 @@ extension GrafanaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "grafana") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSGreengrass/Package.swift.txt b/Sources/Services/AWSGreengrass/Package.swift.txt index 3281f724ae5..374b28ee25b 100644 --- a/Sources/Services/AWSGreengrass/Package.swift.txt +++ b/Sources/Services/AWSGreengrass/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSGreengrass/Sources/AWSGreengrass/GreengrassClient.swift b/Sources/Services/AWSGreengrass/Sources/AWSGreengrass/GreengrassClient.swift index d1e874d8a40..4856e943b74 100644 --- a/Sources/Services/AWSGreengrass/Sources/AWSGreengrass/GreengrassClient.swift +++ b/Sources/Services/AWSGreengrass/Sources/AWSGreengrass/GreengrassClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GreengrassClient: ClientRuntime.Client { public static let clientName = "GreengrassClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: GreengrassClient.GreengrassClientConfiguration let serviceName = "Greengrass" @@ -94,6 +95,8 @@ extension GreengrassClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension GreengrassClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension GreengrassClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension GreengrassClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension GreengrassClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension GreengrassClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension GreengrassClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension GreengrassClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension GreengrassClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -368,6 +387,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -439,6 +460,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -509,6 +532,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -580,6 +605,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -651,6 +678,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -722,6 +751,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -793,6 +824,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -864,6 +897,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -935,6 +970,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -1006,6 +1043,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -1077,6 +1116,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -1148,6 +1189,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -1220,6 +1263,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -1288,6 +1333,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -1359,6 +1406,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -1430,6 +1479,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -1501,6 +1552,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -1572,6 +1625,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -1644,6 +1699,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -1715,6 +1772,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -1786,6 +1845,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -1857,6 +1918,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -1924,6 +1987,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -1991,6 +2056,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -2058,6 +2125,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -2125,6 +2194,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -2192,6 +2263,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -2259,6 +2332,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -2326,6 +2401,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -2394,6 +2471,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -2461,6 +2540,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -2529,6 +2610,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -2596,6 +2679,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -2664,6 +2749,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -2731,6 +2818,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -2798,6 +2887,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -2866,6 +2957,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -2933,6 +3026,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -3000,6 +3095,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -3067,6 +3164,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -3134,6 +3233,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -3202,6 +3303,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -3269,6 +3372,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -3337,6 +3442,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -3405,6 +3512,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -3473,6 +3582,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -3540,6 +3651,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -3607,6 +3720,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -3674,6 +3789,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -3742,6 +3859,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -3809,6 +3928,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -3876,6 +3997,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -3943,6 +4066,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -4010,6 +4135,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -4079,6 +4206,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -4146,6 +4275,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -4214,6 +4345,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -4282,6 +4415,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -4345,6 +4480,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -4413,6 +4550,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -4476,6 +4615,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -4544,6 +4685,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -4612,6 +4755,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -4675,6 +4820,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -4743,6 +4890,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -4806,6 +4955,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -4875,6 +5026,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -4942,6 +5095,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -5005,6 +5160,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -5073,6 +5230,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -5136,6 +5295,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -5204,6 +5365,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -5267,6 +5430,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -5335,6 +5500,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -5398,6 +5565,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -5466,6 +5635,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -5533,6 +5704,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -5604,6 +5777,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -5675,6 +5850,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -5742,6 +5919,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -5812,6 +5991,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -5881,6 +6062,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -5951,6 +6134,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -6021,6 +6206,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -6091,6 +6278,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -6161,6 +6350,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -6231,6 +6422,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -6302,6 +6495,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -6372,6 +6567,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -6442,6 +6639,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -6512,6 +6711,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -6583,6 +6784,8 @@ extension GreengrassClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSGreengrassV2/Package.swift.txt b/Sources/Services/AWSGreengrassV2/Package.swift.txt index 43ef71b783b..fb52fc4ccf9 100644 --- a/Sources/Services/AWSGreengrassV2/Package.swift.txt +++ b/Sources/Services/AWSGreengrassV2/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSGreengrassV2/Sources/AWSGreengrassV2/GreengrassV2Client.swift b/Sources/Services/AWSGreengrassV2/Sources/AWSGreengrassV2/GreengrassV2Client.swift index 1094b6e2cc8..db7e18511fa 100644 --- a/Sources/Services/AWSGreengrassV2/Sources/AWSGreengrassV2/GreengrassV2Client.swift +++ b/Sources/Services/AWSGreengrassV2/Sources/AWSGreengrassV2/GreengrassV2Client.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -66,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GreengrassV2Client: ClientRuntime.Client { public static let clientName = "GreengrassV2Client" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: GreengrassV2Client.GreengrassV2ClientConfiguration let serviceName = "GreengrassV2" @@ -96,6 +97,8 @@ extension GreengrassV2Client { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -121,6 +124,8 @@ extension GreengrassV2Client { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -144,6 +149,8 @@ extension GreengrassV2Client { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -170,6 +177,8 @@ extension GreengrassV2Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -194,6 +203,8 @@ extension GreengrassV2Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -220,6 +231,8 @@ extension GreengrassV2Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -244,6 +257,8 @@ extension GreengrassV2Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -271,6 +286,8 @@ extension GreengrassV2Client { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -298,6 +315,8 @@ extension GreengrassV2Client { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension GreengrassV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -444,6 +465,8 @@ extension GreengrassV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -518,6 +541,8 @@ extension GreengrassV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -593,6 +618,8 @@ extension GreengrassV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -670,6 +697,8 @@ extension GreengrassV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -747,6 +776,8 @@ extension GreengrassV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -823,6 +854,8 @@ extension GreengrassV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -895,6 +928,8 @@ extension GreengrassV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -967,6 +1002,8 @@ extension GreengrassV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -1038,6 +1075,8 @@ extension GreengrassV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -1105,6 +1144,8 @@ extension GreengrassV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -1176,6 +1217,8 @@ extension GreengrassV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -1248,6 +1291,8 @@ extension GreengrassV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -1318,6 +1363,8 @@ extension GreengrassV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -1399,6 +1446,8 @@ extension GreengrassV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -1470,6 +1519,8 @@ extension GreengrassV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -1537,6 +1588,8 @@ extension GreengrassV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -1608,6 +1661,8 @@ extension GreengrassV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -1680,6 +1735,8 @@ extension GreengrassV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -1752,6 +1809,8 @@ extension GreengrassV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -1835,6 +1894,8 @@ extension GreengrassV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -1906,6 +1967,8 @@ extension GreengrassV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -1978,6 +2041,8 @@ extension GreengrassV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -2060,6 +2125,8 @@ extension GreengrassV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -2130,6 +2197,8 @@ extension GreengrassV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -2202,6 +2271,8 @@ extension GreengrassV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -2274,6 +2345,8 @@ extension GreengrassV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -2346,6 +2419,8 @@ extension GreengrassV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() @@ -2415,6 +2490,8 @@ extension GreengrassV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "greengrass") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSGroundStation/Package.swift.txt b/Sources/Services/AWSGroundStation/Package.swift.txt index ab53839e0ac..6748d040f28 100644 --- a/Sources/Services/AWSGroundStation/Package.swift.txt +++ b/Sources/Services/AWSGroundStation/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSGroundStation/Sources/AWSGroundStation/GroundStationClient.swift b/Sources/Services/AWSGroundStation/Sources/AWSGroundStation/GroundStationClient.swift index 506c78c4f01..b2acab681c2 100644 --- a/Sources/Services/AWSGroundStation/Sources/AWSGroundStation/GroundStationClient.swift +++ b/Sources/Services/AWSGroundStation/Sources/AWSGroundStation/GroundStationClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GroundStationClient: ClientRuntime.Client { public static let clientName = "GroundStationClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: GroundStationClient.GroundStationClientConfiguration let serviceName = "GroundStation" @@ -94,6 +95,8 @@ extension GroundStationClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension GroundStationClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension GroundStationClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension GroundStationClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension GroundStationClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension GroundStationClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension GroundStationClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension GroundStationClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension GroundStationClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -369,6 +388,8 @@ extension GroundStationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "groundstation") .withSigningRegion(value: config.signingRegion) .build() @@ -439,6 +460,8 @@ extension GroundStationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "groundstation") .withSigningRegion(value: config.signingRegion) .build() @@ -511,6 +534,8 @@ extension GroundStationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "groundstation") .withSigningRegion(value: config.signingRegion) .build() @@ -583,6 +608,8 @@ extension GroundStationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "groundstation") .withSigningRegion(value: config.signingRegion) .build() @@ -655,6 +682,8 @@ extension GroundStationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "groundstation") .withSigningRegion(value: config.signingRegion) .build() @@ -727,6 +756,8 @@ extension GroundStationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "groundstation") .withSigningRegion(value: config.signingRegion) .build() @@ -796,6 +827,8 @@ extension GroundStationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "groundstation") .withSigningRegion(value: config.signingRegion) .build() @@ -865,6 +898,8 @@ extension GroundStationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "groundstation") .withSigningRegion(value: config.signingRegion) .build() @@ -934,6 +969,8 @@ extension GroundStationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "groundstation") .withSigningRegion(value: config.signingRegion) .build() @@ -1003,6 +1040,8 @@ extension GroundStationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "groundstation") .withSigningRegion(value: config.signingRegion) .build() @@ -1072,6 +1111,8 @@ extension GroundStationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "groundstation") .withSigningRegion(value: config.signingRegion) .build() @@ -1141,6 +1182,8 @@ extension GroundStationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "groundstation") .withSigningRegion(value: config.signingRegion) .build() @@ -1210,6 +1253,8 @@ extension GroundStationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "groundstation") .withSigningRegion(value: config.signingRegion) .build() @@ -1279,6 +1324,8 @@ extension GroundStationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "groundstation") .withSigningRegion(value: config.signingRegion) .build() @@ -1348,6 +1395,8 @@ extension GroundStationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "groundstation") .withSigningRegion(value: config.signingRegion) .build() @@ -1420,6 +1469,8 @@ extension GroundStationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "groundstation") .withSigningRegion(value: config.signingRegion) .build() @@ -1489,6 +1540,8 @@ extension GroundStationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "groundstation") .withSigningRegion(value: config.signingRegion) .build() @@ -1558,6 +1611,8 @@ extension GroundStationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "groundstation") .withSigningRegion(value: config.signingRegion) .build() @@ -1628,6 +1683,8 @@ extension GroundStationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "groundstation") .withSigningRegion(value: config.signingRegion) .build() @@ -1700,6 +1757,8 @@ extension GroundStationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "groundstation") .withSigningRegion(value: config.signingRegion) .build() @@ -1770,6 +1829,8 @@ extension GroundStationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "groundstation") .withSigningRegion(value: config.signingRegion) .build() @@ -1843,6 +1904,8 @@ extension GroundStationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "groundstation") .withSigningRegion(value: config.signingRegion) .build() @@ -1913,6 +1976,8 @@ extension GroundStationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "groundstation") .withSigningRegion(value: config.signingRegion) .build() @@ -1983,6 +2048,8 @@ extension GroundStationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "groundstation") .withSigningRegion(value: config.signingRegion) .build() @@ -2053,6 +2120,8 @@ extension GroundStationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "groundstation") .withSigningRegion(value: config.signingRegion) .build() @@ -2122,6 +2191,8 @@ extension GroundStationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "groundstation") .withSigningRegion(value: config.signingRegion) .build() @@ -2194,6 +2265,8 @@ extension GroundStationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "groundstation") .withSigningRegion(value: config.signingRegion) .build() @@ -2266,6 +2339,8 @@ extension GroundStationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "groundstation") .withSigningRegion(value: config.signingRegion) .build() @@ -2338,6 +2413,8 @@ extension GroundStationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "groundstation") .withSigningRegion(value: config.signingRegion) .build() @@ -2408,6 +2485,8 @@ extension GroundStationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "groundstation") .withSigningRegion(value: config.signingRegion) .build() @@ -2480,6 +2559,8 @@ extension GroundStationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "groundstation") .withSigningRegion(value: config.signingRegion) .build() @@ -2552,6 +2633,8 @@ extension GroundStationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "groundstation") .withSigningRegion(value: config.signingRegion) .build() @@ -2624,6 +2707,8 @@ extension GroundStationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "groundstation") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSGuardDuty/Package.swift.txt b/Sources/Services/AWSGuardDuty/Package.swift.txt index ece918c5e97..901707fa6b1 100644 --- a/Sources/Services/AWSGuardDuty/Package.swift.txt +++ b/Sources/Services/AWSGuardDuty/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSGuardDuty/Sources/AWSGuardDuty/GuardDutyClient.swift b/Sources/Services/AWSGuardDuty/Sources/AWSGuardDuty/GuardDutyClient.swift index eb3c7e8425a..c76ff9d767d 100644 --- a/Sources/Services/AWSGuardDuty/Sources/AWSGuardDuty/GuardDutyClient.swift +++ b/Sources/Services/AWSGuardDuty/Sources/AWSGuardDuty/GuardDutyClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class GuardDutyClient: ClientRuntime.Client { public static let clientName = "GuardDutyClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: GuardDutyClient.GuardDutyClientConfiguration let serviceName = "GuardDuty" @@ -95,6 +96,8 @@ extension GuardDutyClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension GuardDutyClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension GuardDutyClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension GuardDutyClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension GuardDutyClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension GuardDutyClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension GuardDutyClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension GuardDutyClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension GuardDutyClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -369,6 +388,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -441,6 +462,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -512,6 +535,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -590,6 +615,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -662,6 +689,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -734,6 +763,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -808,6 +839,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -880,6 +913,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -951,6 +986,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -1023,6 +1060,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -1094,6 +1133,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -1166,6 +1207,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -1237,6 +1280,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -1305,6 +1350,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -1373,6 +1420,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -1441,6 +1490,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -1514,6 +1565,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -1582,6 +1635,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -1653,6 +1708,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -1721,6 +1778,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -1789,6 +1848,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -1860,6 +1921,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -1929,6 +1992,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -1997,6 +2062,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -2068,6 +2135,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -2137,6 +2206,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -2205,6 +2276,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -2276,6 +2349,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -2347,6 +2422,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -2415,6 +2492,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -2486,6 +2565,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -2554,6 +2635,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -2622,6 +2705,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -2693,6 +2778,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -2764,6 +2851,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -2832,6 +2921,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -2902,6 +2993,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -2970,6 +3063,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -3039,6 +3134,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -3107,6 +3204,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -3178,6 +3277,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -3249,6 +3350,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -3317,6 +3420,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -3388,6 +3493,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -3456,6 +3563,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -3527,6 +3636,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -3598,6 +3709,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -3669,6 +3782,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -3738,6 +3853,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -3807,6 +3924,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -3878,6 +3997,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -3947,6 +4068,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -4017,6 +4140,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -4086,6 +4211,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -4155,6 +4282,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -4224,6 +4353,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -4294,6 +4425,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -4362,6 +4495,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -4432,6 +4567,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -4503,6 +4640,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -4574,6 +4713,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -4646,6 +4787,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -4717,6 +4860,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -4789,6 +4934,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -4858,6 +5005,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -4929,6 +5078,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -5000,6 +5151,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -5071,6 +5224,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -5144,6 +5299,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -5215,6 +5372,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -5286,6 +5445,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -5357,6 +5518,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -5428,6 +5591,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() @@ -5499,6 +5664,8 @@ extension GuardDutyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "guardduty") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSHealth/Package.swift.txt b/Sources/Services/AWSHealth/Package.swift.txt index 6515bb0514c..0723f19fe55 100644 --- a/Sources/Services/AWSHealth/Package.swift.txt +++ b/Sources/Services/AWSHealth/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSHealth/Sources/AWSHealth/HealthClient.swift b/Sources/Services/AWSHealth/Sources/AWSHealth/HealthClient.swift index 587ded55dd6..c1fde11e3ce 100644 --- a/Sources/Services/AWSHealth/Sources/AWSHealth/HealthClient.swift +++ b/Sources/Services/AWSHealth/Sources/AWSHealth/HealthClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class HealthClient: ClientRuntime.Client { public static let clientName = "HealthClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: HealthClient.HealthClientConfiguration let serviceName = "Health" @@ -93,6 +94,8 @@ extension HealthClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension HealthClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension HealthClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension HealthClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension HealthClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension HealthClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension HealthClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension HealthClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension HealthClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -366,6 +385,8 @@ extension HealthClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "health") .withSigningRegion(value: config.signingRegion) .build() @@ -442,6 +463,8 @@ extension HealthClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "health") .withSigningRegion(value: config.signingRegion) .build() @@ -518,6 +541,8 @@ extension HealthClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "health") .withSigningRegion(value: config.signingRegion) .build() @@ -584,6 +609,8 @@ extension HealthClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "health") .withSigningRegion(value: config.signingRegion) .build() @@ -650,6 +677,8 @@ extension HealthClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "health") .withSigningRegion(value: config.signingRegion) .build() @@ -721,6 +750,8 @@ extension HealthClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "health") .withSigningRegion(value: config.signingRegion) .build() @@ -792,6 +823,8 @@ extension HealthClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "health") .withSigningRegion(value: config.signingRegion) .build() @@ -870,6 +903,8 @@ extension HealthClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "health") .withSigningRegion(value: config.signingRegion) .build() @@ -942,6 +977,8 @@ extension HealthClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "health") .withSigningRegion(value: config.signingRegion) .build() @@ -1018,6 +1055,8 @@ extension HealthClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "health") .withSigningRegion(value: config.signingRegion) .build() @@ -1099,6 +1138,8 @@ extension HealthClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "health") .withSigningRegion(value: config.signingRegion) .build() @@ -1165,6 +1206,8 @@ extension HealthClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "health") .withSigningRegion(value: config.signingRegion) .build() @@ -1236,6 +1279,8 @@ extension HealthClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "health") .withSigningRegion(value: config.signingRegion) .build() @@ -1314,6 +1359,8 @@ extension HealthClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "health") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSHealthLake/Package.swift.txt b/Sources/Services/AWSHealthLake/Package.swift.txt index 887d11fee00..4d99141e23d 100644 --- a/Sources/Services/AWSHealthLake/Package.swift.txt +++ b/Sources/Services/AWSHealthLake/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSHealthLake/Sources/AWSHealthLake/HealthLakeClient.swift b/Sources/Services/AWSHealthLake/Sources/AWSHealthLake/HealthLakeClient.swift index 99b2b463141..23687bdc5fa 100644 --- a/Sources/Services/AWSHealthLake/Sources/AWSHealthLake/HealthLakeClient.swift +++ b/Sources/Services/AWSHealthLake/Sources/AWSHealthLake/HealthLakeClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class HealthLakeClient: ClientRuntime.Client { public static let clientName = "HealthLakeClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: HealthLakeClient.HealthLakeClientConfiguration let serviceName = "HealthLake" @@ -95,6 +96,8 @@ extension HealthLakeClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension HealthLakeClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension HealthLakeClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension HealthLakeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension HealthLakeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension HealthLakeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension HealthLakeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension HealthLakeClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension HealthLakeClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension HealthLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "healthlake") .withSigningRegion(value: config.signingRegion) .build() @@ -448,6 +469,8 @@ extension HealthLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "healthlake") .withSigningRegion(value: config.signingRegion) .build() @@ -522,6 +545,8 @@ extension HealthLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "healthlake") .withSigningRegion(value: config.signingRegion) .build() @@ -596,6 +621,8 @@ extension HealthLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "healthlake") .withSigningRegion(value: config.signingRegion) .build() @@ -670,6 +697,8 @@ extension HealthLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "healthlake") .withSigningRegion(value: config.signingRegion) .build() @@ -743,6 +772,8 @@ extension HealthLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "healthlake") .withSigningRegion(value: config.signingRegion) .build() @@ -818,6 +849,8 @@ extension HealthLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "healthlake") .withSigningRegion(value: config.signingRegion) .build() @@ -893,6 +926,8 @@ extension HealthLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "healthlake") .withSigningRegion(value: config.signingRegion) .build() @@ -965,6 +1000,8 @@ extension HealthLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "healthlake") .withSigningRegion(value: config.signingRegion) .build() @@ -1040,6 +1077,8 @@ extension HealthLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "healthlake") .withSigningRegion(value: config.signingRegion) .build() @@ -1116,6 +1155,8 @@ extension HealthLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "healthlake") .withSigningRegion(value: config.signingRegion) .build() @@ -1189,6 +1230,8 @@ extension HealthLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "healthlake") .withSigningRegion(value: config.signingRegion) .build() @@ -1261,6 +1304,8 @@ extension HealthLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "healthlake") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSIAM/Package.swift.txt b/Sources/Services/AWSIAM/Package.swift.txt index 3d7017e48b6..d75c2387d4e 100644 --- a/Sources/Services/AWSIAM/Package.swift.txt +++ b/Sources/Services/AWSIAM/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSIAM/Sources/AWSIAM/IAMClient.swift b/Sources/Services/AWSIAM/Sources/AWSIAM/IAMClient.swift index e0743d99ef4..fbd1121f888 100644 --- a/Sources/Services/AWSIAM/Sources/AWSIAM/IAMClient.swift +++ b/Sources/Services/AWSIAM/Sources/AWSIAM/IAMClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPRequest import class SmithyHTTPAPI.HTTPResponse import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IAMClient: ClientRuntime.Client { public static let clientName = "IAMClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: IAMClient.IAMClientConfiguration let serviceName = "IAM" @@ -93,6 +94,8 @@ extension IAMClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension IAMClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension IAMClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension IAMClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension IAMClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension IAMClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension IAMClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension IAMClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension IAMClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -369,6 +388,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -443,6 +464,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -515,6 +538,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -589,6 +614,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -664,6 +691,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -738,6 +767,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -813,6 +844,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -885,6 +918,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -958,6 +993,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -1031,6 +1068,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -1105,6 +1144,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -1179,6 +1220,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -1265,6 +1308,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -1340,6 +1385,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -1414,6 +1461,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -1489,6 +1538,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -1563,6 +1614,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -1636,6 +1689,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -1708,6 +1763,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -1783,6 +1840,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -1857,6 +1916,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -1931,6 +1992,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -2003,6 +2066,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -2076,6 +2141,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -2148,6 +2215,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -2221,6 +2290,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -2293,6 +2364,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -2366,6 +2439,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -2439,6 +2514,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -2511,6 +2588,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -2594,6 +2673,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -2668,6 +2749,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -2754,6 +2837,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -2826,6 +2911,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -2899,6 +2986,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -2972,6 +3061,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -3042,6 +3133,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -3115,6 +3208,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -3187,6 +3282,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -3257,6 +3354,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -3330,6 +3429,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -3422,6 +3523,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -3493,6 +3596,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -3565,6 +3670,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -3639,6 +3746,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -3712,6 +3821,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -3786,6 +3897,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -3859,6 +3972,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -3932,6 +4047,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -4005,6 +4122,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -4081,6 +4200,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -4159,6 +4280,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -4237,6 +4360,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -4308,6 +4433,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -4400,6 +4527,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -4478,6 +4607,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -4543,6 +4674,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -4613,6 +4746,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -4684,6 +4819,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -4754,6 +4891,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -4824,6 +4963,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -4895,6 +5036,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -4968,6 +5111,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -5039,6 +5184,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -5110,6 +5257,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -5181,6 +5330,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -5252,6 +5403,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -5323,6 +5476,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -5395,6 +5550,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -5465,6 +5622,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -5537,6 +5696,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -5609,6 +5770,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -5680,6 +5843,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -5751,6 +5916,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -5823,6 +5990,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -5894,6 +6063,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -5965,6 +6136,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -6047,6 +6220,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -6125,6 +6300,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -6197,6 +6374,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -6268,6 +6447,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -6339,6 +6520,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -6410,6 +6593,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -6480,6 +6665,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -6552,6 +6739,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -6624,6 +6813,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -6696,6 +6887,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -6768,6 +6961,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -6839,6 +7034,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -6909,6 +7106,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -6980,6 +7179,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -7051,6 +7252,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -7121,6 +7324,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -7192,6 +7397,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -7264,6 +7471,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -7335,6 +7544,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -7407,6 +7618,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -7477,6 +7690,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -7550,6 +7765,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -7620,6 +7837,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -7700,6 +7919,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -7772,6 +7993,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -7844,6 +8067,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -7915,6 +8140,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -7986,6 +8213,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -8065,6 +8294,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -8137,6 +8368,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -8207,6 +8440,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -8277,6 +8512,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -8348,6 +8585,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -8418,6 +8657,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -8489,6 +8730,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -8560,6 +8803,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -8631,6 +8876,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -8702,6 +8949,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -8779,6 +9028,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -8844,6 +9095,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -8917,6 +9170,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -8991,6 +9246,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -9065,6 +9322,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -9138,6 +9397,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -9211,6 +9472,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -9283,6 +9546,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -9356,6 +9621,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -9428,6 +9695,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -9498,6 +9767,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -9572,6 +9843,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -9645,6 +9918,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -9715,6 +9990,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -9786,6 +10063,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -9858,6 +10137,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -9943,6 +10224,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -10028,6 +10311,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -10113,6 +10398,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -10198,6 +10485,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -10288,6 +10577,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -10373,6 +10664,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -10460,6 +10753,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -10550,6 +10845,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -10623,6 +10920,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -10696,6 +10995,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -10769,6 +11070,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -10842,6 +11145,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -10914,6 +11219,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -10987,6 +11294,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -11060,6 +11369,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -11132,6 +11443,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -11204,6 +11517,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -11277,6 +11592,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -11351,6 +11668,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -11424,6 +11743,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -11498,6 +11819,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -11570,6 +11893,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -11642,6 +11967,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -11714,6 +12041,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -11787,6 +12116,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -11857,6 +12188,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -11930,6 +12263,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -12000,6 +12335,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -12072,6 +12409,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -12147,6 +12486,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -12221,6 +12562,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -12297,6 +12640,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() @@ -12374,6 +12719,8 @@ extension IAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iam") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSIVSRealTime/Package.swift.txt b/Sources/Services/AWSIVSRealTime/Package.swift.txt index 2c27469c62d..9709cf414d8 100644 --- a/Sources/Services/AWSIVSRealTime/Package.swift.txt +++ b/Sources/Services/AWSIVSRealTime/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSIVSRealTime/Sources/AWSIVSRealTime/IVSRealTimeClient.swift b/Sources/Services/AWSIVSRealTime/Sources/AWSIVSRealTime/IVSRealTimeClient.swift index 94c7b99ab8e..6728cf60c6e 100644 --- a/Sources/Services/AWSIVSRealTime/Sources/AWSIVSRealTime/IVSRealTimeClient.swift +++ b/Sources/Services/AWSIVSRealTime/Sources/AWSIVSRealTime/IVSRealTimeClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IVSRealTimeClient: ClientRuntime.Client { public static let clientName = "IVSRealTimeClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: IVSRealTimeClient.IVSRealTimeClientConfiguration let serviceName = "IVS RealTime" @@ -94,6 +95,8 @@ extension IVSRealTimeClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension IVSRealTimeClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension IVSRealTimeClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension IVSRealTimeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension IVSRealTimeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension IVSRealTimeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension IVSRealTimeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension IVSRealTimeClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension IVSRealTimeClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -520,6 +543,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -593,6 +618,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -669,6 +696,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -744,6 +773,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -818,6 +849,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -892,6 +925,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -966,6 +1001,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -1041,6 +1078,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -1114,6 +1153,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -1189,6 +1230,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -1264,6 +1307,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -1336,6 +1381,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -1408,6 +1455,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -1480,6 +1529,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -1552,6 +1603,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -1624,6 +1677,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -1699,6 +1754,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -1773,6 +1830,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -1847,6 +1906,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -1921,6 +1982,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -1992,6 +2055,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -2063,6 +2128,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -2134,6 +2201,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -2205,6 +2274,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -2276,6 +2347,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -2348,6 +2421,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -2422,6 +2497,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -2494,6 +2571,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -2577,6 +2656,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -2653,6 +2734,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -2725,6 +2808,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -2797,6 +2882,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -2869,6 +2956,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -2944,6 +3033,8 @@ extension IVSRealTimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSIdentitystore/Package.swift.txt b/Sources/Services/AWSIdentitystore/Package.swift.txt index 783053e5ddc..5082e113c10 100644 --- a/Sources/Services/AWSIdentitystore/Package.swift.txt +++ b/Sources/Services/AWSIdentitystore/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSIdentitystore/Sources/AWSIdentitystore/IdentitystoreClient.swift b/Sources/Services/AWSIdentitystore/Sources/AWSIdentitystore/IdentitystoreClient.swift index a385e7efc7c..b4ab9efb285 100644 --- a/Sources/Services/AWSIdentitystore/Sources/AWSIdentitystore/IdentitystoreClient.swift +++ b/Sources/Services/AWSIdentitystore/Sources/AWSIdentitystore/IdentitystoreClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IdentitystoreClient: ClientRuntime.Client { public static let clientName = "IdentitystoreClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: IdentitystoreClient.IdentitystoreClientConfiguration let serviceName = "identitystore" @@ -93,6 +94,8 @@ extension IdentitystoreClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension IdentitystoreClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension IdentitystoreClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension IdentitystoreClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension IdentitystoreClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension IdentitystoreClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension IdentitystoreClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension IdentitystoreClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension IdentitystoreClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -376,6 +395,8 @@ extension IdentitystoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "identitystore") .withSigningRegion(value: config.signingRegion) .build() @@ -457,6 +478,8 @@ extension IdentitystoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "identitystore") .withSigningRegion(value: config.signingRegion) .build() @@ -538,6 +561,8 @@ extension IdentitystoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "identitystore") .withSigningRegion(value: config.signingRegion) .build() @@ -618,6 +643,8 @@ extension IdentitystoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "identitystore") .withSigningRegion(value: config.signingRegion) .build() @@ -698,6 +725,8 @@ extension IdentitystoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "identitystore") .withSigningRegion(value: config.signingRegion) .build() @@ -778,6 +807,8 @@ extension IdentitystoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "identitystore") .withSigningRegion(value: config.signingRegion) .build() @@ -853,6 +884,8 @@ extension IdentitystoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "identitystore") .withSigningRegion(value: config.signingRegion) .build() @@ -928,6 +961,8 @@ extension IdentitystoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "identitystore") .withSigningRegion(value: config.signingRegion) .build() @@ -1003,6 +1038,8 @@ extension IdentitystoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "identitystore") .withSigningRegion(value: config.signingRegion) .build() @@ -1078,6 +1115,8 @@ extension IdentitystoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "identitystore") .withSigningRegion(value: config.signingRegion) .build() @@ -1153,6 +1192,8 @@ extension IdentitystoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "identitystore") .withSigningRegion(value: config.signingRegion) .build() @@ -1228,6 +1269,8 @@ extension IdentitystoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "identitystore") .withSigningRegion(value: config.signingRegion) .build() @@ -1303,6 +1346,8 @@ extension IdentitystoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "identitystore") .withSigningRegion(value: config.signingRegion) .build() @@ -1378,6 +1423,8 @@ extension IdentitystoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "identitystore") .withSigningRegion(value: config.signingRegion) .build() @@ -1453,6 +1500,8 @@ extension IdentitystoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "identitystore") .withSigningRegion(value: config.signingRegion) .build() @@ -1528,6 +1577,8 @@ extension IdentitystoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "identitystore") .withSigningRegion(value: config.signingRegion) .build() @@ -1603,6 +1654,8 @@ extension IdentitystoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "identitystore") .withSigningRegion(value: config.signingRegion) .build() @@ -1684,6 +1737,8 @@ extension IdentitystoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "identitystore") .withSigningRegion(value: config.signingRegion) .build() @@ -1765,6 +1820,8 @@ extension IdentitystoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "identitystore") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSImagebuilder/Package.swift.txt b/Sources/Services/AWSImagebuilder/Package.swift.txt index b34d004d6fd..09599a917d5 100644 --- a/Sources/Services/AWSImagebuilder/Package.swift.txt +++ b/Sources/Services/AWSImagebuilder/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSImagebuilder/Sources/AWSImagebuilder/ImagebuilderClient.swift b/Sources/Services/AWSImagebuilder/Sources/AWSImagebuilder/ImagebuilderClient.swift index 82b9aaa5ad8..82ccbe478cb 100644 --- a/Sources/Services/AWSImagebuilder/Sources/AWSImagebuilder/ImagebuilderClient.swift +++ b/Sources/Services/AWSImagebuilder/Sources/AWSImagebuilder/ImagebuilderClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ImagebuilderClient: ClientRuntime.Client { public static let clientName = "ImagebuilderClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ImagebuilderClient.ImagebuilderClientConfiguration let serviceName = "imagebuilder" @@ -95,6 +96,8 @@ extension ImagebuilderClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension ImagebuilderClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension ImagebuilderClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension ImagebuilderClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension ImagebuilderClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension ImagebuilderClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension ImagebuilderClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension ImagebuilderClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension ImagebuilderClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -375,6 +394,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -453,6 +474,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -538,6 +561,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -619,6 +644,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -700,6 +727,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -779,6 +808,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -859,6 +890,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -940,6 +973,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -1020,6 +1055,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -1100,6 +1137,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -1181,6 +1220,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -1258,6 +1299,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -1332,6 +1375,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -1406,6 +1451,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -1486,6 +1533,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -1560,6 +1609,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -1634,6 +1685,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -1708,6 +1761,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -1782,6 +1837,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -1856,6 +1913,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -1929,6 +1988,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -2002,6 +2063,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -2075,6 +2138,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -2148,6 +2213,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -2221,6 +2288,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -2294,6 +2363,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -2367,6 +2438,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -2440,6 +2513,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -2513,6 +2588,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -2586,6 +2663,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -2659,6 +2738,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -2732,6 +2813,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -2805,6 +2888,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -2878,6 +2963,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -2953,6 +3040,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -3026,6 +3115,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -3099,6 +3190,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -3176,6 +3269,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -3251,6 +3346,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -3324,6 +3421,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -3401,6 +3500,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -3477,6 +3578,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -3553,6 +3656,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -3629,6 +3734,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -3705,6 +3812,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -3782,6 +3891,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -3859,6 +3970,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -3935,6 +4048,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -4011,6 +4126,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -4095,6 +4212,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -4171,6 +4290,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -4247,6 +4368,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -4323,6 +4446,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -4399,6 +4524,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -4475,6 +4602,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -4551,6 +4680,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -4623,6 +4754,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -4696,6 +4829,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -4772,6 +4907,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -4848,6 +4985,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -4924,6 +5063,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -5000,6 +5141,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -5077,6 +5220,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -5154,6 +5299,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -5231,6 +5378,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -5308,6 +5457,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -5387,6 +5538,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -5466,6 +5619,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -5545,6 +5700,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -5618,6 +5775,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -5690,6 +5849,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -5766,6 +5927,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -5844,6 +6007,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -5922,6 +6087,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() @@ -6001,6 +6168,8 @@ extension ImagebuilderClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "imagebuilder") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSInspector/Package.swift.txt b/Sources/Services/AWSInspector/Package.swift.txt index 40736bbd251..63f8a4b27f7 100644 --- a/Sources/Services/AWSInspector/Package.swift.txt +++ b/Sources/Services/AWSInspector/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSInspector/Sources/AWSInspector/InspectorClient.swift b/Sources/Services/AWSInspector/Sources/AWSInspector/InspectorClient.swift index 8109beff5cd..b8c43c33962 100644 --- a/Sources/Services/AWSInspector/Sources/AWSInspector/InspectorClient.swift +++ b/Sources/Services/AWSInspector/Sources/AWSInspector/InspectorClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class InspectorClient: ClientRuntime.Client { public static let clientName = "InspectorClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: InspectorClient.InspectorClientConfiguration let serviceName = "Inspector" @@ -94,6 +95,8 @@ extension InspectorClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension InspectorClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension InspectorClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension InspectorClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension InspectorClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension InspectorClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension InspectorClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension InspectorClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension InspectorClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -448,6 +469,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -524,6 +547,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -600,6 +625,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -675,6 +702,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -751,6 +780,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -827,6 +858,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -903,6 +936,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -975,6 +1010,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -1047,6 +1084,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -1119,6 +1158,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -1190,6 +1231,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -1262,6 +1305,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -1334,6 +1379,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -1406,6 +1453,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -1478,6 +1527,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -1555,6 +1606,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -1629,6 +1682,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -1703,6 +1758,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -1777,6 +1834,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -1851,6 +1910,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -1924,6 +1985,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -1998,6 +2061,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -2072,6 +2137,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -2146,6 +2213,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -2220,6 +2289,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -2293,6 +2364,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -2367,6 +2440,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -2442,6 +2517,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -2517,6 +2594,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -2592,6 +2671,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -2667,6 +2748,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -2745,6 +2828,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -2820,6 +2905,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -2896,6 +2983,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -2971,6 +3060,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() @@ -3046,6 +3137,8 @@ extension InspectorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSInspector2/Package.swift.txt b/Sources/Services/AWSInspector2/Package.swift.txt index 0c7d7322d58..ea5ec15be57 100644 --- a/Sources/Services/AWSInspector2/Package.swift.txt +++ b/Sources/Services/AWSInspector2/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSInspector2/Sources/AWSInspector2/Inspector2Client.swift b/Sources/Services/AWSInspector2/Sources/AWSInspector2/Inspector2Client.swift index 8aba0f482a1..7d44fd45717 100644 --- a/Sources/Services/AWSInspector2/Sources/AWSInspector2/Inspector2Client.swift +++ b/Sources/Services/AWSInspector2/Sources/AWSInspector2/Inspector2Client.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Inspector2Client: ClientRuntime.Client { public static let clientName = "Inspector2Client" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: Inspector2Client.Inspector2ClientConfiguration let serviceName = "Inspector2" @@ -94,6 +95,8 @@ extension Inspector2Client { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension Inspector2Client { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension Inspector2Client { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension Inspector2Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension Inspector2Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension Inspector2Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension Inspector2Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension Inspector2Client { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension Inspector2Client { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -445,6 +466,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -518,6 +541,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -591,6 +616,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -664,6 +691,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -737,6 +766,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -810,6 +841,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -884,6 +917,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -958,6 +993,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -1031,6 +1068,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -1106,6 +1145,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -1180,6 +1221,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -1254,6 +1297,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -1328,6 +1373,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -1402,6 +1449,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -1475,6 +1524,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -1546,6 +1597,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -1621,6 +1674,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -1694,6 +1749,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -1768,6 +1825,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -1844,6 +1903,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -1919,6 +1980,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -1992,6 +2055,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -2064,6 +2129,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -2135,6 +2202,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -2205,6 +2274,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -2276,6 +2347,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -2348,6 +2421,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -2422,6 +2497,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -2496,6 +2573,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -2569,6 +2648,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -2642,6 +2723,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -2715,6 +2798,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -2788,6 +2873,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -2861,6 +2948,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -2933,6 +3022,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -3005,6 +3096,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -3078,6 +3171,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -3151,6 +3246,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -3223,6 +3320,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -3295,6 +3394,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -3368,6 +3469,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -3441,6 +3544,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -3511,6 +3616,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -3585,6 +3692,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -3658,6 +3767,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -3732,6 +3843,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -3806,6 +3919,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -3880,6 +3995,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -3954,6 +4071,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -4028,6 +4147,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -4101,6 +4222,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -4173,6 +4296,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -4246,6 +4371,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -4319,6 +4446,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -4393,6 +4522,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -4467,6 +4598,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -4540,6 +4673,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() @@ -4613,6 +4748,8 @@ extension Inspector2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector2") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSInspectorScan/Package.swift.txt b/Sources/Services/AWSInspectorScan/Package.swift.txt index d9e1af389ce..2e0c504d1ca 100644 --- a/Sources/Services/AWSInspectorScan/Package.swift.txt +++ b/Sources/Services/AWSInspectorScan/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSInspectorScan/Sources/AWSInspectorScan/InspectorScanClient.swift b/Sources/Services/AWSInspectorScan/Sources/AWSInspectorScan/InspectorScanClient.swift index 285720017ae..013b9cd8fe2 100644 --- a/Sources/Services/AWSInspectorScan/Sources/AWSInspectorScan/InspectorScanClient.swift +++ b/Sources/Services/AWSInspectorScan/Sources/AWSInspectorScan/InspectorScanClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class InspectorScanClient: ClientRuntime.Client { public static let clientName = "InspectorScanClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: InspectorScanClient.InspectorScanClientConfiguration let serviceName = "Inspector Scan" @@ -93,6 +94,8 @@ extension InspectorScanClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension InspectorScanClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension InspectorScanClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension InspectorScanClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension InspectorScanClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension InspectorScanClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension InspectorScanClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension InspectorScanClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension InspectorScanClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -369,6 +388,8 @@ extension InspectorScanClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "inspector-scan") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSInternetMonitor/Package.swift.txt b/Sources/Services/AWSInternetMonitor/Package.swift.txt index fb89236d6cb..ee4255a59d7 100644 --- a/Sources/Services/AWSInternetMonitor/Package.swift.txt +++ b/Sources/Services/AWSInternetMonitor/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSInternetMonitor/Sources/AWSInternetMonitor/InternetMonitorClient.swift b/Sources/Services/AWSInternetMonitor/Sources/AWSInternetMonitor/InternetMonitorClient.swift index 9450dea9a74..4f5dd2f95a2 100644 --- a/Sources/Services/AWSInternetMonitor/Sources/AWSInternetMonitor/InternetMonitorClient.swift +++ b/Sources/Services/AWSInternetMonitor/Sources/AWSInternetMonitor/InternetMonitorClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class InternetMonitorClient: ClientRuntime.Client { public static let clientName = "InternetMonitorClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: InternetMonitorClient.InternetMonitorClientConfiguration let serviceName = "InternetMonitor" @@ -95,6 +96,8 @@ extension InternetMonitorClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension InternetMonitorClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension InternetMonitorClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension InternetMonitorClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension InternetMonitorClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension InternetMonitorClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension InternetMonitorClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension InternetMonitorClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension InternetMonitorClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension InternetMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "internetmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -447,6 +468,8 @@ extension InternetMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "internetmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -517,6 +540,8 @@ extension InternetMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "internetmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -588,6 +613,8 @@ extension InternetMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "internetmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -658,6 +685,8 @@ extension InternetMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "internetmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -730,6 +759,8 @@ extension InternetMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "internetmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -812,6 +843,8 @@ extension InternetMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "internetmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -882,6 +915,8 @@ extension InternetMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "internetmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -953,6 +988,8 @@ extension InternetMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "internetmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -1024,6 +1061,8 @@ extension InternetMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "internetmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -1096,6 +1135,8 @@ extension InternetMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "internetmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -1167,6 +1208,8 @@ extension InternetMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "internetmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -1241,6 +1284,8 @@ extension InternetMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "internetmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -1312,6 +1357,8 @@ extension InternetMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "internetmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -1386,6 +1433,8 @@ extension InternetMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "internetmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -1459,6 +1508,8 @@ extension InternetMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "internetmonitor") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSInvoicing/Package.swift.txt b/Sources/Services/AWSInvoicing/Package.swift.txt index c8cbb067921..07c5e6e5d7f 100644 --- a/Sources/Services/AWSInvoicing/Package.swift.txt +++ b/Sources/Services/AWSInvoicing/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSInvoicing/Sources/AWSInvoicing/InvoicingClient.swift b/Sources/Services/AWSInvoicing/Sources/AWSInvoicing/InvoicingClient.swift index 7644a20bc71..9c178768c6d 100644 --- a/Sources/Services/AWSInvoicing/Sources/AWSInvoicing/InvoicingClient.swift +++ b/Sources/Services/AWSInvoicing/Sources/AWSInvoicing/InvoicingClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class InvoicingClient: ClientRuntime.Client { public static let clientName = "InvoicingClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: InvoicingClient.InvoicingClientConfiguration let serviceName = "Invoicing" @@ -94,6 +95,8 @@ extension InvoicingClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension InvoicingClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension InvoicingClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension InvoicingClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension InvoicingClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension InvoicingClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension InvoicingClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension InvoicingClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension InvoicingClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension InvoicingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "invoicing") .withSigningRegion(value: config.signingRegion) .build() @@ -445,6 +466,8 @@ extension InvoicingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "invoicing") .withSigningRegion(value: config.signingRegion) .build() @@ -520,6 +543,8 @@ extension InvoicingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "invoicing") .withSigningRegion(value: config.signingRegion) .build() @@ -595,6 +620,8 @@ extension InvoicingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "invoicing") .withSigningRegion(value: config.signingRegion) .build() @@ -669,6 +696,8 @@ extension InvoicingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "invoicing") .withSigningRegion(value: config.signingRegion) .build() @@ -744,6 +773,8 @@ extension InvoicingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "invoicing") .withSigningRegion(value: config.signingRegion) .build() @@ -820,6 +851,8 @@ extension InvoicingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "invoicing") .withSigningRegion(value: config.signingRegion) .build() @@ -895,6 +928,8 @@ extension InvoicingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "invoicing") .withSigningRegion(value: config.signingRegion) .build() @@ -970,6 +1005,8 @@ extension InvoicingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "invoicing") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSIoT/Package.swift.txt b/Sources/Services/AWSIoT/Package.swift.txt index 644f914db1b..6b30fad7893 100644 --- a/Sources/Services/AWSIoT/Package.swift.txt +++ b/Sources/Services/AWSIoT/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSIoT/Sources/AWSIoT/IoTClient.swift b/Sources/Services/AWSIoT/Sources/AWSIoT/IoTClient.swift index a399622c306..2d2e645da17 100644 --- a/Sources/Services/AWSIoT/Sources/AWSIoT/IoTClient.swift +++ b/Sources/Services/AWSIoT/Sources/AWSIoT/IoTClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -67,7 +68,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTClient: ClientRuntime.Client { public static let clientName = "IoTClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: IoTClient.IoTClientConfiguration let serviceName = "IoT" @@ -97,6 +98,8 @@ extension IoTClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -122,6 +125,8 @@ extension IoTClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -145,6 +150,8 @@ extension IoTClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -171,6 +178,8 @@ extension IoTClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -195,6 +204,8 @@ extension IoTClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -221,6 +232,8 @@ extension IoTClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -245,6 +258,8 @@ extension IoTClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -272,6 +287,8 @@ extension IoTClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -299,6 +316,8 @@ extension IoTClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -376,6 +395,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -447,6 +468,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -520,6 +543,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -595,6 +620,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -680,6 +707,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -757,6 +786,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -834,6 +865,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -907,6 +940,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -980,6 +1015,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -1052,6 +1089,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -1122,6 +1161,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -1195,6 +1236,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -1265,6 +1308,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -1336,6 +1381,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -1412,6 +1459,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -1488,6 +1537,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -1559,6 +1610,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -1630,6 +1683,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -1707,6 +1762,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -1780,6 +1837,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -1854,6 +1913,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -1931,6 +1992,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -2006,6 +2069,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -2080,6 +2145,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -2155,6 +2222,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -2233,6 +2302,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -2309,6 +2380,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -2389,6 +2462,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -2464,6 +2539,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -2539,6 +2616,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -2613,6 +2692,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -2685,6 +2766,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -2762,6 +2845,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -2836,6 +2921,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -2912,6 +2999,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -2990,6 +3079,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -3067,6 +3158,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -3143,6 +3236,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -3215,6 +3310,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -3291,6 +3388,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -3368,6 +3467,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -3442,6 +3543,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -3515,6 +3618,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -3592,6 +3697,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -3668,6 +3775,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -3741,6 +3850,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -3816,6 +3927,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -3891,6 +4004,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -3966,6 +4081,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -4039,6 +4156,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -4109,6 +4228,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -4185,6 +4306,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -4255,6 +4378,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -4329,6 +4454,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -4403,6 +4530,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -4477,6 +4606,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -4547,6 +4678,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -4617,6 +4750,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -4687,6 +4822,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -4756,6 +4893,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -4828,6 +4967,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -4898,6 +5039,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -4971,6 +5114,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -5044,6 +5189,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -5116,6 +5263,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -5187,6 +5336,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -5256,6 +5407,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -5329,6 +5482,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -5399,6 +5554,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -5470,6 +5627,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -5545,6 +5704,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -5618,6 +5779,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -5691,6 +5854,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -5764,6 +5929,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -5835,6 +6002,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -5908,6 +6077,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -5978,6 +6149,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -6048,6 +6221,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -6122,6 +6297,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -6195,6 +6372,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -6266,6 +6445,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -6339,6 +6520,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -6410,6 +6593,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -6481,6 +6666,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -6550,6 +6737,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -6623,6 +6812,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -6694,6 +6885,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -6764,6 +6957,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -6834,6 +7029,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -6904,6 +7101,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -6977,6 +7176,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -7049,6 +7250,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -7119,6 +7322,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -7191,6 +7396,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -7263,6 +7470,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -7335,6 +7544,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -7405,6 +7616,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -7477,6 +7690,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -7547,6 +7762,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -7617,6 +7834,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -7689,6 +7908,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -7759,6 +7980,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -7828,6 +8051,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -7900,6 +8125,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -7972,6 +8199,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -8042,6 +8271,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -8113,6 +8344,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -8184,6 +8417,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -8254,6 +8489,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -8325,6 +8562,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -8396,6 +8635,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -8467,6 +8708,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -8539,6 +8782,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -8609,6 +8854,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -8679,6 +8926,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -8751,6 +9000,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -8823,6 +9074,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -8893,6 +9146,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -8964,6 +9219,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -9036,6 +9293,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -9108,6 +9367,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -9184,6 +9445,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -9255,6 +9518,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -9328,6 +9593,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -9400,6 +9667,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -9471,6 +9740,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -9544,6 +9815,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -9614,6 +9887,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -9690,6 +9965,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -9768,6 +10045,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -9841,6 +10120,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -9911,6 +10192,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -9985,6 +10268,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -10060,6 +10345,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -10130,6 +10417,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -10200,6 +10489,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -10272,6 +10563,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -10342,6 +10635,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -10410,6 +10705,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -10480,6 +10777,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -10555,6 +10854,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -10630,6 +10931,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -10702,6 +11005,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -10773,6 +11078,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -10848,6 +11155,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -10924,6 +11233,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -10994,6 +11305,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -11064,6 +11377,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -11133,6 +11448,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -11203,6 +11520,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -11277,6 +11596,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -11347,6 +11668,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -11419,6 +11742,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -11489,6 +11814,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -11559,6 +11886,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -11631,6 +11960,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -11703,6 +12034,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -11774,6 +12107,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -11846,6 +12181,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -11918,6 +12255,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -11990,6 +12329,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -12062,6 +12403,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -12140,6 +12483,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -12213,6 +12558,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -12283,6 +12630,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -12353,6 +12702,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -12423,6 +12774,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -12493,6 +12846,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -12565,6 +12920,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -12637,6 +12994,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -12709,6 +13068,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -12780,6 +13141,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -12851,6 +13214,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -12921,6 +13286,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -12992,6 +13359,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -13063,6 +13432,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -13134,6 +13505,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -13204,6 +13577,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -13276,6 +13651,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -13348,6 +13725,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -13418,6 +13797,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -13488,6 +13869,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -13560,6 +13943,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -13634,6 +14019,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -13708,6 +14095,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -13781,6 +14170,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -13855,6 +14246,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -13929,6 +14322,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -14002,6 +14397,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -14073,6 +14470,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -14165,6 +14564,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -14237,6 +14638,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -14308,6 +14711,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -14378,6 +14783,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -14449,6 +14856,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -14520,6 +14929,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -14592,6 +15003,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -14663,6 +15076,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -14737,6 +15152,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -14808,6 +15225,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -14879,6 +15298,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -14950,6 +15371,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -15023,6 +15446,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -15096,6 +15521,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -15167,6 +15594,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -15238,6 +15667,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -15310,6 +15741,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -15382,6 +15815,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -15453,6 +15888,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -15524,6 +15961,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -15595,6 +16034,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -15665,6 +16106,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -15736,6 +16179,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -15806,6 +16251,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -15876,6 +16323,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -15955,6 +16404,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -16034,6 +16485,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -16112,6 +16565,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -16188,6 +16643,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -16264,6 +16721,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -16337,6 +16796,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -16410,6 +16871,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -16485,6 +16948,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -16562,6 +17027,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -16638,6 +17105,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -16713,6 +17182,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -16782,6 +17253,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -16856,6 +17329,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -16928,6 +17403,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -17002,6 +17479,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -17077,6 +17556,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -17151,6 +17632,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -17224,6 +17707,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -17298,6 +17783,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -17369,6 +17856,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -17445,6 +17934,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -17522,6 +18013,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -17599,6 +18092,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -17673,6 +18168,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -17745,6 +18242,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -17818,6 +18317,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -17894,6 +18395,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -17968,6 +18471,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -18043,6 +18548,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -18120,6 +18627,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -18193,6 +18702,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -18267,6 +18778,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -18340,6 +18853,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -18413,6 +18928,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -18489,6 +19006,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -18564,6 +19083,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -18636,6 +19157,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -18715,6 +19238,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -18789,6 +19314,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -18862,6 +19389,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -18936,6 +19465,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -19010,6 +19541,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -19085,6 +19618,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -19161,6 +19696,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -19237,6 +19774,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -19312,6 +19851,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -19385,6 +19926,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -19459,6 +20002,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -19536,6 +20081,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -19612,6 +20159,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -19686,6 +20235,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -19759,6 +20310,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -19834,6 +20387,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -19908,6 +20463,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() @@ -19980,6 +20537,8 @@ extension IoTClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSIoTAnalytics/Package.swift.txt b/Sources/Services/AWSIoTAnalytics/Package.swift.txt index 462048abb42..d61ade63653 100644 --- a/Sources/Services/AWSIoTAnalytics/Package.swift.txt +++ b/Sources/Services/AWSIoTAnalytics/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSIoTAnalytics/Sources/AWSIoTAnalytics/IoTAnalyticsClient.swift b/Sources/Services/AWSIoTAnalytics/Sources/AWSIoTAnalytics/IoTAnalyticsClient.swift index e5276491081..7bb6ab15bdc 100644 --- a/Sources/Services/AWSIoTAnalytics/Sources/AWSIoTAnalytics/IoTAnalyticsClient.swift +++ b/Sources/Services/AWSIoTAnalytics/Sources/AWSIoTAnalytics/IoTAnalyticsClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTAnalyticsClient: ClientRuntime.Client { public static let clientName = "IoTAnalyticsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: IoTAnalyticsClient.IoTAnalyticsClientConfiguration let serviceName = "IoTAnalytics" @@ -94,6 +95,8 @@ extension IoTAnalyticsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension IoTAnalyticsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension IoTAnalyticsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension IoTAnalyticsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension IoTAnalyticsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension IoTAnalyticsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension IoTAnalyticsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension IoTAnalyticsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension IoTAnalyticsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension IoTAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -445,6 +466,8 @@ extension IoTAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -517,6 +540,8 @@ extension IoTAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -592,6 +617,8 @@ extension IoTAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -666,6 +693,8 @@ extension IoTAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -741,6 +770,8 @@ extension IoTAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -816,6 +847,8 @@ extension IoTAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -890,6 +923,8 @@ extension IoTAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -961,6 +996,8 @@ extension IoTAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1032,6 +1069,8 @@ extension IoTAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1104,6 +1143,8 @@ extension IoTAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1175,6 +1216,8 @@ extension IoTAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1246,6 +1289,8 @@ extension IoTAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1318,6 +1363,8 @@ extension IoTAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1389,6 +1436,8 @@ extension IoTAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1461,6 +1510,8 @@ extension IoTAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1532,6 +1583,8 @@ extension IoTAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1603,6 +1656,8 @@ extension IoTAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1674,6 +1729,8 @@ extension IoTAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1746,6 +1803,8 @@ extension IoTAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1817,6 +1876,8 @@ extension IoTAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1888,6 +1949,8 @@ extension IoTAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1959,6 +2022,8 @@ extension IoTAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -2032,6 +2097,8 @@ extension IoTAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -2103,6 +2170,8 @@ extension IoTAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -2176,6 +2245,8 @@ extension IoTAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -2250,6 +2321,8 @@ extension IoTAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -2323,6 +2396,8 @@ extension IoTAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -2398,6 +2473,8 @@ extension IoTAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -2474,6 +2551,8 @@ extension IoTAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -2546,6 +2625,8 @@ extension IoTAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -2620,6 +2701,8 @@ extension IoTAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -2694,6 +2777,8 @@ extension IoTAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -2769,6 +2854,8 @@ extension IoTAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotanalytics") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSIoTDataPlane/Package.swift.txt b/Sources/Services/AWSIoTDataPlane/Package.swift.txt index eb1ccc135b6..f4273f6f600 100644 --- a/Sources/Services/AWSIoTDataPlane/Package.swift.txt +++ b/Sources/Services/AWSIoTDataPlane/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSIoTDataPlane/Sources/AWSIoTDataPlane/IoTDataPlaneClient.swift b/Sources/Services/AWSIoTDataPlane/Sources/AWSIoTDataPlane/IoTDataPlaneClient.swift index f8c2536ce9e..1e9eb9ff3fe 100644 --- a/Sources/Services/AWSIoTDataPlane/Sources/AWSIoTDataPlane/IoTDataPlaneClient.swift +++ b/Sources/Services/AWSIoTDataPlane/Sources/AWSIoTDataPlane/IoTDataPlaneClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPRequest import class SmithyHTTPAPI.HTTPResponse import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTDataPlaneClient: ClientRuntime.Client { public static let clientName = "IoTDataPlaneClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: IoTDataPlaneClient.IoTDataPlaneClientConfiguration let serviceName = "IoT Data Plane" @@ -94,6 +95,8 @@ extension IoTDataPlaneClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension IoTDataPlaneClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension IoTDataPlaneClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension IoTDataPlaneClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension IoTDataPlaneClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension IoTDataPlaneClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension IoTDataPlaneClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension IoTDataPlaneClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension IoTDataPlaneClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension IoTDataPlaneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotdata") .withSigningRegion(value: config.signingRegion) .build() @@ -448,6 +469,8 @@ extension IoTDataPlaneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotdata") .withSigningRegion(value: config.signingRegion) .build() @@ -522,6 +545,8 @@ extension IoTDataPlaneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotdata") .withSigningRegion(value: config.signingRegion) .build() @@ -596,6 +621,8 @@ extension IoTDataPlaneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotdata") .withSigningRegion(value: config.signingRegion) .build() @@ -669,6 +696,8 @@ extension IoTDataPlaneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotdata") .withSigningRegion(value: config.signingRegion) .build() @@ -741,6 +770,8 @@ extension IoTDataPlaneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotdata") .withSigningRegion(value: config.signingRegion) .build() @@ -821,6 +852,8 @@ extension IoTDataPlaneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotdata") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSIoTEvents/Package.swift.txt b/Sources/Services/AWSIoTEvents/Package.swift.txt index 78073c45b85..e86c01cb71f 100644 --- a/Sources/Services/AWSIoTEvents/Package.swift.txt +++ b/Sources/Services/AWSIoTEvents/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSIoTEvents/Sources/AWSIoTEvents/IoTEventsClient.swift b/Sources/Services/AWSIoTEvents/Sources/AWSIoTEvents/IoTEventsClient.swift index 7637efb502a..9dad74b9855 100644 --- a/Sources/Services/AWSIoTEvents/Sources/AWSIoTEvents/IoTEventsClient.swift +++ b/Sources/Services/AWSIoTEvents/Sources/AWSIoTEvents/IoTEventsClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTEventsClient: ClientRuntime.Client { public static let clientName = "IoTEventsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: IoTEventsClient.IoTEventsClientConfiguration let serviceName = "IoT Events" @@ -94,6 +95,8 @@ extension IoTEventsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension IoTEventsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension IoTEventsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension IoTEventsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension IoTEventsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension IoTEventsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension IoTEventsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension IoTEventsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension IoTEventsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension IoTEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotevents") .withSigningRegion(value: config.signingRegion) .build() @@ -449,6 +470,8 @@ extension IoTEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotevents") .withSigningRegion(value: config.signingRegion) .build() @@ -523,6 +546,8 @@ extension IoTEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotevents") .withSigningRegion(value: config.signingRegion) .build() @@ -598,6 +623,8 @@ extension IoTEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotevents") .withSigningRegion(value: config.signingRegion) .build() @@ -670,6 +697,8 @@ extension IoTEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotevents") .withSigningRegion(value: config.signingRegion) .build() @@ -742,6 +771,8 @@ extension IoTEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotevents") .withSigningRegion(value: config.signingRegion) .build() @@ -813,6 +844,8 @@ extension IoTEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotevents") .withSigningRegion(value: config.signingRegion) .build() @@ -885,6 +918,8 @@ extension IoTEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotevents") .withSigningRegion(value: config.signingRegion) .build() @@ -957,6 +992,8 @@ extension IoTEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotevents") .withSigningRegion(value: config.signingRegion) .build() @@ -1028,6 +1065,8 @@ extension IoTEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotevents") .withSigningRegion(value: config.signingRegion) .build() @@ -1100,6 +1139,8 @@ extension IoTEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotevents") .withSigningRegion(value: config.signingRegion) .build() @@ -1171,6 +1212,8 @@ extension IoTEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotevents") .withSigningRegion(value: config.signingRegion) .build() @@ -1243,6 +1286,8 @@ extension IoTEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotevents") .withSigningRegion(value: config.signingRegion) .build() @@ -1314,6 +1359,8 @@ extension IoTEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotevents") .withSigningRegion(value: config.signingRegion) .build() @@ -1386,6 +1433,8 @@ extension IoTEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotevents") .withSigningRegion(value: config.signingRegion) .build() @@ -1457,6 +1506,8 @@ extension IoTEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotevents") .withSigningRegion(value: config.signingRegion) .build() @@ -1529,6 +1580,8 @@ extension IoTEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotevents") .withSigningRegion(value: config.signingRegion) .build() @@ -1602,6 +1655,8 @@ extension IoTEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotevents") .withSigningRegion(value: config.signingRegion) .build() @@ -1674,6 +1729,8 @@ extension IoTEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotevents") .withSigningRegion(value: config.signingRegion) .build() @@ -1747,6 +1804,8 @@ extension IoTEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotevents") .withSigningRegion(value: config.signingRegion) .build() @@ -1821,6 +1880,8 @@ extension IoTEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotevents") .withSigningRegion(value: config.signingRegion) .build() @@ -1896,6 +1957,8 @@ extension IoTEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotevents") .withSigningRegion(value: config.signingRegion) .build() @@ -1971,6 +2034,8 @@ extension IoTEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotevents") .withSigningRegion(value: config.signingRegion) .build() @@ -2044,6 +2109,8 @@ extension IoTEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotevents") .withSigningRegion(value: config.signingRegion) .build() @@ -2119,6 +2186,8 @@ extension IoTEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotevents") .withSigningRegion(value: config.signingRegion) .build() @@ -2194,6 +2263,8 @@ extension IoTEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotevents") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSIoTEventsData/Package.swift.txt b/Sources/Services/AWSIoTEventsData/Package.swift.txt index 8f788cc4ba0..5728a9a777e 100644 --- a/Sources/Services/AWSIoTEventsData/Package.swift.txt +++ b/Sources/Services/AWSIoTEventsData/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSIoTEventsData/Sources/AWSIoTEventsData/IoTEventsDataClient.swift b/Sources/Services/AWSIoTEventsData/Sources/AWSIoTEventsData/IoTEventsDataClient.swift index fd370aae70f..59ddedc32a8 100644 --- a/Sources/Services/AWSIoTEventsData/Sources/AWSIoTEventsData/IoTEventsDataClient.swift +++ b/Sources/Services/AWSIoTEventsData/Sources/AWSIoTEventsData/IoTEventsDataClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTEventsDataClient: ClientRuntime.Client { public static let clientName = "IoTEventsDataClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: IoTEventsDataClient.IoTEventsDataClientConfiguration let serviceName = "IoT Events Data" @@ -93,6 +94,8 @@ extension IoTEventsDataClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension IoTEventsDataClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension IoTEventsDataClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension IoTEventsDataClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension IoTEventsDataClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension IoTEventsDataClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension IoTEventsDataClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension IoTEventsDataClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension IoTEventsDataClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -369,6 +388,8 @@ extension IoTEventsDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ioteventsdata") .withSigningRegion(value: config.signingRegion) .build() @@ -442,6 +463,8 @@ extension IoTEventsDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ioteventsdata") .withSigningRegion(value: config.signingRegion) .build() @@ -515,6 +538,8 @@ extension IoTEventsDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ioteventsdata") .withSigningRegion(value: config.signingRegion) .build() @@ -588,6 +613,8 @@ extension IoTEventsDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ioteventsdata") .withSigningRegion(value: config.signingRegion) .build() @@ -661,6 +688,8 @@ extension IoTEventsDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ioteventsdata") .withSigningRegion(value: config.signingRegion) .build() @@ -734,6 +763,8 @@ extension IoTEventsDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ioteventsdata") .withSigningRegion(value: config.signingRegion) .build() @@ -807,6 +838,8 @@ extension IoTEventsDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ioteventsdata") .withSigningRegion(value: config.signingRegion) .build() @@ -880,6 +913,8 @@ extension IoTEventsDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ioteventsdata") .withSigningRegion(value: config.signingRegion) .build() @@ -954,6 +989,8 @@ extension IoTEventsDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ioteventsdata") .withSigningRegion(value: config.signingRegion) .build() @@ -1026,6 +1063,8 @@ extension IoTEventsDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ioteventsdata") .withSigningRegion(value: config.signingRegion) .build() @@ -1098,6 +1137,8 @@ extension IoTEventsDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ioteventsdata") .withSigningRegion(value: config.signingRegion) .build() @@ -1170,6 +1211,8 @@ extension IoTEventsDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ioteventsdata") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSIoTFleetHub/Package.swift.txt b/Sources/Services/AWSIoTFleetHub/Package.swift.txt index bfa6e8682c4..2cfd0fd91aa 100644 --- a/Sources/Services/AWSIoTFleetHub/Package.swift.txt +++ b/Sources/Services/AWSIoTFleetHub/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSIoTFleetHub/Sources/AWSIoTFleetHub/IoTFleetHubClient.swift b/Sources/Services/AWSIoTFleetHub/Sources/AWSIoTFleetHub/IoTFleetHubClient.swift index 06cb77a87f8..37fa5f7ed91 100644 --- a/Sources/Services/AWSIoTFleetHub/Sources/AWSIoTFleetHub/IoTFleetHubClient.swift +++ b/Sources/Services/AWSIoTFleetHub/Sources/AWSIoTFleetHub/IoTFleetHubClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTFleetHubClient: ClientRuntime.Client { public static let clientName = "IoTFleetHubClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: IoTFleetHubClient.IoTFleetHubClientConfiguration let serviceName = "IoTFleetHub" @@ -94,6 +95,8 @@ extension IoTFleetHubClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension IoTFleetHubClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension IoTFleetHubClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension IoTFleetHubClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension IoTFleetHubClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension IoTFleetHubClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension IoTFleetHubClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension IoTFleetHubClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension IoTFleetHubClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension IoTFleetHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleethub") .withSigningRegion(value: config.signingRegion) .build() @@ -444,6 +465,8 @@ extension IoTFleetHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleethub") .withSigningRegion(value: config.signingRegion) .build() @@ -516,6 +539,8 @@ extension IoTFleetHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleethub") .withSigningRegion(value: config.signingRegion) .build() @@ -585,6 +610,8 @@ extension IoTFleetHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleethub") .withSigningRegion(value: config.signingRegion) .build() @@ -655,6 +682,8 @@ extension IoTFleetHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleethub") .withSigningRegion(value: config.signingRegion) .build() @@ -724,6 +753,8 @@ extension IoTFleetHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleethub") .withSigningRegion(value: config.signingRegion) .build() @@ -796,6 +827,8 @@ extension IoTFleetHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleethub") .withSigningRegion(value: config.signingRegion) .build() @@ -868,6 +901,8 @@ extension IoTFleetHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleethub") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSIoTFleetWise/Package.swift.txt b/Sources/Services/AWSIoTFleetWise/Package.swift.txt index 3737d672dec..0807c4d4b8a 100644 --- a/Sources/Services/AWSIoTFleetWise/Package.swift.txt +++ b/Sources/Services/AWSIoTFleetWise/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSIoTFleetWise/Sources/AWSIoTFleetWise/IoTFleetWiseClient.swift b/Sources/Services/AWSIoTFleetWise/Sources/AWSIoTFleetWise/IoTFleetWiseClient.swift index 6ba18188d03..11cea544e56 100644 --- a/Sources/Services/AWSIoTFleetWise/Sources/AWSIoTFleetWise/IoTFleetWiseClient.swift +++ b/Sources/Services/AWSIoTFleetWise/Sources/AWSIoTFleetWise/IoTFleetWiseClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTFleetWiseClient: ClientRuntime.Client { public static let clientName = "IoTFleetWiseClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: IoTFleetWiseClient.IoTFleetWiseClientConfiguration let serviceName = "IoTFleetWise" @@ -95,6 +96,8 @@ extension IoTFleetWiseClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension IoTFleetWiseClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension IoTFleetWiseClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension IoTFleetWiseClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension IoTFleetWiseClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension IoTFleetWiseClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension IoTFleetWiseClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension IoTFleetWiseClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension IoTFleetWiseClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -448,6 +469,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -523,6 +546,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -600,6 +625,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -686,6 +713,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -763,6 +792,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -841,6 +872,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -919,6 +952,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -997,6 +1032,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -1074,6 +1111,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -1149,6 +1188,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -1224,6 +1265,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -1298,6 +1341,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -1373,6 +1418,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -1448,6 +1495,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -1522,6 +1571,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -1596,6 +1647,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -1671,6 +1724,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -1746,6 +1801,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -1821,6 +1878,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -1896,6 +1955,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -1971,6 +2032,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -2044,6 +2107,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -2119,6 +2184,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -2194,6 +2261,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -2269,6 +2338,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -2344,6 +2415,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -2419,6 +2492,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -2494,6 +2569,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -2573,6 +2650,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -2651,6 +2730,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -2725,6 +2806,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -2801,6 +2884,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -2877,6 +2962,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -2952,6 +3039,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -3028,6 +3117,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -3104,6 +3195,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -3181,6 +3274,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -3256,6 +3351,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -3333,6 +3430,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -3408,6 +3507,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -3483,6 +3584,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -3559,6 +3662,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -3634,6 +3739,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -3710,6 +3817,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -3787,6 +3896,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -3863,6 +3974,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -3939,6 +4052,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -4014,6 +4129,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -4090,6 +4207,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -4167,6 +4286,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -4245,6 +4366,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -4321,6 +4444,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -4398,6 +4523,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -4477,6 +4604,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -4554,6 +4683,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() @@ -4631,6 +4762,8 @@ extension IoTFleetWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotfleetwise") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSIoTJobsDataPlane/Package.swift.txt b/Sources/Services/AWSIoTJobsDataPlane/Package.swift.txt index c0e12cbe2a5..1639124b2c2 100644 --- a/Sources/Services/AWSIoTJobsDataPlane/Package.swift.txt +++ b/Sources/Services/AWSIoTJobsDataPlane/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSIoTJobsDataPlane/Sources/AWSIoTJobsDataPlane/IoTJobsDataPlaneClient.swift b/Sources/Services/AWSIoTJobsDataPlane/Sources/AWSIoTJobsDataPlane/IoTJobsDataPlaneClient.swift index c68f9365794..e277c6cddaa 100644 --- a/Sources/Services/AWSIoTJobsDataPlane/Sources/AWSIoTJobsDataPlane/IoTJobsDataPlaneClient.swift +++ b/Sources/Services/AWSIoTJobsDataPlane/Sources/AWSIoTJobsDataPlane/IoTJobsDataPlaneClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTJobsDataPlaneClient: ClientRuntime.Client { public static let clientName = "IoTJobsDataPlaneClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: IoTJobsDataPlaneClient.IoTJobsDataPlaneClientConfiguration let serviceName = "IoT Jobs Data Plane" @@ -94,6 +95,8 @@ extension IoTJobsDataPlaneClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension IoTJobsDataPlaneClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension IoTJobsDataPlaneClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension IoTJobsDataPlaneClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension IoTJobsDataPlaneClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension IoTJobsDataPlaneClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension IoTJobsDataPlaneClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension IoTJobsDataPlaneClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension IoTJobsDataPlaneClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension IoTJobsDataPlaneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot-jobs-data") .withSigningRegion(value: config.signingRegion) .build() @@ -444,6 +465,8 @@ extension IoTJobsDataPlaneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot-jobs-data") .withSigningRegion(value: config.signingRegion) .build() @@ -516,6 +539,8 @@ extension IoTJobsDataPlaneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot-jobs-data") .withSigningRegion(value: config.signingRegion) .build() @@ -591,6 +616,8 @@ extension IoTJobsDataPlaneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot-jobs-data") .withSigningRegion(value: config.signingRegion) .build() @@ -666,6 +693,8 @@ extension IoTJobsDataPlaneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iot-jobs-data") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSIoTSecureTunneling/Package.swift.txt b/Sources/Services/AWSIoTSecureTunneling/Package.swift.txt index d9b7ca56031..c933b584274 100644 --- a/Sources/Services/AWSIoTSecureTunneling/Package.swift.txt +++ b/Sources/Services/AWSIoTSecureTunneling/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSIoTSecureTunneling/Sources/AWSIoTSecureTunneling/IoTSecureTunnelingClient.swift b/Sources/Services/AWSIoTSecureTunneling/Sources/AWSIoTSecureTunneling/IoTSecureTunnelingClient.swift index 555be6eb044..4d71b72cc23 100644 --- a/Sources/Services/AWSIoTSecureTunneling/Sources/AWSIoTSecureTunneling/IoTSecureTunnelingClient.swift +++ b/Sources/Services/AWSIoTSecureTunneling/Sources/AWSIoTSecureTunneling/IoTSecureTunnelingClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTSecureTunnelingClient: ClientRuntime.Client { public static let clientName = "IoTSecureTunnelingClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: IoTSecureTunnelingClient.IoTSecureTunnelingClientConfiguration let serviceName = "IoTSecureTunneling" @@ -94,6 +95,8 @@ extension IoTSecureTunnelingClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension IoTSecureTunnelingClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension IoTSecureTunnelingClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension IoTSecureTunnelingClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension IoTSecureTunnelingClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension IoTSecureTunnelingClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension IoTSecureTunnelingClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension IoTSecureTunnelingClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension IoTSecureTunnelingClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -367,6 +386,8 @@ extension IoTSecureTunnelingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "IoTSecuredTunneling") .withSigningRegion(value: config.signingRegion) .build() @@ -439,6 +460,8 @@ extension IoTSecureTunnelingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "IoTSecuredTunneling") .withSigningRegion(value: config.signingRegion) .build() @@ -510,6 +533,8 @@ extension IoTSecureTunnelingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "IoTSecuredTunneling") .withSigningRegion(value: config.signingRegion) .build() @@ -577,6 +602,8 @@ extension IoTSecureTunnelingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "IoTSecuredTunneling") .withSigningRegion(value: config.signingRegion) .build() @@ -649,6 +676,8 @@ extension IoTSecureTunnelingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "IoTSecuredTunneling") .withSigningRegion(value: config.signingRegion) .build() @@ -720,6 +749,8 @@ extension IoTSecureTunnelingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "IoTSecuredTunneling") .withSigningRegion(value: config.signingRegion) .build() @@ -791,6 +822,8 @@ extension IoTSecureTunnelingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "IoTSecuredTunneling") .withSigningRegion(value: config.signingRegion) .build() @@ -862,6 +895,8 @@ extension IoTSecureTunnelingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "IoTSecuredTunneling") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSIoTSiteWise/Package.swift.txt b/Sources/Services/AWSIoTSiteWise/Package.swift.txt index 7a2a1962751..2343777fff6 100644 --- a/Sources/Services/AWSIoTSiteWise/Package.swift.txt +++ b/Sources/Services/AWSIoTSiteWise/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSIoTSiteWise/Sources/AWSIoTSiteWise/IoTSiteWiseClient.swift b/Sources/Services/AWSIoTSiteWise/Sources/AWSIoTSiteWise/IoTSiteWiseClient.swift index 9dc986d6b70..6e5ba5a9372 100644 --- a/Sources/Services/AWSIoTSiteWise/Sources/AWSIoTSiteWise/IoTSiteWiseClient.swift +++ b/Sources/Services/AWSIoTSiteWise/Sources/AWSIoTSiteWise/IoTSiteWiseClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -66,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTSiteWiseClient: ClientRuntime.Client { public static let clientName = "IoTSiteWiseClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: IoTSiteWiseClient.IoTSiteWiseClientConfiguration let serviceName = "IoTSiteWise" @@ -96,6 +97,8 @@ extension IoTSiteWiseClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -121,6 +124,8 @@ extension IoTSiteWiseClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -144,6 +149,8 @@ extension IoTSiteWiseClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -170,6 +177,8 @@ extension IoTSiteWiseClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -194,6 +203,8 @@ extension IoTSiteWiseClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -220,6 +231,8 @@ extension IoTSiteWiseClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -244,6 +257,8 @@ extension IoTSiteWiseClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -271,6 +286,8 @@ extension IoTSiteWiseClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -298,6 +315,8 @@ extension IoTSiteWiseClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -375,6 +394,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -450,6 +471,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -526,6 +549,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -600,6 +625,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -674,6 +701,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -747,6 +776,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -820,6 +851,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -903,6 +936,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -977,6 +1012,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -1054,6 +1091,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -1135,6 +1174,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -1213,6 +1254,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -1291,6 +1334,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -1365,6 +1410,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -1442,6 +1489,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -1517,6 +1566,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -1591,6 +1642,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -1666,6 +1719,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -1740,6 +1795,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -1813,6 +1870,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -1887,6 +1946,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -1962,6 +2023,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -2035,6 +2098,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -2108,6 +2173,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -2181,6 +2248,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -2252,6 +2321,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -2324,6 +2395,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -2405,6 +2478,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -2480,6 +2555,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -2550,6 +2627,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -2620,6 +2699,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -2691,6 +2772,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -2761,6 +2844,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -2832,6 +2917,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -2903,6 +2990,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -2973,6 +3062,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -3043,6 +3134,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -3113,6 +3206,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -3182,6 +3277,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -3252,6 +3349,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -3322,6 +3421,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -3392,6 +3493,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -3462,6 +3565,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -3532,6 +3637,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -3604,6 +3711,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -3682,6 +3791,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -3754,6 +3865,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -3829,6 +3942,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -3906,6 +4021,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -3982,6 +4099,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -4061,6 +4180,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -4137,6 +4258,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -4213,6 +4336,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -4289,6 +4414,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -4363,6 +4490,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -4435,6 +4564,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -4506,6 +4637,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -4577,6 +4710,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -4648,6 +4783,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -4718,6 +4855,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -4789,6 +4928,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -4860,6 +5001,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -4938,6 +5081,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -5013,6 +5158,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -5084,6 +5231,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -5155,6 +5304,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -5225,6 +5376,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -5295,6 +5448,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -5365,6 +5520,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -5435,6 +5592,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -5505,6 +5664,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -5575,6 +5736,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -5649,6 +5812,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -5720,6 +5885,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -5792,6 +5959,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -5866,6 +6035,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -5942,6 +6113,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -6019,6 +6192,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -6096,6 +6271,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -6167,6 +6344,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -6243,6 +6422,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -6325,6 +6506,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -6408,6 +6591,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -6484,6 +6669,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -6558,6 +6745,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -6634,6 +6823,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -6709,6 +6900,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -6784,6 +6977,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -6858,6 +7053,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() @@ -6932,6 +7129,8 @@ extension IoTSiteWiseClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotsitewise") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSIoTThingsGraph/Package.swift.txt b/Sources/Services/AWSIoTThingsGraph/Package.swift.txt index 29f924ed748..dd87a1dfdfd 100644 --- a/Sources/Services/AWSIoTThingsGraph/Package.swift.txt +++ b/Sources/Services/AWSIoTThingsGraph/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSIoTThingsGraph/Sources/AWSIoTThingsGraph/IoTThingsGraphClient.swift b/Sources/Services/AWSIoTThingsGraph/Sources/AWSIoTThingsGraph/IoTThingsGraphClient.swift index 25261dacae1..c9bc7a30d6e 100644 --- a/Sources/Services/AWSIoTThingsGraph/Sources/AWSIoTThingsGraph/IoTThingsGraphClient.swift +++ b/Sources/Services/AWSIoTThingsGraph/Sources/AWSIoTThingsGraph/IoTThingsGraphClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTThingsGraphClient: ClientRuntime.Client { public static let clientName = "IoTThingsGraphClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: IoTThingsGraphClient.IoTThingsGraphClientConfiguration let serviceName = "IoTThingsGraph" @@ -94,6 +95,8 @@ extension IoTThingsGraphClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension IoTThingsGraphClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension IoTThingsGraphClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension IoTThingsGraphClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension IoTThingsGraphClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension IoTThingsGraphClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension IoTThingsGraphClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension IoTThingsGraphClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension IoTThingsGraphClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension IoTThingsGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotthingsgraph") .withSigningRegion(value: config.signingRegion) .build() @@ -447,6 +468,8 @@ extension IoTThingsGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotthingsgraph") .withSigningRegion(value: config.signingRegion) .build() @@ -523,6 +546,8 @@ extension IoTThingsGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotthingsgraph") .withSigningRegion(value: config.signingRegion) .build() @@ -598,6 +623,8 @@ extension IoTThingsGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotthingsgraph") .withSigningRegion(value: config.signingRegion) .build() @@ -673,6 +700,8 @@ extension IoTThingsGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotthingsgraph") .withSigningRegion(value: config.signingRegion) .build() @@ -746,6 +775,8 @@ extension IoTThingsGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotthingsgraph") .withSigningRegion(value: config.signingRegion) .build() @@ -821,6 +852,8 @@ extension IoTThingsGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotthingsgraph") .withSigningRegion(value: config.signingRegion) .build() @@ -896,6 +929,8 @@ extension IoTThingsGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotthingsgraph") .withSigningRegion(value: config.signingRegion) .build() @@ -972,6 +1007,8 @@ extension IoTThingsGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotthingsgraph") .withSigningRegion(value: config.signingRegion) .build() @@ -1047,6 +1084,8 @@ extension IoTThingsGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotthingsgraph") .withSigningRegion(value: config.signingRegion) .build() @@ -1122,6 +1161,8 @@ extension IoTThingsGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotthingsgraph") .withSigningRegion(value: config.signingRegion) .build() @@ -1197,6 +1238,8 @@ extension IoTThingsGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotthingsgraph") .withSigningRegion(value: config.signingRegion) .build() @@ -1272,6 +1315,8 @@ extension IoTThingsGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotthingsgraph") .withSigningRegion(value: config.signingRegion) .build() @@ -1368,6 +1413,8 @@ extension IoTThingsGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotthingsgraph") .withSigningRegion(value: config.signingRegion) .build() @@ -1443,6 +1490,8 @@ extension IoTThingsGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotthingsgraph") .withSigningRegion(value: config.signingRegion) .build() @@ -1518,6 +1567,8 @@ extension IoTThingsGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotthingsgraph") .withSigningRegion(value: config.signingRegion) .build() @@ -1592,6 +1643,8 @@ extension IoTThingsGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotthingsgraph") .withSigningRegion(value: config.signingRegion) .build() @@ -1667,6 +1720,8 @@ extension IoTThingsGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotthingsgraph") .withSigningRegion(value: config.signingRegion) .build() @@ -1742,6 +1797,8 @@ extension IoTThingsGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotthingsgraph") .withSigningRegion(value: config.signingRegion) .build() @@ -1817,6 +1874,8 @@ extension IoTThingsGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotthingsgraph") .withSigningRegion(value: config.signingRegion) .build() @@ -1892,6 +1951,8 @@ extension IoTThingsGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotthingsgraph") .withSigningRegion(value: config.signingRegion) .build() @@ -1967,6 +2028,8 @@ extension IoTThingsGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotthingsgraph") .withSigningRegion(value: config.signingRegion) .build() @@ -2042,6 +2105,8 @@ extension IoTThingsGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotthingsgraph") .withSigningRegion(value: config.signingRegion) .build() @@ -2116,6 +2181,8 @@ extension IoTThingsGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotthingsgraph") .withSigningRegion(value: config.signingRegion) .build() @@ -2191,6 +2258,8 @@ extension IoTThingsGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotthingsgraph") .withSigningRegion(value: config.signingRegion) .build() @@ -2265,6 +2334,8 @@ extension IoTThingsGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotthingsgraph") .withSigningRegion(value: config.signingRegion) .build() @@ -2339,6 +2410,8 @@ extension IoTThingsGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotthingsgraph") .withSigningRegion(value: config.signingRegion) .build() @@ -2413,6 +2486,8 @@ extension IoTThingsGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotthingsgraph") .withSigningRegion(value: config.signingRegion) .build() @@ -2488,6 +2563,8 @@ extension IoTThingsGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotthingsgraph") .withSigningRegion(value: config.signingRegion) .build() @@ -2563,6 +2640,8 @@ extension IoTThingsGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotthingsgraph") .withSigningRegion(value: config.signingRegion) .build() @@ -2639,6 +2718,8 @@ extension IoTThingsGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotthingsgraph") .withSigningRegion(value: config.signingRegion) .build() @@ -2714,6 +2795,8 @@ extension IoTThingsGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotthingsgraph") .withSigningRegion(value: config.signingRegion) .build() @@ -2789,6 +2872,8 @@ extension IoTThingsGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotthingsgraph") .withSigningRegion(value: config.signingRegion) .build() @@ -2864,6 +2949,8 @@ extension IoTThingsGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotthingsgraph") .withSigningRegion(value: config.signingRegion) .build() @@ -2938,6 +3025,8 @@ extension IoTThingsGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotthingsgraph") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSIoTTwinMaker/Package.swift.txt b/Sources/Services/AWSIoTTwinMaker/Package.swift.txt index 0713098de15..de3aece482e 100644 --- a/Sources/Services/AWSIoTTwinMaker/Package.swift.txt +++ b/Sources/Services/AWSIoTTwinMaker/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSIoTTwinMaker/Sources/AWSIoTTwinMaker/IoTTwinMakerClient.swift b/Sources/Services/AWSIoTTwinMaker/Sources/AWSIoTTwinMaker/IoTTwinMakerClient.swift index 5730aebfc29..56281d29f76 100644 --- a/Sources/Services/AWSIoTTwinMaker/Sources/AWSIoTTwinMaker/IoTTwinMakerClient.swift +++ b/Sources/Services/AWSIoTTwinMaker/Sources/AWSIoTTwinMaker/IoTTwinMakerClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTTwinMakerClient: ClientRuntime.Client { public static let clientName = "IoTTwinMakerClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: IoTTwinMakerClient.IoTTwinMakerClientConfiguration let serviceName = "IoTTwinMaker" @@ -94,6 +95,8 @@ extension IoTTwinMakerClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension IoTTwinMakerClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension IoTTwinMakerClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension IoTTwinMakerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension IoTTwinMakerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension IoTTwinMakerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension IoTTwinMakerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension IoTTwinMakerClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension IoTTwinMakerClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -445,6 +466,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -517,6 +540,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -592,6 +617,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -668,6 +695,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -743,6 +772,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -818,6 +849,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -893,6 +926,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -967,6 +1002,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1038,6 +1075,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1110,6 +1149,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1182,6 +1223,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1253,6 +1296,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1325,6 +1370,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1399,6 +1446,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1470,6 +1519,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1541,6 +1592,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1611,6 +1664,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1684,6 +1739,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1760,6 +1817,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1834,6 +1893,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1906,6 +1967,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1978,6 +2041,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2048,6 +2113,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2122,6 +2189,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2195,6 +2264,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2268,6 +2339,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2342,6 +2415,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2415,6 +2490,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2489,6 +2566,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2563,6 +2642,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2634,6 +2715,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2707,6 +2790,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2779,6 +2864,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2850,6 +2937,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2923,6 +3012,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2999,6 +3090,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -3072,6 +3165,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -3146,6 +3241,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() @@ -3221,6 +3318,8 @@ extension IoTTwinMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iottwinmaker") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSIoTWireless/Package.swift.txt b/Sources/Services/AWSIoTWireless/Package.swift.txt index 87bed66afee..20726a19f7e 100644 --- a/Sources/Services/AWSIoTWireless/Package.swift.txt +++ b/Sources/Services/AWSIoTWireless/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSIoTWireless/Sources/AWSIoTWireless/IoTWirelessClient.swift b/Sources/Services/AWSIoTWireless/Sources/AWSIoTWireless/IoTWirelessClient.swift index ae89db2ac66..42e98071f09 100644 --- a/Sources/Services/AWSIoTWireless/Sources/AWSIoTWireless/IoTWirelessClient.swift +++ b/Sources/Services/AWSIoTWireless/Sources/AWSIoTWireless/IoTWirelessClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -67,7 +68,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IoTWirelessClient: ClientRuntime.Client { public static let clientName = "IoTWirelessClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: IoTWirelessClient.IoTWirelessClientConfiguration let serviceName = "IoT Wireless" @@ -97,6 +98,8 @@ extension IoTWirelessClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -122,6 +125,8 @@ extension IoTWirelessClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -145,6 +150,8 @@ extension IoTWirelessClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -171,6 +178,8 @@ extension IoTWirelessClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -195,6 +204,8 @@ extension IoTWirelessClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -221,6 +232,8 @@ extension IoTWirelessClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -245,6 +258,8 @@ extension IoTWirelessClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -272,6 +287,8 @@ extension IoTWirelessClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -299,6 +316,8 @@ extension IoTWirelessClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -375,6 +394,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -451,6 +472,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -526,6 +549,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -601,6 +626,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -676,6 +703,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -751,6 +780,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -826,6 +857,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -901,6 +934,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -973,6 +1008,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -1048,6 +1085,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -1124,6 +1163,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -1200,6 +1241,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -1276,6 +1319,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -1351,6 +1396,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -1427,6 +1474,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -1509,6 +1558,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -1585,6 +1636,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -1660,6 +1713,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -1736,6 +1791,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -1808,6 +1865,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -1879,6 +1938,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -1951,6 +2012,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -2023,6 +2086,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -2094,6 +2159,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -2167,6 +2234,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -2238,6 +2307,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -2310,6 +2381,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -2388,6 +2461,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -2459,6 +2534,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -2530,6 +2607,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -2600,6 +2679,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -2671,6 +2752,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -2743,6 +2826,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -2815,6 +2900,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -2886,6 +2973,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -2958,6 +3047,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -3029,6 +3120,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -3101,6 +3194,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -3172,6 +3267,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -3243,6 +3340,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -3312,6 +3411,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -3383,6 +3484,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -3454,6 +3557,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -3526,6 +3631,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -3598,6 +3705,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -3672,6 +3781,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -3743,6 +3854,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -3814,6 +3927,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -3884,6 +3999,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -3957,6 +4074,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -4030,6 +4149,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -4102,6 +4223,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -4176,6 +4299,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -4248,6 +4373,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -4320,6 +4447,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -4391,6 +4520,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -4463,6 +4594,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -4534,6 +4667,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -4607,6 +4742,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -4678,6 +4815,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -4749,6 +4888,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -4821,6 +4962,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -4892,6 +5035,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -4963,6 +5108,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -5034,6 +5181,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -5105,6 +5254,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -5175,6 +5326,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -5246,6 +5399,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -5319,6 +5474,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -5390,6 +5547,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -5461,6 +5620,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -5532,6 +5693,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -5604,6 +5767,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -5675,6 +5840,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -5746,6 +5913,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -5818,6 +5987,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -5890,6 +6061,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -5961,6 +6134,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -6033,6 +6208,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -6106,6 +6283,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -6177,6 +6356,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -6248,6 +6429,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -6319,6 +6502,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -6392,6 +6577,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -6467,6 +6654,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -6542,6 +6731,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -6613,6 +6804,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -6686,6 +6879,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -6759,6 +6954,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -6833,6 +7030,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -6907,6 +7106,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -6982,6 +7183,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -7057,6 +7260,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -7132,6 +7337,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -7208,6 +7415,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -7284,6 +7493,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -7358,6 +7569,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -7429,6 +7642,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -7501,6 +7716,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -7574,6 +7791,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -7649,6 +7868,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -7724,6 +7945,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -7799,6 +8022,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -7874,6 +8099,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -7948,6 +8175,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -8021,6 +8250,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -8097,6 +8328,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -8173,6 +8406,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -8248,6 +8483,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -8323,6 +8560,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -8398,6 +8637,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() @@ -8472,6 +8713,8 @@ extension IoTWirelessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotwireless") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSIotDeviceAdvisor/Package.swift.txt b/Sources/Services/AWSIotDeviceAdvisor/Package.swift.txt index 40c5564e0fc..3768d37ee20 100644 --- a/Sources/Services/AWSIotDeviceAdvisor/Package.swift.txt +++ b/Sources/Services/AWSIotDeviceAdvisor/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSIotDeviceAdvisor/Sources/AWSIotDeviceAdvisor/IotDeviceAdvisorClient.swift b/Sources/Services/AWSIotDeviceAdvisor/Sources/AWSIotDeviceAdvisor/IotDeviceAdvisorClient.swift index 26c7fa6dae2..b4edb2ebd24 100644 --- a/Sources/Services/AWSIotDeviceAdvisor/Sources/AWSIotDeviceAdvisor/IotDeviceAdvisorClient.swift +++ b/Sources/Services/AWSIotDeviceAdvisor/Sources/AWSIotDeviceAdvisor/IotDeviceAdvisorClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IotDeviceAdvisorClient: ClientRuntime.Client { public static let clientName = "IotDeviceAdvisorClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: IotDeviceAdvisorClient.IotDeviceAdvisorClientConfiguration let serviceName = "IotDeviceAdvisor" @@ -95,6 +96,8 @@ extension IotDeviceAdvisorClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension IotDeviceAdvisorClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension IotDeviceAdvisorClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension IotDeviceAdvisorClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension IotDeviceAdvisorClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension IotDeviceAdvisorClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension IotDeviceAdvisorClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension IotDeviceAdvisorClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension IotDeviceAdvisorClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -369,6 +388,8 @@ extension IotDeviceAdvisorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotdeviceadvisor") .withSigningRegion(value: config.signingRegion) .build() @@ -441,6 +462,8 @@ extension IotDeviceAdvisorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotdeviceadvisor") .withSigningRegion(value: config.signingRegion) .build() @@ -510,6 +533,8 @@ extension IotDeviceAdvisorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotdeviceadvisor") .withSigningRegion(value: config.signingRegion) .build() @@ -580,6 +605,8 @@ extension IotDeviceAdvisorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotdeviceadvisor") .withSigningRegion(value: config.signingRegion) .build() @@ -650,6 +677,8 @@ extension IotDeviceAdvisorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotdeviceadvisor") .withSigningRegion(value: config.signingRegion) .build() @@ -719,6 +748,8 @@ extension IotDeviceAdvisorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotdeviceadvisor") .withSigningRegion(value: config.signingRegion) .build() @@ -787,6 +818,8 @@ extension IotDeviceAdvisorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotdeviceadvisor") .withSigningRegion(value: config.signingRegion) .build() @@ -856,6 +889,8 @@ extension IotDeviceAdvisorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotdeviceadvisor") .withSigningRegion(value: config.signingRegion) .build() @@ -926,6 +961,8 @@ extension IotDeviceAdvisorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotdeviceadvisor") .withSigningRegion(value: config.signingRegion) .build() @@ -995,6 +1032,8 @@ extension IotDeviceAdvisorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotdeviceadvisor") .withSigningRegion(value: config.signingRegion) .build() @@ -1067,6 +1106,8 @@ extension IotDeviceAdvisorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotdeviceadvisor") .withSigningRegion(value: config.signingRegion) .build() @@ -1136,6 +1177,8 @@ extension IotDeviceAdvisorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotdeviceadvisor") .withSigningRegion(value: config.signingRegion) .build() @@ -1208,6 +1251,8 @@ extension IotDeviceAdvisorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotdeviceadvisor") .withSigningRegion(value: config.signingRegion) .build() @@ -1277,6 +1322,8 @@ extension IotDeviceAdvisorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "iotdeviceadvisor") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSIvs/Package.swift.txt b/Sources/Services/AWSIvs/Package.swift.txt index 512d3e132a6..cd46ce31504 100644 --- a/Sources/Services/AWSIvs/Package.swift.txt +++ b/Sources/Services/AWSIvs/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSIvs/Sources/AWSIvs/IvsClient.swift b/Sources/Services/AWSIvs/Sources/AWSIvs/IvsClient.swift index 3681648fedc..2bb17de983a 100644 --- a/Sources/Services/AWSIvs/Sources/AWSIvs/IvsClient.swift +++ b/Sources/Services/AWSIvs/Sources/AWSIvs/IvsClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IvsClient: ClientRuntime.Client { public static let clientName = "IvsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: IvsClient.IvsClientConfiguration let serviceName = "ivs" @@ -93,6 +94,8 @@ extension IvsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension IvsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension IvsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension IvsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension IvsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension IvsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension IvsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension IvsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension IvsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -361,6 +380,8 @@ extension IvsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -426,6 +447,8 @@ extension IvsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -499,6 +522,8 @@ extension IvsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -573,6 +598,8 @@ extension IvsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -647,6 +674,8 @@ extension IvsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -722,6 +751,8 @@ extension IvsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -796,6 +827,8 @@ extension IvsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -870,6 +903,8 @@ extension IvsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -943,6 +978,8 @@ extension IvsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -1017,6 +1054,8 @@ extension IvsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -1091,6 +1130,8 @@ extension IvsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -1164,6 +1205,8 @@ extension IvsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -1236,6 +1279,8 @@ extension IvsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -1308,6 +1353,8 @@ extension IvsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -1381,6 +1428,8 @@ extension IvsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -1454,6 +1503,8 @@ extension IvsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -1527,6 +1578,8 @@ extension IvsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -1599,6 +1652,8 @@ extension IvsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -1671,6 +1726,8 @@ extension IvsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -1745,6 +1802,8 @@ extension IvsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -1817,6 +1876,8 @@ extension IvsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -1888,6 +1949,8 @@ extension IvsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -1961,6 +2024,8 @@ extension IvsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -2033,6 +2098,8 @@ extension IvsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -2105,6 +2172,8 @@ extension IvsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -2177,6 +2246,8 @@ extension IvsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -2248,6 +2319,8 @@ extension IvsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -2320,6 +2393,8 @@ extension IvsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -2391,6 +2466,8 @@ extension IvsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -2466,6 +2543,8 @@ extension IvsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -2540,6 +2619,8 @@ extension IvsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -2612,6 +2693,8 @@ extension IvsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -2684,6 +2767,8 @@ extension IvsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -2756,6 +2841,8 @@ extension IvsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() @@ -2830,6 +2917,8 @@ extension IvsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivs") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSIvschat/Package.swift.txt b/Sources/Services/AWSIvschat/Package.swift.txt index bc01609eb9d..a5a9df50b9e 100644 --- a/Sources/Services/AWSIvschat/Package.swift.txt +++ b/Sources/Services/AWSIvschat/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSIvschat/Sources/AWSIvschat/IvschatClient.swift b/Sources/Services/AWSIvschat/Sources/AWSIvschat/IvschatClient.swift index 32d3f18de06..0f90221ce1b 100644 --- a/Sources/Services/AWSIvschat/Sources/AWSIvschat/IvschatClient.swift +++ b/Sources/Services/AWSIvschat/Sources/AWSIvschat/IvschatClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class IvschatClient: ClientRuntime.Client { public static let clientName = "IvschatClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: IvschatClient.IvschatClientConfiguration let serviceName = "ivschat" @@ -94,6 +95,8 @@ extension IvschatClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension IvschatClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension IvschatClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension IvschatClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension IvschatClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension IvschatClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension IvschatClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension IvschatClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension IvschatClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension IvschatClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivschat") .withSigningRegion(value: config.signingRegion) .build() @@ -445,6 +466,8 @@ extension IvschatClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivschat") .withSigningRegion(value: config.signingRegion) .build() @@ -520,6 +543,8 @@ extension IvschatClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivschat") .withSigningRegion(value: config.signingRegion) .build() @@ -594,6 +619,8 @@ extension IvschatClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivschat") .withSigningRegion(value: config.signingRegion) .build() @@ -668,6 +695,8 @@ extension IvschatClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivschat") .withSigningRegion(value: config.signingRegion) .build() @@ -741,6 +770,8 @@ extension IvschatClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivschat") .withSigningRegion(value: config.signingRegion) .build() @@ -815,6 +846,8 @@ extension IvschatClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivschat") .withSigningRegion(value: config.signingRegion) .build() @@ -887,6 +920,8 @@ extension IvschatClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivschat") .withSigningRegion(value: config.signingRegion) .build() @@ -959,6 +994,8 @@ extension IvschatClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivschat") .withSigningRegion(value: config.signingRegion) .build() @@ -1030,6 +1067,8 @@ extension IvschatClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivschat") .withSigningRegion(value: config.signingRegion) .build() @@ -1102,6 +1141,8 @@ extension IvschatClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivschat") .withSigningRegion(value: config.signingRegion) .build() @@ -1174,6 +1215,8 @@ extension IvschatClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivschat") .withSigningRegion(value: config.signingRegion) .build() @@ -1245,6 +1288,8 @@ extension IvschatClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivschat") .withSigningRegion(value: config.signingRegion) .build() @@ -1317,6 +1362,8 @@ extension IvschatClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivschat") .withSigningRegion(value: config.signingRegion) .build() @@ -1389,6 +1436,8 @@ extension IvschatClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivschat") .withSigningRegion(value: config.signingRegion) .build() @@ -1461,6 +1510,8 @@ extension IvschatClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivschat") .withSigningRegion(value: config.signingRegion) .build() @@ -1534,6 +1585,8 @@ extension IvschatClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ivschat") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSKMS/Package.swift.txt b/Sources/Services/AWSKMS/Package.swift.txt index cb82d7ee411..36ee568f365 100644 --- a/Sources/Services/AWSKMS/Package.swift.txt +++ b/Sources/Services/AWSKMS/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSKMS/Sources/AWSKMS/KMSClient.swift b/Sources/Services/AWSKMS/Sources/AWSKMS/KMSClient.swift index baf7181f4f9..000a232a2a8 100644 --- a/Sources/Services/AWSKMS/Sources/AWSKMS/KMSClient.swift +++ b/Sources/Services/AWSKMS/Sources/AWSKMS/KMSClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KMSClient: ClientRuntime.Client { public static let clientName = "KMSClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: KMSClient.KMSClientConfiguration let serviceName = "KMS" @@ -94,6 +95,8 @@ extension KMSClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension KMSClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension KMSClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension KMSClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension KMSClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension KMSClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension KMSClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension KMSClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension KMSClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -375,6 +394,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -482,6 +503,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -579,6 +602,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -695,6 +720,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -796,6 +823,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -907,6 +936,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -1023,6 +1054,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -1117,6 +1150,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -1214,6 +1249,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -1301,6 +1338,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -1413,6 +1452,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -1499,6 +1540,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -1601,6 +1644,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -1680,6 +1725,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -1772,6 +1819,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -1868,6 +1917,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -1948,6 +1999,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -2040,6 +2093,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -2178,6 +2233,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -2297,6 +2354,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -2401,6 +2460,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -2505,6 +2566,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -2608,6 +2671,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -2697,6 +2762,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -2782,6 +2849,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -2861,6 +2930,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -2959,6 +3030,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -3062,6 +3135,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -3162,6 +3237,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -3275,6 +3352,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -3359,6 +3438,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -3451,6 +3532,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -3537,6 +3620,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -3628,6 +3713,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -3712,6 +3799,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -3797,6 +3886,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -3883,6 +3974,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -3965,6 +4058,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -4084,6 +4179,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -4184,6 +4281,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -4277,6 +4376,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -4369,6 +4470,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -4463,6 +4566,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -4549,6 +4654,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -4648,6 +4755,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -4739,6 +4848,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -4829,6 +4940,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -4926,6 +5039,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -5045,6 +5160,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -5131,6 +5248,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -5225,6 +5344,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -5316,6 +5437,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() @@ -5406,6 +5529,8 @@ extension KMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kms") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSKafka/Package.swift.txt b/Sources/Services/AWSKafka/Package.swift.txt index 7f11fa62f94..48aa6528184 100644 --- a/Sources/Services/AWSKafka/Package.swift.txt +++ b/Sources/Services/AWSKafka/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSKafka/Sources/AWSKafka/KafkaClient.swift b/Sources/Services/AWSKafka/Sources/AWSKafka/KafkaClient.swift index e47d93c7b61..8c0b2676b82 100644 --- a/Sources/Services/AWSKafka/Sources/AWSKafka/KafkaClient.swift +++ b/Sources/Services/AWSKafka/Sources/AWSKafka/KafkaClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KafkaClient: ClientRuntime.Client { public static let clientName = "KafkaClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: KafkaClient.KafkaClientConfiguration let serviceName = "Kafka" @@ -94,6 +95,8 @@ extension KafkaClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension KafkaClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension KafkaClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension KafkaClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension KafkaClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension KafkaClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension KafkaClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension KafkaClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension KafkaClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -449,6 +470,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -525,6 +548,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -601,6 +626,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -677,6 +704,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -754,6 +783,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -829,6 +860,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -902,6 +935,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -973,6 +1008,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -1043,6 +1080,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -1116,6 +1155,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -1187,6 +1228,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -1258,6 +1301,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -1329,6 +1374,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -1402,6 +1449,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -1473,6 +1522,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -1545,6 +1596,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -1617,6 +1670,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -1690,6 +1745,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -1762,6 +1819,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -1833,6 +1892,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -1903,6 +1964,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -1976,6 +2039,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -2048,6 +2113,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -2119,6 +2186,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -2193,6 +2262,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -2264,6 +2335,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -2335,6 +2408,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -2408,6 +2483,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -2480,6 +2557,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -2551,6 +2630,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -2622,6 +2703,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -2696,6 +2779,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -2770,6 +2855,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -2840,6 +2927,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -2911,6 +3000,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -2981,6 +3072,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -3057,6 +3150,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -3131,6 +3226,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -3203,6 +3300,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -3275,6 +3374,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -3347,6 +3448,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -3421,6 +3524,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -3497,6 +3602,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -3572,6 +3679,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -3648,6 +3757,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -3723,6 +3834,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -3798,6 +3911,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -3872,6 +3987,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -3948,6 +4065,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -4024,6 +4143,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() @@ -4100,6 +4221,8 @@ extension KafkaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafka") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSKafkaConnect/Package.swift.txt b/Sources/Services/AWSKafkaConnect/Package.swift.txt index 7c6d0497b0b..17b994e9f35 100644 --- a/Sources/Services/AWSKafkaConnect/Package.swift.txt +++ b/Sources/Services/AWSKafkaConnect/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSKafkaConnect/Sources/AWSKafkaConnect/KafkaConnectClient.swift b/Sources/Services/AWSKafkaConnect/Sources/AWSKafkaConnect/KafkaConnectClient.swift index c0a1acb27ae..a6fba8defc6 100644 --- a/Sources/Services/AWSKafkaConnect/Sources/AWSKafkaConnect/KafkaConnectClient.swift +++ b/Sources/Services/AWSKafkaConnect/Sources/AWSKafkaConnect/KafkaConnectClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KafkaConnectClient: ClientRuntime.Client { public static let clientName = "KafkaConnectClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: KafkaConnectClient.KafkaConnectClientConfiguration let serviceName = "KafkaConnect" @@ -94,6 +95,8 @@ extension KafkaConnectClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension KafkaConnectClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension KafkaConnectClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension KafkaConnectClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension KafkaConnectClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension KafkaConnectClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension KafkaConnectClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension KafkaConnectClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension KafkaConnectClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension KafkaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafkaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -451,6 +472,8 @@ extension KafkaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafkaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -528,6 +551,8 @@ extension KafkaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafkaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -604,6 +629,8 @@ extension KafkaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafkaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -678,6 +705,8 @@ extension KafkaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafkaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -751,6 +780,8 @@ extension KafkaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafkaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -824,6 +855,8 @@ extension KafkaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafkaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -897,6 +930,8 @@ extension KafkaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafkaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -970,6 +1005,8 @@ extension KafkaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafkaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1043,6 +1080,8 @@ extension KafkaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafkaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1116,6 +1155,8 @@ extension KafkaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafkaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1190,6 +1231,8 @@ extension KafkaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafkaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1264,6 +1307,8 @@ extension KafkaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafkaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1338,6 +1383,8 @@ extension KafkaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafkaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1411,6 +1458,8 @@ extension KafkaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafkaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1486,6 +1535,8 @@ extension KafkaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafkaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1562,6 +1613,8 @@ extension KafkaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafkaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1636,6 +1689,8 @@ extension KafkaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kafkaconnect") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSKendra/Package.swift.txt b/Sources/Services/AWSKendra/Package.swift.txt index cf143da838b..917b14e0020 100644 --- a/Sources/Services/AWSKendra/Package.swift.txt +++ b/Sources/Services/AWSKendra/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSKendra/Sources/AWSKendra/KendraClient.swift b/Sources/Services/AWSKendra/Sources/AWSKendra/KendraClient.swift index 245a695a072..b02540362b2 100644 --- a/Sources/Services/AWSKendra/Sources/AWSKendra/KendraClient.swift +++ b/Sources/Services/AWSKendra/Sources/AWSKendra/KendraClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KendraClient: ClientRuntime.Client { public static let clientName = "KendraClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: KendraClient.KendraClientConfiguration let serviceName = "kendra" @@ -95,6 +96,8 @@ extension KendraClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension KendraClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension KendraClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension KendraClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension KendraClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension KendraClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension KendraClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension KendraClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension KendraClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -449,6 +470,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -525,6 +548,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -600,6 +625,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -676,6 +703,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -753,6 +782,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -829,6 +860,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -906,6 +939,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -985,6 +1020,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -1063,6 +1100,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -1141,6 +1180,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -1219,6 +1260,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -1296,6 +1339,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -1374,6 +1419,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -1452,6 +1499,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -1529,6 +1578,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -1605,6 +1656,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -1681,6 +1734,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -1757,6 +1812,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -1833,6 +1890,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -1909,6 +1968,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -1985,6 +2046,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -2061,6 +2124,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -2136,6 +2201,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -2211,6 +2278,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -2286,6 +2355,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -2361,6 +2432,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -2436,6 +2509,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -2511,6 +2586,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -2586,6 +2663,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -2661,6 +2740,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -2736,6 +2817,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -2811,6 +2894,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -2886,6 +2971,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -2961,6 +3048,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -3038,6 +3127,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -3112,6 +3203,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -3187,6 +3280,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -3263,6 +3358,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -3338,6 +3435,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -3413,6 +3512,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -3488,6 +3589,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -3563,6 +3666,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -3638,6 +3743,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -3713,6 +3820,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -3789,6 +3898,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -3863,6 +3974,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -3938,6 +4051,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -4013,6 +4128,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -4088,6 +4205,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -4165,6 +4284,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -4251,6 +4372,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -4339,6 +4462,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -4416,6 +4541,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -4491,6 +4618,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -4567,6 +4696,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -4642,6 +4773,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -4717,6 +4850,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -4794,6 +4929,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -4870,6 +5007,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -4946,6 +5085,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -5022,6 +5163,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -5099,6 +5242,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -5175,6 +5320,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -5251,6 +5398,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() @@ -5327,6 +5476,8 @@ extension KendraClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSKendraRanking/Package.swift.txt b/Sources/Services/AWSKendraRanking/Package.swift.txt index 3b467ad49ea..1b369c8119b 100644 --- a/Sources/Services/AWSKendraRanking/Package.swift.txt +++ b/Sources/Services/AWSKendraRanking/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSKendraRanking/Sources/AWSKendraRanking/KendraRankingClient.swift b/Sources/Services/AWSKendraRanking/Sources/AWSKendraRanking/KendraRankingClient.swift index 2b05ed6bdc2..8a143333681 100644 --- a/Sources/Services/AWSKendraRanking/Sources/AWSKendraRanking/KendraRankingClient.swift +++ b/Sources/Services/AWSKendraRanking/Sources/AWSKendraRanking/KendraRankingClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -66,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KendraRankingClient: ClientRuntime.Client { public static let clientName = "KendraRankingClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: KendraRankingClient.KendraRankingClientConfiguration let serviceName = "Kendra Ranking" @@ -96,6 +97,8 @@ extension KendraRankingClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -121,6 +124,8 @@ extension KendraRankingClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -144,6 +149,8 @@ extension KendraRankingClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -170,6 +177,8 @@ extension KendraRankingClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -194,6 +203,8 @@ extension KendraRankingClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -220,6 +231,8 @@ extension KendraRankingClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -244,6 +257,8 @@ extension KendraRankingClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -271,6 +286,8 @@ extension KendraRankingClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -298,6 +315,8 @@ extension KendraRankingClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension KendraRankingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra-ranking") .withSigningRegion(value: config.signingRegion) .build() @@ -451,6 +472,8 @@ extension KendraRankingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra-ranking") .withSigningRegion(value: config.signingRegion) .build() @@ -526,6 +549,8 @@ extension KendraRankingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra-ranking") .withSigningRegion(value: config.signingRegion) .build() @@ -600,6 +625,8 @@ extension KendraRankingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra-ranking") .withSigningRegion(value: config.signingRegion) .build() @@ -676,6 +703,8 @@ extension KendraRankingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra-ranking") .withSigningRegion(value: config.signingRegion) .build() @@ -752,6 +781,8 @@ extension KendraRankingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra-ranking") .withSigningRegion(value: config.signingRegion) .build() @@ -827,6 +858,8 @@ extension KendraRankingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra-ranking") .withSigningRegion(value: config.signingRegion) .build() @@ -902,6 +935,8 @@ extension KendraRankingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra-ranking") .withSigningRegion(value: config.signingRegion) .build() @@ -979,6 +1014,8 @@ extension KendraRankingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kendra-ranking") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSKeyspaces/Package.swift.txt b/Sources/Services/AWSKeyspaces/Package.swift.txt index 0a6e8853566..a21f363a8a5 100644 --- a/Sources/Services/AWSKeyspaces/Package.swift.txt +++ b/Sources/Services/AWSKeyspaces/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSKeyspaces/Sources/AWSKeyspaces/KeyspacesClient.swift b/Sources/Services/AWSKeyspaces/Sources/AWSKeyspaces/KeyspacesClient.swift index 6078e830c08..16a201b45de 100644 --- a/Sources/Services/AWSKeyspaces/Sources/AWSKeyspaces/KeyspacesClient.swift +++ b/Sources/Services/AWSKeyspaces/Sources/AWSKeyspaces/KeyspacesClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KeyspacesClient: ClientRuntime.Client { public static let clientName = "KeyspacesClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: KeyspacesClient.KeyspacesClientConfiguration let serviceName = "Keyspaces" @@ -94,6 +95,8 @@ extension KeyspacesClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension KeyspacesClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension KeyspacesClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension KeyspacesClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension KeyspacesClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension KeyspacesClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension KeyspacesClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension KeyspacesClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension KeyspacesClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension KeyspacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cassandra") .withSigningRegion(value: config.signingRegion) .build() @@ -447,6 +468,8 @@ extension KeyspacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cassandra") .withSigningRegion(value: config.signingRegion) .build() @@ -523,6 +546,8 @@ extension KeyspacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cassandra") .withSigningRegion(value: config.signingRegion) .build() @@ -599,6 +624,8 @@ extension KeyspacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cassandra") .withSigningRegion(value: config.signingRegion) .build() @@ -675,6 +702,8 @@ extension KeyspacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cassandra") .withSigningRegion(value: config.signingRegion) .build() @@ -751,6 +780,8 @@ extension KeyspacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cassandra") .withSigningRegion(value: config.signingRegion) .build() @@ -826,6 +857,8 @@ extension KeyspacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cassandra") .withSigningRegion(value: config.signingRegion) .build() @@ -901,6 +934,8 @@ extension KeyspacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cassandra") .withSigningRegion(value: config.signingRegion) .build() @@ -980,6 +1015,8 @@ extension KeyspacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cassandra") .withSigningRegion(value: config.signingRegion) .build() @@ -1055,6 +1092,8 @@ extension KeyspacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cassandra") .withSigningRegion(value: config.signingRegion) .build() @@ -1130,6 +1169,8 @@ extension KeyspacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cassandra") .withSigningRegion(value: config.signingRegion) .build() @@ -1205,6 +1246,8 @@ extension KeyspacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cassandra") .withSigningRegion(value: config.signingRegion) .build() @@ -1280,6 +1323,8 @@ extension KeyspacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cassandra") .withSigningRegion(value: config.signingRegion) .build() @@ -1355,6 +1400,8 @@ extension KeyspacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cassandra") .withSigningRegion(value: config.signingRegion) .build() @@ -1448,6 +1495,8 @@ extension KeyspacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cassandra") .withSigningRegion(value: config.signingRegion) .build() @@ -1524,6 +1573,8 @@ extension KeyspacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cassandra") .withSigningRegion(value: config.signingRegion) .build() @@ -1600,6 +1651,8 @@ extension KeyspacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cassandra") .withSigningRegion(value: config.signingRegion) .build() @@ -1717,6 +1770,8 @@ extension KeyspacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cassandra") .withSigningRegion(value: config.signingRegion) .build() @@ -1793,6 +1848,8 @@ extension KeyspacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "cassandra") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSKinesis/Package.swift.txt b/Sources/Services/AWSKinesis/Package.swift.txt index 726d6056c3f..85f8991297e 100644 --- a/Sources/Services/AWSKinesis/Package.swift.txt +++ b/Sources/Services/AWSKinesis/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSKinesis/Sources/AWSKinesis/KinesisClient.swift b/Sources/Services/AWSKinesis/Sources/AWSKinesis/KinesisClient.swift index 2f33b4b6956..117bf090877 100644 --- a/Sources/Services/AWSKinesis/Sources/AWSKinesis/KinesisClient.swift +++ b/Sources/Services/AWSKinesis/Sources/AWSKinesis/KinesisClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KinesisClient: ClientRuntime.Client { public static let clientName = "KinesisClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: KinesisClient.KinesisClientConfiguration let serviceName = "Kinesis" @@ -94,6 +95,8 @@ extension KinesisClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension KinesisClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension KinesisClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension KinesisClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension KinesisClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension KinesisClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension KinesisClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension KinesisClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension KinesisClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension KinesisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() @@ -451,6 +472,8 @@ extension KinesisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() @@ -526,6 +549,8 @@ extension KinesisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() @@ -605,6 +630,8 @@ extension KinesisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() @@ -680,6 +707,8 @@ extension KinesisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() @@ -753,6 +782,8 @@ extension KinesisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() @@ -824,6 +855,8 @@ extension KinesisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() @@ -898,6 +931,8 @@ extension KinesisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() @@ -971,6 +1006,8 @@ extension KinesisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() @@ -1045,6 +1082,8 @@ extension KinesisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() @@ -1120,6 +1159,8 @@ extension KinesisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() @@ -1195,6 +1236,8 @@ extension KinesisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() @@ -1276,6 +1319,8 @@ extension KinesisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() @@ -1355,6 +1400,8 @@ extension KinesisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() @@ -1429,6 +1476,8 @@ extension KinesisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() @@ -1504,6 +1553,8 @@ extension KinesisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() @@ -1580,6 +1631,8 @@ extension KinesisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() @@ -1655,6 +1708,8 @@ extension KinesisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() @@ -1728,6 +1783,8 @@ extension KinesisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() @@ -1802,6 +1859,8 @@ extension KinesisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() @@ -1878,6 +1937,8 @@ extension KinesisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() @@ -1958,6 +2019,8 @@ extension KinesisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() @@ -2038,6 +2101,8 @@ extension KinesisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() @@ -2120,6 +2185,8 @@ extension KinesisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() @@ -2194,6 +2261,8 @@ extension KinesisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() @@ -2269,6 +2338,8 @@ extension KinesisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() @@ -2345,6 +2416,8 @@ extension KinesisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() @@ -2426,6 +2499,8 @@ extension KinesisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() @@ -2501,6 +2576,8 @@ extension KinesisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() @@ -2576,6 +2653,8 @@ extension KinesisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() @@ -2669,6 +2748,8 @@ extension KinesisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() @@ -2743,6 +2824,8 @@ extension KinesisClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesis") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSKinesisAnalytics/Package.swift.txt b/Sources/Services/AWSKinesisAnalytics/Package.swift.txt index 4d21bb571e8..1b22d15ce47 100644 --- a/Sources/Services/AWSKinesisAnalytics/Package.swift.txt +++ b/Sources/Services/AWSKinesisAnalytics/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSKinesisAnalytics/Sources/AWSKinesisAnalytics/KinesisAnalyticsClient.swift b/Sources/Services/AWSKinesisAnalytics/Sources/AWSKinesisAnalytics/KinesisAnalyticsClient.swift index b8659ee4808..ea06122116c 100644 --- a/Sources/Services/AWSKinesisAnalytics/Sources/AWSKinesisAnalytics/KinesisAnalyticsClient.swift +++ b/Sources/Services/AWSKinesisAnalytics/Sources/AWSKinesisAnalytics/KinesisAnalyticsClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KinesisAnalyticsClient: ClientRuntime.Client { public static let clientName = "KinesisAnalyticsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: KinesisAnalyticsClient.KinesisAnalyticsClientConfiguration let serviceName = "Kinesis Analytics" @@ -94,6 +95,8 @@ extension KinesisAnalyticsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension KinesisAnalyticsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension KinesisAnalyticsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension KinesisAnalyticsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension KinesisAnalyticsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension KinesisAnalyticsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension KinesisAnalyticsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension KinesisAnalyticsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension KinesisAnalyticsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension KinesisAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -447,6 +468,8 @@ extension KinesisAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -522,6 +545,8 @@ extension KinesisAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -597,6 +622,8 @@ extension KinesisAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -672,6 +699,8 @@ extension KinesisAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -748,6 +777,8 @@ extension KinesisAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -822,6 +853,8 @@ extension KinesisAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -897,6 +930,8 @@ extension KinesisAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -972,6 +1007,8 @@ extension KinesisAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1047,6 +1084,8 @@ extension KinesisAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1122,6 +1161,8 @@ extension KinesisAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1194,6 +1235,8 @@ extension KinesisAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1271,6 +1314,8 @@ extension KinesisAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1340,6 +1385,8 @@ extension KinesisAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1413,6 +1460,8 @@ extension KinesisAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1488,6 +1537,8 @@ extension KinesisAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1561,6 +1612,8 @@ extension KinesisAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1636,6 +1689,8 @@ extension KinesisAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1711,6 +1766,8 @@ extension KinesisAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1787,6 +1844,8 @@ extension KinesisAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSKinesisAnalyticsV2/Package.swift.txt b/Sources/Services/AWSKinesisAnalyticsV2/Package.swift.txt index 5698aeb5101..2cce9e871e6 100644 --- a/Sources/Services/AWSKinesisAnalyticsV2/Package.swift.txt +++ b/Sources/Services/AWSKinesisAnalyticsV2/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSKinesisAnalyticsV2/Sources/AWSKinesisAnalyticsV2/KinesisAnalyticsV2Client.swift b/Sources/Services/AWSKinesisAnalyticsV2/Sources/AWSKinesisAnalyticsV2/KinesisAnalyticsV2Client.swift index 2b3f897d50b..2e439113b98 100644 --- a/Sources/Services/AWSKinesisAnalyticsV2/Sources/AWSKinesisAnalyticsV2/KinesisAnalyticsV2Client.swift +++ b/Sources/Services/AWSKinesisAnalyticsV2/Sources/AWSKinesisAnalyticsV2/KinesisAnalyticsV2Client.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KinesisAnalyticsV2Client: ClientRuntime.Client { public static let clientName = "KinesisAnalyticsV2Client" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: KinesisAnalyticsV2Client.KinesisAnalyticsV2ClientConfiguration let serviceName = "Kinesis Analytics V2" @@ -94,6 +95,8 @@ extension KinesisAnalyticsV2Client { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension KinesisAnalyticsV2Client { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension KinesisAnalyticsV2Client { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension KinesisAnalyticsV2Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension KinesisAnalyticsV2Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension KinesisAnalyticsV2Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension KinesisAnalyticsV2Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension KinesisAnalyticsV2Client { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension KinesisAnalyticsV2Client { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension KinesisAnalyticsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -448,6 +469,8 @@ extension KinesisAnalyticsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -523,6 +546,8 @@ extension KinesisAnalyticsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -598,6 +623,8 @@ extension KinesisAnalyticsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -673,6 +700,8 @@ extension KinesisAnalyticsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -752,6 +781,8 @@ extension KinesisAnalyticsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -830,6 +861,8 @@ extension KinesisAnalyticsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -903,6 +936,8 @@ extension KinesisAnalyticsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -980,6 +1015,8 @@ extension KinesisAnalyticsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1056,6 +1093,8 @@ extension KinesisAnalyticsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1132,6 +1171,8 @@ extension KinesisAnalyticsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1207,6 +1248,8 @@ extension KinesisAnalyticsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1282,6 +1325,8 @@ extension KinesisAnalyticsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1357,6 +1402,8 @@ extension KinesisAnalyticsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1433,6 +1480,8 @@ extension KinesisAnalyticsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1508,6 +1557,8 @@ extension KinesisAnalyticsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1581,6 +1632,8 @@ extension KinesisAnalyticsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1654,6 +1707,8 @@ extension KinesisAnalyticsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1727,6 +1782,8 @@ extension KinesisAnalyticsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1800,6 +1857,8 @@ extension KinesisAnalyticsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1876,6 +1935,8 @@ extension KinesisAnalyticsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -1949,6 +2010,8 @@ extension KinesisAnalyticsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -2021,6 +2084,8 @@ extension KinesisAnalyticsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -2094,6 +2159,8 @@ extension KinesisAnalyticsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -2165,6 +2232,8 @@ extension KinesisAnalyticsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -2238,6 +2307,8 @@ extension KinesisAnalyticsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -2314,6 +2385,8 @@ extension KinesisAnalyticsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -2389,6 +2462,8 @@ extension KinesisAnalyticsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -2465,6 +2540,8 @@ extension KinesisAnalyticsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -2540,6 +2617,8 @@ extension KinesisAnalyticsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -2615,6 +2694,8 @@ extension KinesisAnalyticsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -2693,6 +2774,8 @@ extension KinesisAnalyticsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -2768,6 +2851,8 @@ extension KinesisAnalyticsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisanalytics") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSKinesisVideo/Package.swift.txt b/Sources/Services/AWSKinesisVideo/Package.swift.txt index d5785c6a254..c35ba5025f6 100644 --- a/Sources/Services/AWSKinesisVideo/Package.swift.txt +++ b/Sources/Services/AWSKinesisVideo/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSKinesisVideo/Sources/AWSKinesisVideo/KinesisVideoClient.swift b/Sources/Services/AWSKinesisVideo/Sources/AWSKinesisVideo/KinesisVideoClient.swift index dadf36714e2..b163bd4165f 100644 --- a/Sources/Services/AWSKinesisVideo/Sources/AWSKinesisVideo/KinesisVideoClient.swift +++ b/Sources/Services/AWSKinesisVideo/Sources/AWSKinesisVideo/KinesisVideoClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KinesisVideoClient: ClientRuntime.Client { public static let clientName = "KinesisVideoClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: KinesisVideoClient.KinesisVideoClientConfiguration let serviceName = "Kinesis Video" @@ -93,6 +94,8 @@ extension KinesisVideoClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension KinesisVideoClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension KinesisVideoClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension KinesisVideoClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension KinesisVideoClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension KinesisVideoClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension KinesisVideoClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension KinesisVideoClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension KinesisVideoClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -377,6 +396,8 @@ extension KinesisVideoClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -459,6 +480,8 @@ extension KinesisVideoClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -533,6 +556,8 @@ extension KinesisVideoClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -614,6 +639,8 @@ extension KinesisVideoClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -695,6 +722,8 @@ extension KinesisVideoClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -769,6 +798,8 @@ extension KinesisVideoClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -842,6 +873,8 @@ extension KinesisVideoClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -915,6 +948,8 @@ extension KinesisVideoClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -988,6 +1023,8 @@ extension KinesisVideoClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -1061,6 +1098,8 @@ extension KinesisVideoClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -1134,6 +1173,8 @@ extension KinesisVideoClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -1207,6 +1248,8 @@ extension KinesisVideoClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -1280,6 +1323,8 @@ extension KinesisVideoClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -1360,6 +1405,8 @@ extension KinesisVideoClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -1432,6 +1479,8 @@ extension KinesisVideoClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -1504,6 +1553,8 @@ extension KinesisVideoClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -1575,6 +1626,8 @@ extension KinesisVideoClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -1648,6 +1701,8 @@ extension KinesisVideoClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -1722,6 +1777,8 @@ extension KinesisVideoClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -1803,6 +1860,8 @@ extension KinesisVideoClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -1877,6 +1936,8 @@ extension KinesisVideoClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -1952,6 +2013,8 @@ extension KinesisVideoClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -2025,6 +2088,8 @@ extension KinesisVideoClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -2099,6 +2164,8 @@ extension KinesisVideoClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -2184,6 +2251,8 @@ extension KinesisVideoClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -2265,6 +2334,8 @@ extension KinesisVideoClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -2353,6 +2424,8 @@ extension KinesisVideoClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -2434,6 +2507,8 @@ extension KinesisVideoClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -2515,6 +2590,8 @@ extension KinesisVideoClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -2596,6 +2673,8 @@ extension KinesisVideoClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSKinesisVideoArchivedMedia/Package.swift.txt b/Sources/Services/AWSKinesisVideoArchivedMedia/Package.swift.txt index 61f07db5b32..e9a9f5c342c 100644 --- a/Sources/Services/AWSKinesisVideoArchivedMedia/Package.swift.txt +++ b/Sources/Services/AWSKinesisVideoArchivedMedia/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSKinesisVideoArchivedMedia/Sources/AWSKinesisVideoArchivedMedia/KinesisVideoArchivedMediaClient.swift b/Sources/Services/AWSKinesisVideoArchivedMedia/Sources/AWSKinesisVideoArchivedMedia/KinesisVideoArchivedMediaClient.swift index d6eee3b705d..1c65ee2a5b4 100644 --- a/Sources/Services/AWSKinesisVideoArchivedMedia/Sources/AWSKinesisVideoArchivedMedia/KinesisVideoArchivedMediaClient.swift +++ b/Sources/Services/AWSKinesisVideoArchivedMedia/Sources/AWSKinesisVideoArchivedMedia/KinesisVideoArchivedMediaClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KinesisVideoArchivedMediaClient: ClientRuntime.Client { public static let clientName = "KinesisVideoArchivedMediaClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: KinesisVideoArchivedMediaClient.KinesisVideoArchivedMediaClientConfiguration let serviceName = "Kinesis Video Archived Media" @@ -94,6 +95,8 @@ extension KinesisVideoArchivedMediaClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension KinesisVideoArchivedMediaClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension KinesisVideoArchivedMediaClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension KinesisVideoArchivedMediaClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension KinesisVideoArchivedMediaClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension KinesisVideoArchivedMediaClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension KinesisVideoArchivedMediaClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension KinesisVideoArchivedMediaClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension KinesisVideoArchivedMediaClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -386,6 +405,8 @@ extension KinesisVideoArchivedMediaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -501,6 +522,8 @@ extension KinesisVideoArchivedMediaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -620,6 +643,8 @@ extension KinesisVideoArchivedMediaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -694,6 +719,8 @@ extension KinesisVideoArchivedMediaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -774,6 +801,8 @@ extension KinesisVideoArchivedMediaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -854,6 +883,8 @@ extension KinesisVideoArchivedMediaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSKinesisVideoMedia/Package.swift.txt b/Sources/Services/AWSKinesisVideoMedia/Package.swift.txt index df74ee15260..f9f3e6ab4a3 100644 --- a/Sources/Services/AWSKinesisVideoMedia/Package.swift.txt +++ b/Sources/Services/AWSKinesisVideoMedia/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSKinesisVideoMedia/Sources/AWSKinesisVideoMedia/KinesisVideoMediaClient.swift b/Sources/Services/AWSKinesisVideoMedia/Sources/AWSKinesisVideoMedia/KinesisVideoMediaClient.swift index aa461bf8942..af7e79b315e 100644 --- a/Sources/Services/AWSKinesisVideoMedia/Sources/AWSKinesisVideoMedia/KinesisVideoMediaClient.swift +++ b/Sources/Services/AWSKinesisVideoMedia/Sources/AWSKinesisVideoMedia/KinesisVideoMediaClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KinesisVideoMediaClient: ClientRuntime.Client { public static let clientName = "KinesisVideoMediaClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: KinesisVideoMediaClient.KinesisVideoMediaClientConfiguration let serviceName = "Kinesis Video Media" @@ -93,6 +94,8 @@ extension KinesisVideoMediaClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension KinesisVideoMediaClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension KinesisVideoMediaClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension KinesisVideoMediaClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension KinesisVideoMediaClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension KinesisVideoMediaClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension KinesisVideoMediaClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension KinesisVideoMediaClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension KinesisVideoMediaClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -385,6 +404,8 @@ extension KinesisVideoMediaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSKinesisVideoSignaling/Package.swift.txt b/Sources/Services/AWSKinesisVideoSignaling/Package.swift.txt index 80f7c5556cf..bcba682cc37 100644 --- a/Sources/Services/AWSKinesisVideoSignaling/Package.swift.txt +++ b/Sources/Services/AWSKinesisVideoSignaling/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSKinesisVideoSignaling/Sources/AWSKinesisVideoSignaling/KinesisVideoSignalingClient.swift b/Sources/Services/AWSKinesisVideoSignaling/Sources/AWSKinesisVideoSignaling/KinesisVideoSignalingClient.swift index ed601647c3d..89dabfdf471 100644 --- a/Sources/Services/AWSKinesisVideoSignaling/Sources/AWSKinesisVideoSignaling/KinesisVideoSignalingClient.swift +++ b/Sources/Services/AWSKinesisVideoSignaling/Sources/AWSKinesisVideoSignaling/KinesisVideoSignalingClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -62,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KinesisVideoSignalingClient: ClientRuntime.Client { public static let clientName = "KinesisVideoSignalingClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: KinesisVideoSignalingClient.KinesisVideoSignalingClientConfiguration let serviceName = "Kinesis Video Signaling" @@ -92,6 +93,8 @@ extension KinesisVideoSignalingClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -117,6 +120,8 @@ extension KinesisVideoSignalingClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -140,6 +145,8 @@ extension KinesisVideoSignalingClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -166,6 +173,8 @@ extension KinesisVideoSignalingClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -190,6 +199,8 @@ extension KinesisVideoSignalingClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -216,6 +227,8 @@ extension KinesisVideoSignalingClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -240,6 +253,8 @@ extension KinesisVideoSignalingClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -267,6 +282,8 @@ extension KinesisVideoSignalingClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -294,6 +311,8 @@ extension KinesisVideoSignalingClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension KinesisVideoSignalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -443,6 +464,8 @@ extension KinesisVideoSignalingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSKinesisVideoWebRTCStorage/Package.swift.txt b/Sources/Services/AWSKinesisVideoWebRTCStorage/Package.swift.txt index 5c89cf8459d..07fdbeb3999 100644 --- a/Sources/Services/AWSKinesisVideoWebRTCStorage/Package.swift.txt +++ b/Sources/Services/AWSKinesisVideoWebRTCStorage/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSKinesisVideoWebRTCStorage/Sources/AWSKinesisVideoWebRTCStorage/KinesisVideoWebRTCStorageClient.swift b/Sources/Services/AWSKinesisVideoWebRTCStorage/Sources/AWSKinesisVideoWebRTCStorage/KinesisVideoWebRTCStorageClient.swift index 6cfedc5fc55..7977593f42d 100644 --- a/Sources/Services/AWSKinesisVideoWebRTCStorage/Sources/AWSKinesisVideoWebRTCStorage/KinesisVideoWebRTCStorageClient.swift +++ b/Sources/Services/AWSKinesisVideoWebRTCStorage/Sources/AWSKinesisVideoWebRTCStorage/KinesisVideoWebRTCStorageClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -62,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class KinesisVideoWebRTCStorageClient: ClientRuntime.Client { public static let clientName = "KinesisVideoWebRTCStorageClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: KinesisVideoWebRTCStorageClient.KinesisVideoWebRTCStorageClientConfiguration let serviceName = "Kinesis Video WebRTC Storage" @@ -92,6 +93,8 @@ extension KinesisVideoWebRTCStorageClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -117,6 +120,8 @@ extension KinesisVideoWebRTCStorageClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -140,6 +145,8 @@ extension KinesisVideoWebRTCStorageClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -166,6 +173,8 @@ extension KinesisVideoWebRTCStorageClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -190,6 +199,8 @@ extension KinesisVideoWebRTCStorageClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -216,6 +227,8 @@ extension KinesisVideoWebRTCStorageClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -240,6 +253,8 @@ extension KinesisVideoWebRTCStorageClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -267,6 +282,8 @@ extension KinesisVideoWebRTCStorageClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -294,6 +311,8 @@ extension KinesisVideoWebRTCStorageClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -381,6 +400,8 @@ extension KinesisVideoWebRTCStorageClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() @@ -454,6 +475,8 @@ extension KinesisVideoWebRTCStorageClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "kinesisvideo") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSLakeFormation/Package.swift.txt b/Sources/Services/AWSLakeFormation/Package.swift.txt index b07a768f269..0a28ecc1cbd 100644 --- a/Sources/Services/AWSLakeFormation/Package.swift.txt +++ b/Sources/Services/AWSLakeFormation/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSLakeFormation/Sources/AWSLakeFormation/LakeFormationClient.swift b/Sources/Services/AWSLakeFormation/Sources/AWSLakeFormation/LakeFormationClient.swift index 139a91bb186..097b45d042b 100644 --- a/Sources/Services/AWSLakeFormation/Sources/AWSLakeFormation/LakeFormationClient.swift +++ b/Sources/Services/AWSLakeFormation/Sources/AWSLakeFormation/LakeFormationClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LakeFormationClient: ClientRuntime.Client { public static let clientName = "LakeFormationClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: LakeFormationClient.LakeFormationClientConfiguration let serviceName = "LakeFormation" @@ -94,6 +95,8 @@ extension LakeFormationClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension LakeFormationClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension LakeFormationClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension LakeFormationClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension LakeFormationClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension LakeFormationClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension LakeFormationClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension LakeFormationClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension LakeFormationClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -517,6 +540,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -588,6 +613,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -664,6 +691,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -739,6 +768,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -815,6 +846,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -890,6 +923,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -965,6 +1000,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -1040,6 +1077,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -1115,6 +1154,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -1189,6 +1230,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -1263,6 +1306,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -1337,6 +1382,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -1412,6 +1459,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -1487,6 +1536,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -1564,6 +1615,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -1637,6 +1690,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -1711,6 +1766,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -1784,6 +1841,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -1857,6 +1916,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -1933,6 +1994,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -2007,6 +2070,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -2079,6 +2144,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -2148,6 +2215,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -2221,6 +2290,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -2295,6 +2366,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -2369,6 +2442,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -2441,6 +2516,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -2516,6 +2593,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -2591,6 +2670,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -2667,6 +2748,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -2742,6 +2825,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -2817,6 +2902,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -2891,6 +2978,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -2965,6 +3054,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -3037,6 +3128,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -3110,6 +3203,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -3184,6 +3279,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -3258,6 +3355,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -3331,6 +3430,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -3403,6 +3504,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -3475,6 +3578,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -3548,6 +3653,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -3620,6 +3727,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -3691,6 +3800,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -3767,6 +3878,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -3843,6 +3956,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -3915,6 +4030,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -3990,6 +4107,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -4065,6 +4184,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -4138,6 +4259,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -4209,6 +4332,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -4284,6 +4409,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -4359,6 +4486,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -4434,6 +4563,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -4509,6 +4640,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -4582,6 +4715,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -4660,6 +4795,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() @@ -4733,6 +4870,8 @@ extension LakeFormationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lakeformation") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSLambda/Package.swift.txt b/Sources/Services/AWSLambda/Package.swift.txt index 18b2b018846..a80b36be466 100644 --- a/Sources/Services/AWSLambda/Package.swift.txt +++ b/Sources/Services/AWSLambda/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSLambda/Sources/AWSLambda/LambdaClient.swift b/Sources/Services/AWSLambda/Sources/AWSLambda/LambdaClient.swift index 428a8e0e409..380b517c61a 100644 --- a/Sources/Services/AWSLambda/Sources/AWSLambda/LambdaClient.swift +++ b/Sources/Services/AWSLambda/Sources/AWSLambda/LambdaClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -69,7 +70,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LambdaClient: ClientRuntime.Client { public static let clientName = "LambdaClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: LambdaClient.LambdaClientConfiguration let serviceName = "Lambda" @@ -99,6 +100,8 @@ extension LambdaClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -124,6 +127,8 @@ extension LambdaClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -147,6 +152,8 @@ extension LambdaClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -173,6 +180,8 @@ extension LambdaClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -197,6 +206,8 @@ extension LambdaClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -223,6 +234,8 @@ extension LambdaClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -247,6 +260,8 @@ extension LambdaClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -274,6 +289,8 @@ extension LambdaClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -301,6 +318,8 @@ extension LambdaClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -382,6 +401,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -463,6 +484,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -538,6 +561,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -609,6 +634,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -730,6 +757,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -808,6 +837,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -882,6 +913,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -956,6 +989,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -1026,6 +1061,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -1098,6 +1135,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -1169,6 +1208,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -1242,6 +1283,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -1313,6 +1356,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -1384,6 +1429,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -1455,6 +1502,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -1524,6 +1573,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -1595,6 +1646,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -1664,6 +1717,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -1734,6 +1789,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -1803,6 +1860,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -1873,6 +1932,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -1943,6 +2004,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -2014,6 +2077,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -2084,6 +2149,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -2154,6 +2221,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -2225,6 +2294,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -2296,6 +2367,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -2366,6 +2439,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -2437,6 +2512,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -2507,6 +2584,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -2578,6 +2657,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -2648,6 +2729,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -2720,6 +2803,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -2791,6 +2876,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -2888,6 +2975,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -2965,6 +3054,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -3064,6 +3155,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -3139,6 +3232,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -3208,6 +3303,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -3279,6 +3376,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -3350,6 +3449,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -3421,6 +3522,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -3491,6 +3594,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -3561,6 +3666,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -3632,6 +3739,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -3702,6 +3811,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -3773,6 +3884,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -3844,6 +3957,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -3914,6 +4029,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -3986,6 +4103,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -4066,6 +4185,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -4141,6 +4262,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -4215,6 +4338,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -4289,6 +4414,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -4364,6 +4491,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -4438,6 +4567,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -4513,6 +4644,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -4592,6 +4725,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -4668,6 +4803,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -4740,6 +4877,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -4814,6 +4953,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -4891,6 +5032,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -4963,6 +5106,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -5085,6 +5230,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -5168,6 +5315,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -5250,6 +5399,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -5324,6 +5475,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() @@ -5399,6 +5552,8 @@ extension LambdaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lambda") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSLaunchWizard/Package.swift.txt b/Sources/Services/AWSLaunchWizard/Package.swift.txt index 99135ddaa09..be0e1bfd0de 100644 --- a/Sources/Services/AWSLaunchWizard/Package.swift.txt +++ b/Sources/Services/AWSLaunchWizard/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSLaunchWizard/Sources/AWSLaunchWizard/LaunchWizardClient.swift b/Sources/Services/AWSLaunchWizard/Sources/AWSLaunchWizard/LaunchWizardClient.swift index 2e8dfca71a9..d5245fe4aab 100644 --- a/Sources/Services/AWSLaunchWizard/Sources/AWSLaunchWizard/LaunchWizardClient.swift +++ b/Sources/Services/AWSLaunchWizard/Sources/AWSLaunchWizard/LaunchWizardClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LaunchWizardClient: ClientRuntime.Client { public static let clientName = "LaunchWizardClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: LaunchWizardClient.LaunchWizardClientConfiguration let serviceName = "Launch Wizard" @@ -93,6 +94,8 @@ extension LaunchWizardClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension LaunchWizardClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension LaunchWizardClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension LaunchWizardClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension LaunchWizardClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension LaunchWizardClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension LaunchWizardClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension LaunchWizardClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension LaunchWizardClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -369,6 +388,8 @@ extension LaunchWizardClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "launchwizard") .withSigningRegion(value: config.signingRegion) .build() @@ -442,6 +463,8 @@ extension LaunchWizardClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "launchwizard") .withSigningRegion(value: config.signingRegion) .build() @@ -514,6 +537,8 @@ extension LaunchWizardClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "launchwizard") .withSigningRegion(value: config.signingRegion) .build() @@ -586,6 +611,8 @@ extension LaunchWizardClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "launchwizard") .withSigningRegion(value: config.signingRegion) .build() @@ -658,6 +685,8 @@ extension LaunchWizardClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "launchwizard") .withSigningRegion(value: config.signingRegion) .build() @@ -730,6 +759,8 @@ extension LaunchWizardClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "launchwizard") .withSigningRegion(value: config.signingRegion) .build() @@ -801,6 +832,8 @@ extension LaunchWizardClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "launchwizard") .withSigningRegion(value: config.signingRegion) .build() @@ -873,6 +906,8 @@ extension LaunchWizardClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "launchwizard") .withSigningRegion(value: config.signingRegion) .build() @@ -942,6 +977,8 @@ extension LaunchWizardClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "launchwizard") .withSigningRegion(value: config.signingRegion) .build() @@ -1013,6 +1050,8 @@ extension LaunchWizardClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "launchwizard") .withSigningRegion(value: config.signingRegion) .build() @@ -1085,6 +1124,8 @@ extension LaunchWizardClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "launchwizard") .withSigningRegion(value: config.signingRegion) .build() @@ -1157,6 +1198,8 @@ extension LaunchWizardClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "launchwizard") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSLexModelBuildingService/Package.swift.txt b/Sources/Services/AWSLexModelBuildingService/Package.swift.txt index 649f7120731..37b89d126bd 100644 --- a/Sources/Services/AWSLexModelBuildingService/Package.swift.txt +++ b/Sources/Services/AWSLexModelBuildingService/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSLexModelBuildingService/Sources/AWSLexModelBuildingService/LexModelBuildingClient.swift b/Sources/Services/AWSLexModelBuildingService/Sources/AWSLexModelBuildingService/LexModelBuildingClient.swift index 0876b6f8034..69ae12ce368 100644 --- a/Sources/Services/AWSLexModelBuildingService/Sources/AWSLexModelBuildingService/LexModelBuildingClient.swift +++ b/Sources/Services/AWSLexModelBuildingService/Sources/AWSLexModelBuildingService/LexModelBuildingClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LexModelBuildingClient: ClientRuntime.Client { public static let clientName = "LexModelBuildingClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: LexModelBuildingClient.LexModelBuildingClientConfiguration let serviceName = "Lex Model Building" @@ -94,6 +95,8 @@ extension LexModelBuildingClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension LexModelBuildingClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension LexModelBuildingClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension LexModelBuildingClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension LexModelBuildingClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension LexModelBuildingClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension LexModelBuildingClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension LexModelBuildingClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension LexModelBuildingClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -447,6 +468,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -522,6 +545,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -601,6 +626,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -677,6 +704,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -748,6 +777,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -824,6 +855,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -900,6 +933,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -976,6 +1011,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -1052,6 +1089,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -1128,6 +1167,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -1198,6 +1239,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -1268,6 +1311,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -1338,6 +1383,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -1407,6 +1454,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -1478,6 +1527,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -1547,6 +1598,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -1618,6 +1671,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -1696,6 +1751,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -1767,6 +1824,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -1836,6 +1895,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -1906,6 +1967,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -1977,6 +2040,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -2048,6 +2113,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -2118,6 +2185,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -2188,6 +2257,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -2266,6 +2337,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -2337,6 +2410,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -2406,6 +2481,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -2477,6 +2554,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -2547,6 +2626,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -2625,6 +2706,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -2695,6 +2778,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -2766,6 +2851,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -2837,6 +2924,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -2911,6 +3000,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -3005,6 +3096,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -3079,6 +3172,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -3151,6 +3246,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -3225,6 +3322,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -3299,6 +3398,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -3373,6 +3474,8 @@ extension LexModelBuildingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSLexModelsV2/Package.swift.txt b/Sources/Services/AWSLexModelsV2/Package.swift.txt index d13eccd6eec..f7d4a23ca4c 100644 --- a/Sources/Services/AWSLexModelsV2/Package.swift.txt +++ b/Sources/Services/AWSLexModelsV2/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSLexModelsV2/Sources/AWSLexModelsV2/LexModelsV2Client.swift b/Sources/Services/AWSLexModelsV2/Sources/AWSLexModelsV2/LexModelsV2Client.swift index b799c36b774..0a4bd17172b 100644 --- a/Sources/Services/AWSLexModelsV2/Sources/AWSLexModelsV2/LexModelsV2Client.swift +++ b/Sources/Services/AWSLexModelsV2/Sources/AWSLexModelsV2/LexModelsV2Client.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LexModelsV2Client: ClientRuntime.Client { public static let clientName = "LexModelsV2Client" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: LexModelsV2Client.LexModelsV2ClientConfiguration let serviceName = "Lex Models V2" @@ -94,6 +95,8 @@ extension LexModelsV2Client { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension LexModelsV2Client { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension LexModelsV2Client { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension LexModelsV2Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension LexModelsV2Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension LexModelsV2Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension LexModelsV2Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension LexModelsV2Client { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension LexModelsV2Client { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -445,6 +466,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -519,6 +542,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -594,6 +619,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -666,6 +693,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -741,6 +770,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -816,6 +847,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -891,6 +924,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -966,6 +1001,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -1041,6 +1078,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -1128,6 +1167,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -1203,6 +1244,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -1279,6 +1322,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -1355,6 +1400,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -1430,6 +1477,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -1505,6 +1554,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -1579,6 +1630,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -1651,6 +1704,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -1724,6 +1779,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -1797,6 +1854,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -1869,6 +1928,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -1941,6 +2002,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -2014,6 +2077,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -2085,6 +2150,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -2156,6 +2223,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -2228,6 +2297,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -2298,6 +2369,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -2369,6 +2442,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -2442,6 +2517,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -2514,6 +2591,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -2587,6 +2666,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -2656,6 +2737,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -2728,6 +2811,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -2799,6 +2884,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -2870,6 +2957,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -2940,6 +3029,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -3011,6 +3102,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -3081,6 +3174,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -3152,6 +3247,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -3223,6 +3320,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -3293,6 +3392,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -3363,6 +3464,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -3434,6 +3537,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -3503,6 +3608,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -3574,6 +3681,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -3645,6 +3754,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -3716,6 +3827,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -3787,6 +3900,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -3858,6 +3973,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -3929,6 +4046,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -4002,6 +4121,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -4076,6 +4197,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -4152,6 +4275,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -4225,6 +4350,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -4298,6 +4425,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -4371,6 +4500,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -4444,6 +4575,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -4517,6 +4650,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -4587,6 +4722,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -4660,6 +4797,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -4733,6 +4872,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -4806,6 +4947,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -4879,6 +5022,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -4952,6 +5097,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -5026,6 +5173,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -5098,6 +5247,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -5170,6 +5321,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -5258,6 +5411,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -5339,6 +5494,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -5427,6 +5584,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -5500,6 +5659,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -5574,6 +5735,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -5652,6 +5815,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -5740,6 +5905,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -5813,6 +5980,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -5886,6 +6055,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -5959,6 +6130,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -6030,6 +6203,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -6103,6 +6278,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -6177,6 +6354,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -6250,6 +6429,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -6333,6 +6514,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -6421,6 +6604,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -6495,6 +6680,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -6571,6 +6758,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -6646,6 +6835,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -6721,6 +6912,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -6796,6 +6989,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -6871,6 +7066,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -6947,6 +7144,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -7017,6 +7216,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -7090,6 +7291,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -7163,6 +7366,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -7238,6 +7443,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -7313,6 +7520,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -7389,6 +7598,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -7464,6 +7675,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -7539,6 +7752,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -7614,6 +7829,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -7690,6 +7907,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -7765,6 +7984,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -7840,6 +8061,8 @@ extension LexModelsV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSLexRuntimeService/Package.swift.txt b/Sources/Services/AWSLexRuntimeService/Package.swift.txt index b03d4e70219..4ca598b6e83 100644 --- a/Sources/Services/AWSLexRuntimeService/Package.swift.txt +++ b/Sources/Services/AWSLexRuntimeService/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSLexRuntimeService/Sources/AWSLexRuntimeService/LexRuntimeClient.swift b/Sources/Services/AWSLexRuntimeService/Sources/AWSLexRuntimeService/LexRuntimeClient.swift index e9159a6bf78..791d19e93af 100644 --- a/Sources/Services/AWSLexRuntimeService/Sources/AWSLexRuntimeService/LexRuntimeClient.swift +++ b/Sources/Services/AWSLexRuntimeService/Sources/AWSLexRuntimeService/LexRuntimeClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -67,7 +68,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LexRuntimeClient: ClientRuntime.Client { public static let clientName = "LexRuntimeClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: LexRuntimeClient.LexRuntimeClientConfiguration let serviceName = "Lex Runtime" @@ -97,6 +98,8 @@ extension LexRuntimeClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -122,6 +125,8 @@ extension LexRuntimeClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -145,6 +150,8 @@ extension LexRuntimeClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -171,6 +178,8 @@ extension LexRuntimeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -195,6 +204,8 @@ extension LexRuntimeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -221,6 +232,8 @@ extension LexRuntimeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -245,6 +258,8 @@ extension LexRuntimeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -272,6 +287,8 @@ extension LexRuntimeClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -299,6 +316,8 @@ extension LexRuntimeClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension LexRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -444,6 +465,8 @@ extension LexRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -557,6 +580,8 @@ extension LexRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -670,6 +695,8 @@ extension LexRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -753,6 +780,8 @@ extension LexRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSLexRuntimeV2/Package.swift.txt b/Sources/Services/AWSLexRuntimeV2/Package.swift.txt index dc0dbc3bba2..ada67c44a36 100644 --- a/Sources/Services/AWSLexRuntimeV2/Package.swift.txt +++ b/Sources/Services/AWSLexRuntimeV2/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKEventStreamsAuth", exact: "0.0.1" @@ -36,6 +40,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKEventStreamsAuth", package: "aws-sdk-swift.AWSSDKEventStreamsAuth" diff --git a/Sources/Services/AWSLexRuntimeV2/Sources/AWSLexRuntimeV2/LexRuntimeV2Client.swift b/Sources/Services/AWSLexRuntimeV2/Sources/AWSLexRuntimeV2/LexRuntimeV2Client.swift index adfad373a8a..5b947747cdf 100644 --- a/Sources/Services/AWSLexRuntimeV2/Sources/AWSLexRuntimeV2/LexRuntimeV2Client.swift +++ b/Sources/Services/AWSLexRuntimeV2/Sources/AWSLexRuntimeV2/LexRuntimeV2Client.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -68,7 +69,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LexRuntimeV2Client: ClientRuntime.Client { public static let clientName = "LexRuntimeV2Client" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: LexRuntimeV2Client.LexRuntimeV2ClientConfiguration let serviceName = "Lex Runtime V2" @@ -98,6 +99,8 @@ extension LexRuntimeV2Client { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -123,6 +126,8 @@ extension LexRuntimeV2Client { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -146,6 +151,8 @@ extension LexRuntimeV2Client { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -172,6 +179,8 @@ extension LexRuntimeV2Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -196,6 +205,8 @@ extension LexRuntimeV2Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -222,6 +233,8 @@ extension LexRuntimeV2Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -246,6 +259,8 @@ extension LexRuntimeV2Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -273,6 +288,8 @@ extension LexRuntimeV2Client { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -300,6 +317,8 @@ extension LexRuntimeV2Client { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -376,6 +395,8 @@ extension LexRuntimeV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -447,6 +468,8 @@ extension LexRuntimeV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -521,6 +544,8 @@ extension LexRuntimeV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -608,6 +633,8 @@ extension LexRuntimeV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -714,6 +741,8 @@ extension LexRuntimeV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() @@ -803,6 +832,8 @@ extension LexRuntimeV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lex") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSLicenseManager/Package.swift.txt b/Sources/Services/AWSLicenseManager/Package.swift.txt index 51aee4124eb..e1390d8f6e0 100644 --- a/Sources/Services/AWSLicenseManager/Package.swift.txt +++ b/Sources/Services/AWSLicenseManager/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSLicenseManager/Sources/AWSLicenseManager/LicenseManagerClient.swift b/Sources/Services/AWSLicenseManager/Sources/AWSLicenseManager/LicenseManagerClient.swift index e0f85e3d686..ae088b92575 100644 --- a/Sources/Services/AWSLicenseManager/Sources/AWSLicenseManager/LicenseManagerClient.swift +++ b/Sources/Services/AWSLicenseManager/Sources/AWSLicenseManager/LicenseManagerClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LicenseManagerClient: ClientRuntime.Client { public static let clientName = "LicenseManagerClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: LicenseManagerClient.LicenseManagerClientConfiguration let serviceName = "License Manager" @@ -94,6 +95,8 @@ extension LicenseManagerClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension LicenseManagerClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension LicenseManagerClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension LicenseManagerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension LicenseManagerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension LicenseManagerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension LicenseManagerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension LicenseManagerClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension LicenseManagerClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -451,6 +472,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -532,6 +555,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -612,6 +637,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -689,6 +716,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -766,6 +795,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -843,6 +874,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -919,6 +952,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -995,6 +1030,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -1073,6 +1110,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -1151,6 +1190,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -1229,6 +1270,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -1306,6 +1349,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -1384,6 +1429,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -1459,6 +1506,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -1537,6 +1586,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -1614,6 +1665,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -1691,6 +1744,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -1766,6 +1821,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -1843,6 +1900,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -1919,6 +1978,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -1994,6 +2055,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -2069,6 +2132,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -2147,6 +2212,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -2223,6 +2290,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -2297,6 +2366,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -2373,6 +2444,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -2450,6 +2523,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -2525,6 +2600,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -2601,6 +2678,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -2676,6 +2755,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -2754,6 +2835,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -2829,6 +2912,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -2904,6 +2989,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -2980,6 +3067,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -3057,6 +3146,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -3134,6 +3225,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -3211,6 +3304,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -3288,6 +3383,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -3365,6 +3462,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -3440,6 +3539,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -3515,6 +3616,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -3591,6 +3694,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -3668,6 +3773,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -3743,6 +3850,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -3818,6 +3927,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -3894,6 +4005,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -3972,6 +4085,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -4049,6 +4164,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() @@ -4124,6 +4241,8 @@ extension LicenseManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Package.swift.txt b/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Package.swift.txt index 3c83abb4f43..b2c281fee4e 100644 --- a/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Package.swift.txt +++ b/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Sources/AWSLicenseManagerLinuxSubscriptions/LicenseManagerLinuxSubscriptionsClient.swift b/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Sources/AWSLicenseManagerLinuxSubscriptions/LicenseManagerLinuxSubscriptionsClient.swift index 3f47119577b..8bee77cd243 100644 --- a/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Sources/AWSLicenseManagerLinuxSubscriptions/LicenseManagerLinuxSubscriptionsClient.swift +++ b/Sources/Services/AWSLicenseManagerLinuxSubscriptions/Sources/AWSLicenseManagerLinuxSubscriptions/LicenseManagerLinuxSubscriptionsClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LicenseManagerLinuxSubscriptionsClient: ClientRuntime.Client { public static let clientName = "LicenseManagerLinuxSubscriptionsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: LicenseManagerLinuxSubscriptionsClient.LicenseManagerLinuxSubscriptionsClientConfiguration let serviceName = "License Manager Linux Subscriptions" @@ -93,6 +94,8 @@ extension LicenseManagerLinuxSubscriptionsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension LicenseManagerLinuxSubscriptionsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension LicenseManagerLinuxSubscriptionsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension LicenseManagerLinuxSubscriptionsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension LicenseManagerLinuxSubscriptionsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension LicenseManagerLinuxSubscriptionsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension LicenseManagerLinuxSubscriptionsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension LicenseManagerLinuxSubscriptionsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension LicenseManagerLinuxSubscriptionsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -369,6 +388,8 @@ extension LicenseManagerLinuxSubscriptionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager-linux-subscriptions") .withSigningRegion(value: config.signingRegion) .build() @@ -442,6 +463,8 @@ extension LicenseManagerLinuxSubscriptionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager-linux-subscriptions") .withSigningRegion(value: config.signingRegion) .build() @@ -514,6 +537,8 @@ extension LicenseManagerLinuxSubscriptionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager-linux-subscriptions") .withSigningRegion(value: config.signingRegion) .build() @@ -583,6 +608,8 @@ extension LicenseManagerLinuxSubscriptionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager-linux-subscriptions") .withSigningRegion(value: config.signingRegion) .build() @@ -655,6 +682,8 @@ extension LicenseManagerLinuxSubscriptionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager-linux-subscriptions") .withSigningRegion(value: config.signingRegion) .build() @@ -727,6 +756,8 @@ extension LicenseManagerLinuxSubscriptionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager-linux-subscriptions") .withSigningRegion(value: config.signingRegion) .build() @@ -799,6 +830,8 @@ extension LicenseManagerLinuxSubscriptionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager-linux-subscriptions") .withSigningRegion(value: config.signingRegion) .build() @@ -868,6 +901,8 @@ extension LicenseManagerLinuxSubscriptionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager-linux-subscriptions") .withSigningRegion(value: config.signingRegion) .build() @@ -940,6 +975,8 @@ extension LicenseManagerLinuxSubscriptionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager-linux-subscriptions") .withSigningRegion(value: config.signingRegion) .build() @@ -1011,6 +1048,8 @@ extension LicenseManagerLinuxSubscriptionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager-linux-subscriptions") .withSigningRegion(value: config.signingRegion) .build() @@ -1081,6 +1120,8 @@ extension LicenseManagerLinuxSubscriptionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager-linux-subscriptions") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSLicenseManagerUserSubscriptions/Package.swift.txt b/Sources/Services/AWSLicenseManagerUserSubscriptions/Package.swift.txt index f29d9989725..5d26da5182e 100644 --- a/Sources/Services/AWSLicenseManagerUserSubscriptions/Package.swift.txt +++ b/Sources/Services/AWSLicenseManagerUserSubscriptions/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSLicenseManagerUserSubscriptions/Sources/AWSLicenseManagerUserSubscriptions/LicenseManagerUserSubscriptionsClient.swift b/Sources/Services/AWSLicenseManagerUserSubscriptions/Sources/AWSLicenseManagerUserSubscriptions/LicenseManagerUserSubscriptionsClient.swift index 63a0386d09c..1355d167a93 100644 --- a/Sources/Services/AWSLicenseManagerUserSubscriptions/Sources/AWSLicenseManagerUserSubscriptions/LicenseManagerUserSubscriptionsClient.swift +++ b/Sources/Services/AWSLicenseManagerUserSubscriptions/Sources/AWSLicenseManagerUserSubscriptions/LicenseManagerUserSubscriptionsClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LicenseManagerUserSubscriptionsClient: ClientRuntime.Client { public static let clientName = "LicenseManagerUserSubscriptionsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: LicenseManagerUserSubscriptionsClient.LicenseManagerUserSubscriptionsClientConfiguration let serviceName = "License Manager User Subscriptions" @@ -93,6 +94,8 @@ extension LicenseManagerUserSubscriptionsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension LicenseManagerUserSubscriptionsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension LicenseManagerUserSubscriptionsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension LicenseManagerUserSubscriptionsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension LicenseManagerUserSubscriptionsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension LicenseManagerUserSubscriptionsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension LicenseManagerUserSubscriptionsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension LicenseManagerUserSubscriptionsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension LicenseManagerUserSubscriptionsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension LicenseManagerUserSubscriptionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager-user-subscriptions") .withSigningRegion(value: config.signingRegion) .build() @@ -448,6 +469,8 @@ extension LicenseManagerUserSubscriptionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager-user-subscriptions") .withSigningRegion(value: config.signingRegion) .build() @@ -524,6 +547,8 @@ extension LicenseManagerUserSubscriptionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager-user-subscriptions") .withSigningRegion(value: config.signingRegion) .build() @@ -600,6 +625,8 @@ extension LicenseManagerUserSubscriptionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager-user-subscriptions") .withSigningRegion(value: config.signingRegion) .build() @@ -676,6 +703,8 @@ extension LicenseManagerUserSubscriptionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager-user-subscriptions") .withSigningRegion(value: config.signingRegion) .build() @@ -752,6 +781,8 @@ extension LicenseManagerUserSubscriptionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager-user-subscriptions") .withSigningRegion(value: config.signingRegion) .build() @@ -828,6 +859,8 @@ extension LicenseManagerUserSubscriptionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager-user-subscriptions") .withSigningRegion(value: config.signingRegion) .build() @@ -903,6 +936,8 @@ extension LicenseManagerUserSubscriptionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager-user-subscriptions") .withSigningRegion(value: config.signingRegion) .build() @@ -979,6 +1014,8 @@ extension LicenseManagerUserSubscriptionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager-user-subscriptions") .withSigningRegion(value: config.signingRegion) .build() @@ -1051,6 +1088,8 @@ extension LicenseManagerUserSubscriptionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager-user-subscriptions") .withSigningRegion(value: config.signingRegion) .build() @@ -1124,6 +1163,8 @@ extension LicenseManagerUserSubscriptionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager-user-subscriptions") .withSigningRegion(value: config.signingRegion) .build() @@ -1200,6 +1241,8 @@ extension LicenseManagerUserSubscriptionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager-user-subscriptions") .withSigningRegion(value: config.signingRegion) .build() @@ -1276,6 +1319,8 @@ extension LicenseManagerUserSubscriptionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager-user-subscriptions") .withSigningRegion(value: config.signingRegion) .build() @@ -1352,6 +1397,8 @@ extension LicenseManagerUserSubscriptionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager-user-subscriptions") .withSigningRegion(value: config.signingRegion) .build() @@ -1424,6 +1471,8 @@ extension LicenseManagerUserSubscriptionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager-user-subscriptions") .withSigningRegion(value: config.signingRegion) .build() @@ -1495,6 +1544,8 @@ extension LicenseManagerUserSubscriptionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager-user-subscriptions") .withSigningRegion(value: config.signingRegion) .build() @@ -1566,6 +1617,8 @@ extension LicenseManagerUserSubscriptionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "license-manager-user-subscriptions") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSLightsail/Package.swift.txt b/Sources/Services/AWSLightsail/Package.swift.txt index 24ad0f298a9..621d3760426 100644 --- a/Sources/Services/AWSLightsail/Package.swift.txt +++ b/Sources/Services/AWSLightsail/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSLightsail/Sources/AWSLightsail/LightsailClient.swift b/Sources/Services/AWSLightsail/Sources/AWSLightsail/LightsailClient.swift index b25b6c722a0..b9c4a60993c 100644 --- a/Sources/Services/AWSLightsail/Sources/AWSLightsail/LightsailClient.swift +++ b/Sources/Services/AWSLightsail/Sources/AWSLightsail/LightsailClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LightsailClient: ClientRuntime.Client { public static let clientName = "LightsailClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: LightsailClient.LightsailClientConfiguration let serviceName = "Lightsail" @@ -95,6 +96,8 @@ extension LightsailClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension LightsailClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension LightsailClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension LightsailClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension LightsailClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension LightsailClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension LightsailClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension LightsailClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension LightsailClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -450,6 +471,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -527,6 +550,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -604,6 +629,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -681,6 +708,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -758,6 +787,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -835,6 +866,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -912,6 +945,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -986,6 +1021,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -1061,6 +1098,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -1136,6 +1175,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -1213,6 +1254,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -1289,6 +1332,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -1364,6 +1409,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -1439,6 +1486,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -1514,6 +1563,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -1591,6 +1642,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -1668,6 +1721,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -1745,6 +1800,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -1821,6 +1878,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -1898,6 +1957,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -1975,6 +2036,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -2050,6 +2113,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -2127,6 +2192,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -2204,6 +2271,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -2281,6 +2350,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -2358,6 +2429,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -2435,6 +2508,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -2512,6 +2587,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -2589,6 +2666,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -2666,6 +2745,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -2743,6 +2824,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -2819,6 +2902,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -2895,6 +2980,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -2970,6 +3057,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -3045,6 +3134,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -3120,6 +3211,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -3196,6 +3289,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -3271,6 +3366,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -3346,6 +3443,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -3423,6 +3522,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -3500,6 +3601,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -3576,6 +3679,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -3653,6 +3758,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -3730,6 +3837,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -3807,6 +3916,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -3884,6 +3995,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -3961,6 +4074,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -4038,6 +4153,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -4115,6 +4232,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -4192,6 +4311,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -4269,6 +4390,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -4346,6 +4469,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -4422,6 +4547,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -4499,6 +4626,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -4576,6 +4705,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -4653,6 +4784,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -4729,6 +4862,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -4806,6 +4941,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -4882,6 +5019,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -4959,6 +5098,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -5036,6 +5177,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -5112,6 +5255,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -5188,6 +5333,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -5265,6 +5412,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -5340,6 +5489,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -5414,6 +5565,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -5489,6 +5642,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -5564,6 +5719,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -5641,6 +5798,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -5716,6 +5875,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -5793,6 +5954,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -5869,6 +6032,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -5942,6 +6107,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -6017,6 +6184,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -6092,6 +6261,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -6168,6 +6339,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -6243,6 +6416,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -6319,6 +6494,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -6394,6 +6571,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -6470,6 +6649,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -6547,6 +6728,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -6624,6 +6807,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -6701,6 +6886,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -6778,6 +6965,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -6854,6 +7043,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -6930,6 +7121,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -7006,6 +7199,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -7082,6 +7277,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -7159,6 +7356,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -7236,6 +7435,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -7313,6 +7514,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -7390,6 +7593,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -7467,6 +7672,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -7544,6 +7751,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -7621,6 +7830,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -7698,6 +7909,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -7775,6 +7988,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -7852,6 +8067,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -7929,6 +8146,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -8006,6 +8225,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -8083,6 +8304,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -8160,6 +8383,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -8237,6 +8462,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -8314,6 +8541,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -8389,6 +8618,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -8466,6 +8697,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -8543,6 +8776,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -8620,6 +8855,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -8697,6 +8934,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -8774,6 +9013,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -8851,6 +9092,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -8928,6 +9171,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -9005,6 +9250,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -9082,6 +9329,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -9159,6 +9408,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -9236,6 +9487,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -9313,6 +9566,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -9390,6 +9645,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -9467,6 +9724,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -9544,6 +9803,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -9621,6 +9882,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -9698,6 +9961,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -9773,6 +10038,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -9850,6 +10117,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -9927,6 +10196,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -10004,6 +10275,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -10081,6 +10354,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -10158,6 +10433,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -10235,6 +10512,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -10311,6 +10590,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -10388,6 +10669,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -10465,6 +10748,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -10542,6 +10827,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -10617,6 +10904,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -10694,6 +10983,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -10770,6 +11061,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -10846,6 +11139,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -10923,6 +11218,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -10998,6 +11295,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -11073,6 +11372,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -11148,6 +11449,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -11225,6 +11528,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -11302,6 +11607,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -11377,6 +11684,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -11454,6 +11763,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -11531,6 +11842,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -11608,6 +11921,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -11684,6 +11999,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -11761,6 +12078,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -11838,6 +12157,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -11913,6 +12234,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -11988,6 +12311,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -12063,6 +12388,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -12139,6 +12466,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -12215,6 +12544,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -12292,6 +12623,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -12369,6 +12702,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -12446,6 +12781,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -12523,6 +12860,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() @@ -12600,6 +12939,8 @@ extension LightsailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lightsail") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSLocation/Package.swift.txt b/Sources/Services/AWSLocation/Package.swift.txt index 7874e86d7d3..1ed02955dd1 100644 --- a/Sources/Services/AWSLocation/Package.swift.txt +++ b/Sources/Services/AWSLocation/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSLocation/Sources/AWSLocation/LocationClient.swift b/Sources/Services/AWSLocation/Sources/AWSLocation/LocationClient.swift index 5e27c7ddc57..8581f9722f7 100644 --- a/Sources/Services/AWSLocation/Sources/AWSLocation/LocationClient.swift +++ b/Sources/Services/AWSLocation/Sources/AWSLocation/LocationClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LocationClient: ClientRuntime.Client { public static let clientName = "LocationClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: LocationClient.LocationClientConfiguration let serviceName = "Location" @@ -94,6 +95,8 @@ extension LocationClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension LocationClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension LocationClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension LocationClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension LocationClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension LocationClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension LocationClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension LocationClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension LocationClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -447,6 +468,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -521,6 +544,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -602,6 +627,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -676,6 +703,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -750,6 +779,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -824,6 +855,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -902,6 +935,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -981,6 +1016,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -1057,6 +1094,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -1132,6 +1171,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -1207,6 +1248,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -1282,6 +1325,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -1357,6 +1402,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -1432,6 +1479,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -1506,6 +1555,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -1577,6 +1628,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -1649,6 +1702,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -1720,6 +1775,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -1791,6 +1848,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -1862,6 +1921,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -1933,6 +1994,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -2004,6 +2067,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -2075,6 +2140,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -2146,6 +2213,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -2217,6 +2286,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -2288,6 +2359,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -2359,6 +2432,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -2430,6 +2505,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -2504,6 +2581,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -2575,6 +2654,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -2649,6 +2730,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -2720,6 +2803,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -2792,6 +2877,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -2864,6 +2951,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -2936,6 +3025,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -3014,6 +3105,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -3085,6 +3178,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -3158,6 +3253,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -3232,6 +3329,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -3305,6 +3404,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -3378,6 +3479,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -3451,6 +3554,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -3524,6 +3629,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -3598,6 +3705,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -3669,6 +3778,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -3742,6 +3853,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -3817,6 +3930,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -3891,6 +4006,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -3966,6 +4083,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -4041,6 +4160,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -4116,6 +4237,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -4190,6 +4313,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -4262,6 +4387,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -4336,6 +4463,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -4410,6 +4539,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -4484,6 +4615,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -4558,6 +4691,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -4632,6 +4767,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() @@ -4706,6 +4843,8 @@ extension LocationClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "geo") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSLookoutEquipment/Package.swift.txt b/Sources/Services/AWSLookoutEquipment/Package.swift.txt index f52527fa1fd..0c71fe65d9a 100644 --- a/Sources/Services/AWSLookoutEquipment/Package.swift.txt +++ b/Sources/Services/AWSLookoutEquipment/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSLookoutEquipment/Sources/AWSLookoutEquipment/LookoutEquipmentClient.swift b/Sources/Services/AWSLookoutEquipment/Sources/AWSLookoutEquipment/LookoutEquipmentClient.swift index aa91afa21ae..9d4eae5b4bf 100644 --- a/Sources/Services/AWSLookoutEquipment/Sources/AWSLookoutEquipment/LookoutEquipmentClient.swift +++ b/Sources/Services/AWSLookoutEquipment/Sources/AWSLookoutEquipment/LookoutEquipmentClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LookoutEquipmentClient: ClientRuntime.Client { public static let clientName = "LookoutEquipmentClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: LookoutEquipmentClient.LookoutEquipmentClientConfiguration let serviceName = "LookoutEquipment" @@ -95,6 +96,8 @@ extension LookoutEquipmentClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension LookoutEquipmentClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension LookoutEquipmentClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension LookoutEquipmentClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension LookoutEquipmentClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension LookoutEquipmentClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension LookoutEquipmentClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension LookoutEquipmentClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension LookoutEquipmentClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -451,6 +472,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -529,6 +552,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -606,6 +631,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -684,6 +711,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -761,6 +790,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -838,6 +869,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -914,6 +947,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -990,6 +1025,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -1066,6 +1103,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -1142,6 +1181,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -1218,6 +1259,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -1294,6 +1337,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -1369,6 +1414,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -1444,6 +1491,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -1519,6 +1568,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -1594,6 +1645,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -1669,6 +1722,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -1744,6 +1799,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -1819,6 +1876,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -1894,6 +1953,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -1969,6 +2030,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -2046,6 +2109,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -2124,6 +2189,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -2199,6 +2266,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -2273,6 +2342,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -2348,6 +2419,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -2423,6 +2496,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -2497,6 +2572,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -2571,6 +2648,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -2645,6 +2724,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -2720,6 +2801,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -2794,6 +2877,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -2868,6 +2953,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -2943,6 +3030,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -3018,6 +3107,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -3095,6 +3186,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -3173,6 +3266,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -3250,6 +3345,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -3326,6 +3423,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -3402,6 +3501,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -3478,6 +3579,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -3554,6 +3657,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -3629,6 +3734,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -3705,6 +3812,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -3781,6 +3890,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -3857,6 +3968,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -3933,6 +4046,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() @@ -4009,6 +4124,8 @@ extension LookoutEquipmentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutequipment") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSLookoutMetrics/Package.swift.txt b/Sources/Services/AWSLookoutMetrics/Package.swift.txt index 53178dbbdd5..68acee32cc6 100644 --- a/Sources/Services/AWSLookoutMetrics/Package.swift.txt +++ b/Sources/Services/AWSLookoutMetrics/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSLookoutMetrics/Sources/AWSLookoutMetrics/LookoutMetricsClient.swift b/Sources/Services/AWSLookoutMetrics/Sources/AWSLookoutMetrics/LookoutMetricsClient.swift index f08fbe3190f..4fd79ce5f5a 100644 --- a/Sources/Services/AWSLookoutMetrics/Sources/AWSLookoutMetrics/LookoutMetricsClient.swift +++ b/Sources/Services/AWSLookoutMetrics/Sources/AWSLookoutMetrics/LookoutMetricsClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LookoutMetricsClient: ClientRuntime.Client { public static let clientName = "LookoutMetricsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: LookoutMetricsClient.LookoutMetricsClientConfiguration let serviceName = "LookoutMetrics" @@ -94,6 +95,8 @@ extension LookoutMetricsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension LookoutMetricsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension LookoutMetricsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension LookoutMetricsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension LookoutMetricsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension LookoutMetricsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension LookoutMetricsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension LookoutMetricsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension LookoutMetricsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension LookoutMetricsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutmetrics") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension LookoutMetricsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutmetrics") .withSigningRegion(value: config.signingRegion) .build() @@ -522,6 +545,8 @@ extension LookoutMetricsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutmetrics") .withSigningRegion(value: config.signingRegion) .build() @@ -597,6 +622,8 @@ extension LookoutMetricsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutmetrics") .withSigningRegion(value: config.signingRegion) .build() @@ -673,6 +700,8 @@ extension LookoutMetricsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutmetrics") .withSigningRegion(value: config.signingRegion) .build() @@ -748,6 +777,8 @@ extension LookoutMetricsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutmetrics") .withSigningRegion(value: config.signingRegion) .build() @@ -822,6 +853,8 @@ extension LookoutMetricsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutmetrics") .withSigningRegion(value: config.signingRegion) .build() @@ -897,6 +930,8 @@ extension LookoutMetricsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutmetrics") .withSigningRegion(value: config.signingRegion) .build() @@ -971,6 +1006,8 @@ extension LookoutMetricsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutmetrics") .withSigningRegion(value: config.signingRegion) .build() @@ -1045,6 +1082,8 @@ extension LookoutMetricsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutmetrics") .withSigningRegion(value: config.signingRegion) .build() @@ -1119,6 +1158,8 @@ extension LookoutMetricsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutmetrics") .withSigningRegion(value: config.signingRegion) .build() @@ -1193,6 +1234,8 @@ extension LookoutMetricsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutmetrics") .withSigningRegion(value: config.signingRegion) .build() @@ -1267,6 +1310,8 @@ extension LookoutMetricsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutmetrics") .withSigningRegion(value: config.signingRegion) .build() @@ -1341,6 +1386,8 @@ extension LookoutMetricsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutmetrics") .withSigningRegion(value: config.signingRegion) .build() @@ -1415,6 +1462,8 @@ extension LookoutMetricsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutmetrics") .withSigningRegion(value: config.signingRegion) .build() @@ -1489,6 +1538,8 @@ extension LookoutMetricsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutmetrics") .withSigningRegion(value: config.signingRegion) .build() @@ -1563,6 +1614,8 @@ extension LookoutMetricsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutmetrics") .withSigningRegion(value: config.signingRegion) .build() @@ -1637,6 +1690,8 @@ extension LookoutMetricsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutmetrics") .withSigningRegion(value: config.signingRegion) .build() @@ -1711,6 +1766,8 @@ extension LookoutMetricsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutmetrics") .withSigningRegion(value: config.signingRegion) .build() @@ -1785,6 +1842,8 @@ extension LookoutMetricsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutmetrics") .withSigningRegion(value: config.signingRegion) .build() @@ -1859,6 +1918,8 @@ extension LookoutMetricsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutmetrics") .withSigningRegion(value: config.signingRegion) .build() @@ -1933,6 +1994,8 @@ extension LookoutMetricsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutmetrics") .withSigningRegion(value: config.signingRegion) .build() @@ -2007,6 +2070,8 @@ extension LookoutMetricsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutmetrics") .withSigningRegion(value: config.signingRegion) .build() @@ -2079,6 +2144,8 @@ extension LookoutMetricsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutmetrics") .withSigningRegion(value: config.signingRegion) .build() @@ -2150,6 +2217,8 @@ extension LookoutMetricsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutmetrics") .withSigningRegion(value: config.signingRegion) .build() @@ -2222,6 +2291,8 @@ extension LookoutMetricsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutmetrics") .withSigningRegion(value: config.signingRegion) .build() @@ -2294,6 +2365,8 @@ extension LookoutMetricsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutmetrics") .withSigningRegion(value: config.signingRegion) .build() @@ -2366,6 +2439,8 @@ extension LookoutMetricsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutmetrics") .withSigningRegion(value: config.signingRegion) .build() @@ -2440,6 +2515,8 @@ extension LookoutMetricsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutmetrics") .withSigningRegion(value: config.signingRegion) .build() @@ -2515,6 +2592,8 @@ extension LookoutMetricsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutmetrics") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSLookoutVision/Package.swift.txt b/Sources/Services/AWSLookoutVision/Package.swift.txt index 631a50427a6..4d6d14803dc 100644 --- a/Sources/Services/AWSLookoutVision/Package.swift.txt +++ b/Sources/Services/AWSLookoutVision/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSLookoutVision/Sources/AWSLookoutVision/LookoutVisionClient.swift b/Sources/Services/AWSLookoutVision/Sources/AWSLookoutVision/LookoutVisionClient.swift index cab90094fb2..5b379d3abcf 100644 --- a/Sources/Services/AWSLookoutVision/Sources/AWSLookoutVision/LookoutVisionClient.swift +++ b/Sources/Services/AWSLookoutVision/Sources/AWSLookoutVision/LookoutVisionClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -69,7 +70,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class LookoutVisionClient: ClientRuntime.Client { public static let clientName = "LookoutVisionClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: LookoutVisionClient.LookoutVisionClientConfiguration let serviceName = "LookoutVision" @@ -99,6 +100,8 @@ extension LookoutVisionClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -124,6 +127,8 @@ extension LookoutVisionClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -147,6 +152,8 @@ extension LookoutVisionClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -173,6 +180,8 @@ extension LookoutVisionClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -197,6 +206,8 @@ extension LookoutVisionClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -223,6 +234,8 @@ extension LookoutVisionClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -247,6 +260,8 @@ extension LookoutVisionClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -274,6 +289,8 @@ extension LookoutVisionClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -301,6 +318,8 @@ extension LookoutVisionClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -378,6 +397,8 @@ extension LookoutVisionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutvision") .withSigningRegion(value: config.signingRegion) .build() @@ -456,6 +477,8 @@ extension LookoutVisionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutvision") .withSigningRegion(value: config.signingRegion) .build() @@ -534,6 +557,8 @@ extension LookoutVisionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutvision") .withSigningRegion(value: config.signingRegion) .build() @@ -618,6 +643,8 @@ extension LookoutVisionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutvision") .withSigningRegion(value: config.signingRegion) .build() @@ -692,6 +719,8 @@ extension LookoutVisionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutvision") .withSigningRegion(value: config.signingRegion) .build() @@ -766,6 +795,8 @@ extension LookoutVisionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutvision") .withSigningRegion(value: config.signingRegion) .build() @@ -840,6 +871,8 @@ extension LookoutVisionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutvision") .withSigningRegion(value: config.signingRegion) .build() @@ -912,6 +945,8 @@ extension LookoutVisionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutvision") .withSigningRegion(value: config.signingRegion) .build() @@ -983,6 +1018,8 @@ extension LookoutVisionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutvision") .withSigningRegion(value: config.signingRegion) .build() @@ -1055,6 +1092,8 @@ extension LookoutVisionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutvision") .withSigningRegion(value: config.signingRegion) .build() @@ -1127,6 +1166,8 @@ extension LookoutVisionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutvision") .withSigningRegion(value: config.signingRegion) .build() @@ -1203,6 +1244,8 @@ extension LookoutVisionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutvision") .withSigningRegion(value: config.signingRegion) .build() @@ -1275,6 +1318,8 @@ extension LookoutVisionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutvision") .withSigningRegion(value: config.signingRegion) .build() @@ -1348,6 +1393,8 @@ extension LookoutVisionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutvision") .withSigningRegion(value: config.signingRegion) .build() @@ -1421,6 +1468,8 @@ extension LookoutVisionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutvision") .withSigningRegion(value: config.signingRegion) .build() @@ -1494,6 +1543,8 @@ extension LookoutVisionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutvision") .withSigningRegion(value: config.signingRegion) .build() @@ -1567,6 +1618,8 @@ extension LookoutVisionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutvision") .withSigningRegion(value: config.signingRegion) .build() @@ -1662,6 +1715,8 @@ extension LookoutVisionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutvision") .withSigningRegion(value: config.signingRegion) .build() @@ -1739,6 +1794,8 @@ extension LookoutVisionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutvision") .withSigningRegion(value: config.signingRegion) .build() @@ -1814,6 +1871,8 @@ extension LookoutVisionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutvision") .withSigningRegion(value: config.signingRegion) .build() @@ -1889,6 +1948,8 @@ extension LookoutVisionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutvision") .withSigningRegion(value: config.signingRegion) .build() @@ -1962,6 +2023,8 @@ extension LookoutVisionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "lookoutvision") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSM2/Package.swift.txt b/Sources/Services/AWSM2/Package.swift.txt index 947008c6418..a3a22e6a56a 100644 --- a/Sources/Services/AWSM2/Package.swift.txt +++ b/Sources/Services/AWSM2/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSM2/Sources/AWSM2/M2Client.swift b/Sources/Services/AWSM2/Sources/AWSM2/M2Client.swift index a02ceb14965..76383534ed7 100644 --- a/Sources/Services/AWSM2/Sources/AWSM2/M2Client.swift +++ b/Sources/Services/AWSM2/Sources/AWSM2/M2Client.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class M2Client: ClientRuntime.Client { public static let clientName = "M2Client" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: M2Client.M2ClientConfiguration let serviceName = "m2" @@ -95,6 +96,8 @@ extension M2Client { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension M2Client { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension M2Client { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension M2Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension M2Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension M2Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension M2Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension M2Client { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension M2Client { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension M2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "m2") .withSigningRegion(value: config.signingRegion) .build() @@ -448,6 +469,8 @@ extension M2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "m2") .withSigningRegion(value: config.signingRegion) .build() @@ -525,6 +548,8 @@ extension M2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "m2") .withSigningRegion(value: config.signingRegion) .build() @@ -602,6 +627,8 @@ extension M2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "m2") .withSigningRegion(value: config.signingRegion) .build() @@ -678,6 +705,8 @@ extension M2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "m2") .withSigningRegion(value: config.signingRegion) .build() @@ -753,6 +782,8 @@ extension M2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "m2") .withSigningRegion(value: config.signingRegion) .build() @@ -825,6 +856,8 @@ extension M2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "m2") .withSigningRegion(value: config.signingRegion) .build() @@ -896,6 +929,8 @@ extension M2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "m2") .withSigningRegion(value: config.signingRegion) .build() @@ -967,6 +1002,8 @@ extension M2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "m2") .withSigningRegion(value: config.signingRegion) .build() @@ -1038,6 +1075,8 @@ extension M2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "m2") .withSigningRegion(value: config.signingRegion) .build() @@ -1109,6 +1148,8 @@ extension M2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "m2") .withSigningRegion(value: config.signingRegion) .build() @@ -1183,6 +1224,8 @@ extension M2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "m2") .withSigningRegion(value: config.signingRegion) .build() @@ -1254,6 +1297,8 @@ extension M2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "m2") .withSigningRegion(value: config.signingRegion) .build() @@ -1325,6 +1370,8 @@ extension M2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "m2") .withSigningRegion(value: config.signingRegion) .build() @@ -1396,6 +1443,8 @@ extension M2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "m2") .withSigningRegion(value: config.signingRegion) .build() @@ -1465,6 +1514,8 @@ extension M2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "m2") .withSigningRegion(value: config.signingRegion) .build() @@ -1536,6 +1587,8 @@ extension M2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "m2") .withSigningRegion(value: config.signingRegion) .build() @@ -1607,6 +1660,8 @@ extension M2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "m2") .withSigningRegion(value: config.signingRegion) .build() @@ -1679,6 +1734,8 @@ extension M2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "m2") .withSigningRegion(value: config.signingRegion) .build() @@ -1751,6 +1808,8 @@ extension M2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "m2") .withSigningRegion(value: config.signingRegion) .build() @@ -1824,6 +1883,8 @@ extension M2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "m2") .withSigningRegion(value: config.signingRegion) .build() @@ -1896,6 +1957,8 @@ extension M2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "m2") .withSigningRegion(value: config.signingRegion) .build() @@ -1971,6 +2034,8 @@ extension M2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "m2") .withSigningRegion(value: config.signingRegion) .build() @@ -2043,6 +2108,8 @@ extension M2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "m2") .withSigningRegion(value: config.signingRegion) .build() @@ -2114,6 +2181,8 @@ extension M2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "m2") .withSigningRegion(value: config.signingRegion) .build() @@ -2185,6 +2254,8 @@ extension M2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "m2") .withSigningRegion(value: config.signingRegion) .build() @@ -2257,6 +2328,8 @@ extension M2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "m2") .withSigningRegion(value: config.signingRegion) .build() @@ -2329,6 +2402,8 @@ extension M2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "m2") .withSigningRegion(value: config.signingRegion) .build() @@ -2401,6 +2476,8 @@ extension M2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "m2") .withSigningRegion(value: config.signingRegion) .build() @@ -2476,6 +2553,8 @@ extension M2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "m2") .withSigningRegion(value: config.signingRegion) .build() @@ -2551,6 +2630,8 @@ extension M2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "m2") .withSigningRegion(value: config.signingRegion) .build() @@ -2625,6 +2706,8 @@ extension M2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "m2") .withSigningRegion(value: config.signingRegion) .build() @@ -2698,6 +2781,8 @@ extension M2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "m2") .withSigningRegion(value: config.signingRegion) .build() @@ -2774,6 +2859,8 @@ extension M2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "m2") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSMTurk/Package.swift.txt b/Sources/Services/AWSMTurk/Package.swift.txt index 0f4758ac4be..e3ad93e797a 100644 --- a/Sources/Services/AWSMTurk/Package.swift.txt +++ b/Sources/Services/AWSMTurk/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSMTurk/Sources/AWSMTurk/MTurkClient.swift b/Sources/Services/AWSMTurk/Sources/AWSMTurk/MTurkClient.swift index 036deab02c9..7a327ddcadd 100644 --- a/Sources/Services/AWSMTurk/Sources/AWSMTurk/MTurkClient.swift +++ b/Sources/Services/AWSMTurk/Sources/AWSMTurk/MTurkClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MTurkClient: ClientRuntime.Client { public static let clientName = "MTurkClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: MTurkClient.MTurkClientConfiguration let serviceName = "MTurk" @@ -94,6 +95,8 @@ extension MTurkClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension MTurkClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension MTurkClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension MTurkClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension MTurkClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension MTurkClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension MTurkClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension MTurkClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension MTurkClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -368,6 +387,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -447,6 +468,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -519,6 +542,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -595,6 +620,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -667,6 +694,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -739,6 +768,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -811,6 +842,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -883,6 +916,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -955,6 +990,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -1035,6 +1072,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -1107,6 +1146,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -1179,6 +1220,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -1251,6 +1294,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -1323,6 +1368,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -1395,6 +1442,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -1470,6 +1519,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -1542,6 +1593,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -1614,6 +1667,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -1686,6 +1741,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -1758,6 +1815,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -1830,6 +1889,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -1902,6 +1963,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -1974,6 +2037,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -2046,6 +2111,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -2118,6 +2185,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -2190,6 +2259,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -2262,6 +2333,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -2334,6 +2407,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -2406,6 +2481,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -2478,6 +2555,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -2550,6 +2629,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -2622,6 +2703,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -2694,6 +2777,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -2766,6 +2851,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -2838,6 +2925,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -2910,6 +2999,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -2982,6 +3073,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -3054,6 +3147,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() @@ -3126,6 +3221,8 @@ extension MTurkClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mturk-requester") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSMWAA/Package.swift.txt b/Sources/Services/AWSMWAA/Package.swift.txt index 24dd0f147fe..8355b13370d 100644 --- a/Sources/Services/AWSMWAA/Package.swift.txt +++ b/Sources/Services/AWSMWAA/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSMWAA/Sources/AWSMWAA/MWAAClient.swift b/Sources/Services/AWSMWAA/Sources/AWSMWAA/MWAAClient.swift index c2f3a42fba0..a569f629dec 100644 --- a/Sources/Services/AWSMWAA/Sources/AWSMWAA/MWAAClient.swift +++ b/Sources/Services/AWSMWAA/Sources/AWSMWAA/MWAAClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MWAAClient: ClientRuntime.Client { public static let clientName = "MWAAClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: MWAAClient.MWAAClientConfiguration let serviceName = "MWAA" @@ -94,6 +95,8 @@ extension MWAAClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension MWAAClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension MWAAClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension MWAAClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension MWAAClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension MWAAClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension MWAAClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension MWAAClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension MWAAClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -367,6 +386,8 @@ extension MWAAClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "airflow") .withSigningRegion(value: config.signingRegion) .build() @@ -435,6 +456,8 @@ extension MWAAClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "airflow") .withSigningRegion(value: config.signingRegion) .build() @@ -508,6 +531,8 @@ extension MWAAClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "airflow") .withSigningRegion(value: config.signingRegion) .build() @@ -577,6 +602,8 @@ extension MWAAClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "airflow") .withSigningRegion(value: config.signingRegion) .build() @@ -646,6 +673,8 @@ extension MWAAClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "airflow") .withSigningRegion(value: config.signingRegion) .build() @@ -718,6 +747,8 @@ extension MWAAClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "airflow") .withSigningRegion(value: config.signingRegion) .build() @@ -789,6 +820,8 @@ extension MWAAClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "airflow") .withSigningRegion(value: config.signingRegion) .build() @@ -859,6 +892,8 @@ extension MWAAClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "airflow") .withSigningRegion(value: config.signingRegion) .build() @@ -928,6 +963,8 @@ extension MWAAClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "airflow") .withSigningRegion(value: config.signingRegion) .build() @@ -1000,6 +1037,8 @@ extension MWAAClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "airflow") .withSigningRegion(value: config.signingRegion) .build() @@ -1072,6 +1111,8 @@ extension MWAAClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "airflow") .withSigningRegion(value: config.signingRegion) .build() @@ -1142,6 +1183,8 @@ extension MWAAClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "airflow") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSMachineLearning/Package.swift.txt b/Sources/Services/AWSMachineLearning/Package.swift.txt index 43ba5217001..ffb969ed2c1 100644 --- a/Sources/Services/AWSMachineLearning/Package.swift.txt +++ b/Sources/Services/AWSMachineLearning/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSMachineLearning/Sources/AWSMachineLearning/MachineLearningClient.swift b/Sources/Services/AWSMachineLearning/Sources/AWSMachineLearning/MachineLearningClient.swift index 897e2a014a7..5db8bad6fb4 100644 --- a/Sources/Services/AWSMachineLearning/Sources/AWSMachineLearning/MachineLearningClient.swift +++ b/Sources/Services/AWSMachineLearning/Sources/AWSMachineLearning/MachineLearningClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MachineLearningClient: ClientRuntime.Client { public static let clientName = "MachineLearningClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: MachineLearningClient.MachineLearningClientConfiguration let serviceName = "Machine Learning" @@ -94,6 +95,8 @@ extension MachineLearningClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension MachineLearningClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension MachineLearningClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension MachineLearningClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension MachineLearningClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension MachineLearningClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension MachineLearningClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension MachineLearningClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension MachineLearningClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension MachineLearningClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "machinelearning") .withSigningRegion(value: config.signingRegion) .build() @@ -444,6 +465,8 @@ extension MachineLearningClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "machinelearning") .withSigningRegion(value: config.signingRegion) .build() @@ -517,6 +540,8 @@ extension MachineLearningClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "machinelearning") .withSigningRegion(value: config.signingRegion) .build() @@ -590,6 +615,8 @@ extension MachineLearningClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "machinelearning") .withSigningRegion(value: config.signingRegion) .build() @@ -663,6 +690,8 @@ extension MachineLearningClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "machinelearning") .withSigningRegion(value: config.signingRegion) .build() @@ -736,6 +765,8 @@ extension MachineLearningClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "machinelearning") .withSigningRegion(value: config.signingRegion) .build() @@ -809,6 +840,8 @@ extension MachineLearningClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "machinelearning") .withSigningRegion(value: config.signingRegion) .build() @@ -882,6 +915,8 @@ extension MachineLearningClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "machinelearning") .withSigningRegion(value: config.signingRegion) .build() @@ -958,6 +993,8 @@ extension MachineLearningClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "machinelearning") .withSigningRegion(value: config.signingRegion) .build() @@ -1031,6 +1068,8 @@ extension MachineLearningClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "machinelearning") .withSigningRegion(value: config.signingRegion) .build() @@ -1104,6 +1143,8 @@ extension MachineLearningClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "machinelearning") .withSigningRegion(value: config.signingRegion) .build() @@ -1177,6 +1218,8 @@ extension MachineLearningClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "machinelearning") .withSigningRegion(value: config.signingRegion) .build() @@ -1250,6 +1293,8 @@ extension MachineLearningClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "machinelearning") .withSigningRegion(value: config.signingRegion) .build() @@ -1324,6 +1369,8 @@ extension MachineLearningClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "machinelearning") .withSigningRegion(value: config.signingRegion) .build() @@ -1396,6 +1443,8 @@ extension MachineLearningClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "machinelearning") .withSigningRegion(value: config.signingRegion) .build() @@ -1468,6 +1517,8 @@ extension MachineLearningClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "machinelearning") .withSigningRegion(value: config.signingRegion) .build() @@ -1540,6 +1591,8 @@ extension MachineLearningClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "machinelearning") .withSigningRegion(value: config.signingRegion) .build() @@ -1612,6 +1665,8 @@ extension MachineLearningClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "machinelearning") .withSigningRegion(value: config.signingRegion) .build() @@ -1685,6 +1740,8 @@ extension MachineLearningClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "machinelearning") .withSigningRegion(value: config.signingRegion) .build() @@ -1758,6 +1815,8 @@ extension MachineLearningClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "machinelearning") .withSigningRegion(value: config.signingRegion) .build() @@ -1831,6 +1890,8 @@ extension MachineLearningClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "machinelearning") .withSigningRegion(value: config.signingRegion) .build() @@ -1904,6 +1965,8 @@ extension MachineLearningClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "machinelearning") .withSigningRegion(value: config.signingRegion) .build() @@ -1977,6 +2040,8 @@ extension MachineLearningClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "machinelearning") .withSigningRegion(value: config.signingRegion) .build() @@ -2052,6 +2117,8 @@ extension MachineLearningClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "machinelearning") .withSigningRegion(value: config.signingRegion) .build() @@ -2125,6 +2192,8 @@ extension MachineLearningClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "machinelearning") .withSigningRegion(value: config.signingRegion) .build() @@ -2198,6 +2267,8 @@ extension MachineLearningClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "machinelearning") .withSigningRegion(value: config.signingRegion) .build() @@ -2271,6 +2342,8 @@ extension MachineLearningClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "machinelearning") .withSigningRegion(value: config.signingRegion) .build() @@ -2344,6 +2417,8 @@ extension MachineLearningClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "machinelearning") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSMacie2/Package.swift.txt b/Sources/Services/AWSMacie2/Package.swift.txt index 2c0f53bb85e..f6c8e41d0ae 100644 --- a/Sources/Services/AWSMacie2/Package.swift.txt +++ b/Sources/Services/AWSMacie2/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSMacie2/Sources/AWSMacie2/Macie2Client.swift b/Sources/Services/AWSMacie2/Sources/AWSMacie2/Macie2Client.swift index d3fce113314..a817b67c326 100644 --- a/Sources/Services/AWSMacie2/Sources/AWSMacie2/Macie2Client.swift +++ b/Sources/Services/AWSMacie2/Sources/AWSMacie2/Macie2Client.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Macie2Client: ClientRuntime.Client { public static let clientName = "Macie2Client" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: Macie2Client.Macie2ClientConfiguration let serviceName = "Macie2" @@ -95,6 +96,8 @@ extension Macie2Client { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension Macie2Client { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension Macie2Client { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension Macie2Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension Macie2Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension Macie2Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension Macie2Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension Macie2Client { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension Macie2Client { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -450,6 +471,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -524,6 +547,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -600,6 +625,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -677,6 +704,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -754,6 +783,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -831,6 +862,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -908,6 +941,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -984,6 +1019,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -1060,6 +1097,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -1136,6 +1175,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -1210,6 +1251,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -1284,6 +1327,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -1357,6 +1402,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -1430,6 +1477,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -1506,6 +1555,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -1579,6 +1630,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -1655,6 +1708,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -1728,6 +1783,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -1801,6 +1858,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -1874,6 +1933,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -1948,6 +2009,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -2021,6 +2084,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -2094,6 +2159,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -2167,6 +2234,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -2244,6 +2313,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -2321,6 +2392,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -2392,6 +2465,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -2462,6 +2537,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -2535,6 +2612,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -2611,6 +2690,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -2682,6 +2763,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -2755,6 +2838,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -2828,6 +2913,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -2904,6 +2991,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -2980,6 +3069,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -3053,6 +3144,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -3126,6 +3219,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -3199,6 +3294,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -3272,6 +3369,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -3345,6 +3444,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -3417,6 +3518,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -3488,6 +3591,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -3560,6 +3665,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -3630,6 +3737,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -3701,6 +3810,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -3774,6 +3885,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -3850,6 +3963,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -3921,6 +4036,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -3993,6 +4110,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -4067,6 +4186,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -4140,6 +4261,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -4214,6 +4337,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -4290,6 +4415,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -4366,6 +4493,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -4440,6 +4569,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -4503,6 +4634,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -4579,6 +4712,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -4653,6 +4788,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -4725,6 +4862,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -4798,6 +4937,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -4870,6 +5011,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -4933,6 +5076,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -5006,6 +5151,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -5082,6 +5229,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -5159,6 +5308,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -5224,6 +5375,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -5300,6 +5453,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -5365,6 +5520,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -5437,6 +5594,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -5510,6 +5669,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -5586,6 +5747,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -5660,6 +5823,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -5736,6 +5901,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -5813,6 +5980,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -5889,6 +6058,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -5965,6 +6136,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -6040,6 +6213,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -6116,6 +6291,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -6190,6 +6367,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() @@ -6264,6 +6443,8 @@ extension Macie2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "macie2") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSMailManager/Package.swift.txt b/Sources/Services/AWSMailManager/Package.swift.txt index eb122ec39a9..1e623fc786f 100644 --- a/Sources/Services/AWSMailManager/Package.swift.txt +++ b/Sources/Services/AWSMailManager/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSMailManager/Sources/AWSMailManager/MailManagerClient.swift b/Sources/Services/AWSMailManager/Sources/AWSMailManager/MailManagerClient.swift index d0adf26aaf8..4b2411f9bea 100644 --- a/Sources/Services/AWSMailManager/Sources/AWSMailManager/MailManagerClient.swift +++ b/Sources/Services/AWSMailManager/Sources/AWSMailManager/MailManagerClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MailManagerClient: ClientRuntime.Client { public static let clientName = "MailManagerClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: MailManagerClient.MailManagerClientConfiguration let serviceName = "MailManager" @@ -95,6 +96,8 @@ extension MailManagerClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension MailManagerClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension MailManagerClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension MailManagerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension MailManagerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension MailManagerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension MailManagerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension MailManagerClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension MailManagerClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -445,6 +466,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -521,6 +544,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -595,6 +620,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -669,6 +696,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -743,6 +772,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -817,6 +848,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -890,6 +923,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -962,6 +997,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1036,6 +1073,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1109,6 +1148,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1182,6 +1223,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1254,6 +1297,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1327,6 +1372,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1399,6 +1446,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1471,6 +1520,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1545,6 +1596,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1618,6 +1671,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1691,6 +1746,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1764,6 +1821,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1837,6 +1896,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1911,6 +1972,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1983,6 +2046,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2055,6 +2120,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2127,6 +2194,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2199,6 +2268,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2270,6 +2341,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2341,6 +2414,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2415,6 +2490,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2489,6 +2566,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2562,6 +2641,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2633,6 +2714,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2704,6 +2787,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2775,6 +2860,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2847,6 +2934,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2918,6 +3007,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2993,6 +3084,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3069,6 +3162,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3142,6 +3237,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3215,6 +3312,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3289,6 +3388,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3362,6 +3463,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3438,6 +3541,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3511,6 +3616,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3584,6 +3691,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3657,6 +3766,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3730,6 +3841,8 @@ extension MailManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSManagedBlockchain/Package.swift.txt b/Sources/Services/AWSManagedBlockchain/Package.swift.txt index 5b30f486d33..01b02431c84 100644 --- a/Sources/Services/AWSManagedBlockchain/Package.swift.txt +++ b/Sources/Services/AWSManagedBlockchain/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSManagedBlockchain/Sources/AWSManagedBlockchain/ManagedBlockchainClient.swift b/Sources/Services/AWSManagedBlockchain/Sources/AWSManagedBlockchain/ManagedBlockchainClient.swift index ee53c8b2f11..ef71d839a8b 100644 --- a/Sources/Services/AWSManagedBlockchain/Sources/AWSManagedBlockchain/ManagedBlockchainClient.swift +++ b/Sources/Services/AWSManagedBlockchain/Sources/AWSManagedBlockchain/ManagedBlockchainClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ManagedBlockchainClient: ClientRuntime.Client { public static let clientName = "ManagedBlockchainClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ManagedBlockchainClient.ManagedBlockchainClientConfiguration let serviceName = "ManagedBlockchain" @@ -94,6 +95,8 @@ extension ManagedBlockchainClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension ManagedBlockchainClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension ManagedBlockchainClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension ManagedBlockchainClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension ManagedBlockchainClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension ManagedBlockchainClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension ManagedBlockchainClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension ManagedBlockchainClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension ManagedBlockchainClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension ManagedBlockchainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain") .withSigningRegion(value: config.signingRegion) .build() @@ -452,6 +473,8 @@ extension ManagedBlockchainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain") .withSigningRegion(value: config.signingRegion) .build() @@ -529,6 +552,8 @@ extension ManagedBlockchainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain") .withSigningRegion(value: config.signingRegion) .build() @@ -608,6 +633,8 @@ extension ManagedBlockchainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain") .withSigningRegion(value: config.signingRegion) .build() @@ -685,6 +712,8 @@ extension ManagedBlockchainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain") .withSigningRegion(value: config.signingRegion) .build() @@ -760,6 +789,8 @@ extension ManagedBlockchainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain") .withSigningRegion(value: config.signingRegion) .build() @@ -832,6 +863,8 @@ extension ManagedBlockchainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain") .withSigningRegion(value: config.signingRegion) .build() @@ -904,6 +937,8 @@ extension ManagedBlockchainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain") .withSigningRegion(value: config.signingRegion) .build() @@ -976,6 +1011,8 @@ extension ManagedBlockchainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain") .withSigningRegion(value: config.signingRegion) .build() @@ -1047,6 +1084,8 @@ extension ManagedBlockchainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain") .withSigningRegion(value: config.signingRegion) .build() @@ -1118,6 +1157,8 @@ extension ManagedBlockchainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain") .withSigningRegion(value: config.signingRegion) .build() @@ -1189,6 +1230,8 @@ extension ManagedBlockchainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain") .withSigningRegion(value: config.signingRegion) .build() @@ -1261,6 +1304,8 @@ extension ManagedBlockchainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain") .withSigningRegion(value: config.signingRegion) .build() @@ -1331,6 +1376,8 @@ extension ManagedBlockchainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain") .withSigningRegion(value: config.signingRegion) .build() @@ -1404,6 +1451,8 @@ extension ManagedBlockchainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain") .withSigningRegion(value: config.signingRegion) .build() @@ -1475,6 +1524,8 @@ extension ManagedBlockchainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain") .withSigningRegion(value: config.signingRegion) .build() @@ -1546,6 +1597,8 @@ extension ManagedBlockchainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain") .withSigningRegion(value: config.signingRegion) .build() @@ -1617,6 +1670,8 @@ extension ManagedBlockchainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain") .withSigningRegion(value: config.signingRegion) .build() @@ -1688,6 +1743,8 @@ extension ManagedBlockchainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain") .withSigningRegion(value: config.signingRegion) .build() @@ -1760,6 +1817,8 @@ extension ManagedBlockchainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain") .withSigningRegion(value: config.signingRegion) .build() @@ -1831,6 +1890,8 @@ extension ManagedBlockchainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain") .withSigningRegion(value: config.signingRegion) .build() @@ -1903,6 +1964,8 @@ extension ManagedBlockchainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain") .withSigningRegion(value: config.signingRegion) .build() @@ -1974,6 +2037,8 @@ extension ManagedBlockchainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain") .withSigningRegion(value: config.signingRegion) .build() @@ -2047,6 +2112,8 @@ extension ManagedBlockchainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain") .withSigningRegion(value: config.signingRegion) .build() @@ -2119,6 +2186,8 @@ extension ManagedBlockchainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain") .withSigningRegion(value: config.signingRegion) .build() @@ -2193,6 +2262,8 @@ extension ManagedBlockchainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain") .withSigningRegion(value: config.signingRegion) .build() @@ -2268,6 +2339,8 @@ extension ManagedBlockchainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSManagedBlockchainQuery/Package.swift.txt b/Sources/Services/AWSManagedBlockchainQuery/Package.swift.txt index 8c228994b6e..0584033c55b 100644 --- a/Sources/Services/AWSManagedBlockchainQuery/Package.swift.txt +++ b/Sources/Services/AWSManagedBlockchainQuery/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSManagedBlockchainQuery/Sources/AWSManagedBlockchainQuery/ManagedBlockchainQueryClient.swift b/Sources/Services/AWSManagedBlockchainQuery/Sources/AWSManagedBlockchainQuery/ManagedBlockchainQueryClient.swift index 81e87b00688..429bf90d790 100644 --- a/Sources/Services/AWSManagedBlockchainQuery/Sources/AWSManagedBlockchainQuery/ManagedBlockchainQueryClient.swift +++ b/Sources/Services/AWSManagedBlockchainQuery/Sources/AWSManagedBlockchainQuery/ManagedBlockchainQueryClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -62,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ManagedBlockchainQueryClient: ClientRuntime.Client { public static let clientName = "ManagedBlockchainQueryClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ManagedBlockchainQueryClient.ManagedBlockchainQueryClientConfiguration let serviceName = "ManagedBlockchain Query" @@ -92,6 +93,8 @@ extension ManagedBlockchainQueryClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -117,6 +120,8 @@ extension ManagedBlockchainQueryClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -140,6 +145,8 @@ extension ManagedBlockchainQueryClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -166,6 +173,8 @@ extension ManagedBlockchainQueryClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -190,6 +199,8 @@ extension ManagedBlockchainQueryClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -216,6 +227,8 @@ extension ManagedBlockchainQueryClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -240,6 +253,8 @@ extension ManagedBlockchainQueryClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -267,6 +282,8 @@ extension ManagedBlockchainQueryClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -294,6 +311,8 @@ extension ManagedBlockchainQueryClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension ManagedBlockchainQueryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain-query") .withSigningRegion(value: config.signingRegion) .build() @@ -449,6 +470,8 @@ extension ManagedBlockchainQueryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain-query") .withSigningRegion(value: config.signingRegion) .build() @@ -524,6 +547,8 @@ extension ManagedBlockchainQueryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain-query") .withSigningRegion(value: config.signingRegion) .build() @@ -599,6 +624,8 @@ extension ManagedBlockchainQueryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain-query") .withSigningRegion(value: config.signingRegion) .build() @@ -673,6 +700,8 @@ extension ManagedBlockchainQueryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain-query") .withSigningRegion(value: config.signingRegion) .build() @@ -747,6 +776,8 @@ extension ManagedBlockchainQueryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain-query") .withSigningRegion(value: config.signingRegion) .build() @@ -830,6 +861,8 @@ extension ManagedBlockchainQueryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain-query") .withSigningRegion(value: config.signingRegion) .build() @@ -904,6 +937,8 @@ extension ManagedBlockchainQueryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain-query") .withSigningRegion(value: config.signingRegion) .build() @@ -978,6 +1013,8 @@ extension ManagedBlockchainQueryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "managedblockchain-query") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSMarketplaceAgreement/Package.swift.txt b/Sources/Services/AWSMarketplaceAgreement/Package.swift.txt index 7358e4b51cd..f2c3a78d487 100644 --- a/Sources/Services/AWSMarketplaceAgreement/Package.swift.txt +++ b/Sources/Services/AWSMarketplaceAgreement/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSMarketplaceAgreement/Sources/AWSMarketplaceAgreement/MarketplaceAgreementClient.swift b/Sources/Services/AWSMarketplaceAgreement/Sources/AWSMarketplaceAgreement/MarketplaceAgreementClient.swift index 7c466e14609..82749d678bf 100644 --- a/Sources/Services/AWSMarketplaceAgreement/Sources/AWSMarketplaceAgreement/MarketplaceAgreementClient.swift +++ b/Sources/Services/AWSMarketplaceAgreement/Sources/AWSMarketplaceAgreement/MarketplaceAgreementClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MarketplaceAgreementClient: ClientRuntime.Client { public static let clientName = "MarketplaceAgreementClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: MarketplaceAgreementClient.MarketplaceAgreementClientConfiguration let serviceName = "Marketplace Agreement" @@ -94,6 +95,8 @@ extension MarketplaceAgreementClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension MarketplaceAgreementClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension MarketplaceAgreementClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension MarketplaceAgreementClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension MarketplaceAgreementClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension MarketplaceAgreementClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension MarketplaceAgreementClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension MarketplaceAgreementClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension MarketplaceAgreementClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension MarketplaceAgreementClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aws-marketplace") .withSigningRegion(value: config.signingRegion) .build() @@ -457,6 +478,8 @@ extension MarketplaceAgreementClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aws-marketplace") .withSigningRegion(value: config.signingRegion) .build() @@ -559,6 +582,8 @@ extension MarketplaceAgreementClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aws-marketplace") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSMarketplaceCatalog/Package.swift.txt b/Sources/Services/AWSMarketplaceCatalog/Package.swift.txt index 56bf3195e23..29edc4a8c53 100644 --- a/Sources/Services/AWSMarketplaceCatalog/Package.swift.txt +++ b/Sources/Services/AWSMarketplaceCatalog/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSMarketplaceCatalog/Sources/AWSMarketplaceCatalog/MarketplaceCatalogClient.swift b/Sources/Services/AWSMarketplaceCatalog/Sources/AWSMarketplaceCatalog/MarketplaceCatalogClient.swift index 908dfc06570..ab5f7c4ad48 100644 --- a/Sources/Services/AWSMarketplaceCatalog/Sources/AWSMarketplaceCatalog/MarketplaceCatalogClient.swift +++ b/Sources/Services/AWSMarketplaceCatalog/Sources/AWSMarketplaceCatalog/MarketplaceCatalogClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MarketplaceCatalogClient: ClientRuntime.Client { public static let clientName = "MarketplaceCatalogClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: MarketplaceCatalogClient.MarketplaceCatalogClientConfiguration let serviceName = "Marketplace Catalog" @@ -95,6 +96,8 @@ extension MarketplaceCatalogClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension MarketplaceCatalogClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension MarketplaceCatalogClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension MarketplaceCatalogClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension MarketplaceCatalogClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension MarketplaceCatalogClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension MarketplaceCatalogClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension MarketplaceCatalogClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension MarketplaceCatalogClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension MarketplaceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aws-marketplace") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension MarketplaceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aws-marketplace") .withSigningRegion(value: config.signingRegion) .build() @@ -518,6 +541,8 @@ extension MarketplaceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aws-marketplace") .withSigningRegion(value: config.signingRegion) .build() @@ -590,6 +615,8 @@ extension MarketplaceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aws-marketplace") .withSigningRegion(value: config.signingRegion) .build() @@ -663,6 +690,8 @@ extension MarketplaceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aws-marketplace") .withSigningRegion(value: config.signingRegion) .build() @@ -735,6 +764,8 @@ extension MarketplaceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aws-marketplace") .withSigningRegion(value: config.signingRegion) .build() @@ -806,6 +837,8 @@ extension MarketplaceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aws-marketplace") .withSigningRegion(value: config.signingRegion) .build() @@ -880,6 +913,8 @@ extension MarketplaceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aws-marketplace") .withSigningRegion(value: config.signingRegion) .build() @@ -954,6 +989,8 @@ extension MarketplaceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aws-marketplace") .withSigningRegion(value: config.signingRegion) .build() @@ -1028,6 +1065,8 @@ extension MarketplaceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aws-marketplace") .withSigningRegion(value: config.signingRegion) .build() @@ -1104,6 +1143,8 @@ extension MarketplaceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aws-marketplace") .withSigningRegion(value: config.signingRegion) .build() @@ -1179,6 +1220,8 @@ extension MarketplaceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aws-marketplace") .withSigningRegion(value: config.signingRegion) .build() @@ -1253,6 +1296,8 @@ extension MarketplaceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aws-marketplace") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSMarketplaceCommerceAnalytics/Package.swift.txt b/Sources/Services/AWSMarketplaceCommerceAnalytics/Package.swift.txt index b343d591da9..4f2b00e24b5 100644 --- a/Sources/Services/AWSMarketplaceCommerceAnalytics/Package.swift.txt +++ b/Sources/Services/AWSMarketplaceCommerceAnalytics/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSMarketplaceCommerceAnalytics/Sources/AWSMarketplaceCommerceAnalytics/MarketplaceCommerceAnalyticsClient.swift b/Sources/Services/AWSMarketplaceCommerceAnalytics/Sources/AWSMarketplaceCommerceAnalytics/MarketplaceCommerceAnalyticsClient.swift index a482a710dfb..5c64ab0255b 100644 --- a/Sources/Services/AWSMarketplaceCommerceAnalytics/Sources/AWSMarketplaceCommerceAnalytics/MarketplaceCommerceAnalyticsClient.swift +++ b/Sources/Services/AWSMarketplaceCommerceAnalytics/Sources/AWSMarketplaceCommerceAnalytics/MarketplaceCommerceAnalyticsClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MarketplaceCommerceAnalyticsClient: ClientRuntime.Client { public static let clientName = "MarketplaceCommerceAnalyticsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: MarketplaceCommerceAnalyticsClient.MarketplaceCommerceAnalyticsClientConfiguration let serviceName = "Marketplace Commerce Analytics" @@ -94,6 +95,8 @@ extension MarketplaceCommerceAnalyticsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension MarketplaceCommerceAnalyticsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension MarketplaceCommerceAnalyticsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension MarketplaceCommerceAnalyticsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension MarketplaceCommerceAnalyticsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension MarketplaceCommerceAnalyticsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension MarketplaceCommerceAnalyticsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension MarketplaceCommerceAnalyticsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension MarketplaceCommerceAnalyticsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -367,6 +386,8 @@ extension MarketplaceCommerceAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "marketplacecommerceanalytics") .withSigningRegion(value: config.signingRegion) .build() @@ -439,6 +460,8 @@ extension MarketplaceCommerceAnalyticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "marketplacecommerceanalytics") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSMarketplaceDeployment/Package.swift.txt b/Sources/Services/AWSMarketplaceDeployment/Package.swift.txt index 29afcf2b12d..4567f992d39 100644 --- a/Sources/Services/AWSMarketplaceDeployment/Package.swift.txt +++ b/Sources/Services/AWSMarketplaceDeployment/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSMarketplaceDeployment/Sources/AWSMarketplaceDeployment/MarketplaceDeploymentClient.swift b/Sources/Services/AWSMarketplaceDeployment/Sources/AWSMarketplaceDeployment/MarketplaceDeploymentClient.swift index 92ac48f1cb9..b5d5f5334b5 100644 --- a/Sources/Services/AWSMarketplaceDeployment/Sources/AWSMarketplaceDeployment/MarketplaceDeploymentClient.swift +++ b/Sources/Services/AWSMarketplaceDeployment/Sources/AWSMarketplaceDeployment/MarketplaceDeploymentClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MarketplaceDeploymentClient: ClientRuntime.Client { public static let clientName = "MarketplaceDeploymentClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: MarketplaceDeploymentClient.MarketplaceDeploymentClientConfiguration let serviceName = "Marketplace Deployment" @@ -95,6 +96,8 @@ extension MarketplaceDeploymentClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension MarketplaceDeploymentClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension MarketplaceDeploymentClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension MarketplaceDeploymentClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension MarketplaceDeploymentClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension MarketplaceDeploymentClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension MarketplaceDeploymentClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension MarketplaceDeploymentClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension MarketplaceDeploymentClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension MarketplaceDeploymentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aws-marketplace") .withSigningRegion(value: config.signingRegion) .build() @@ -445,6 +466,8 @@ extension MarketplaceDeploymentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aws-marketplace") .withSigningRegion(value: config.signingRegion) .build() @@ -521,6 +544,8 @@ extension MarketplaceDeploymentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aws-marketplace") .withSigningRegion(value: config.signingRegion) .build() @@ -596,6 +621,8 @@ extension MarketplaceDeploymentClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aws-marketplace") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSMarketplaceEntitlementService/Package.swift.txt b/Sources/Services/AWSMarketplaceEntitlementService/Package.swift.txt index 05c58f17ad0..f019026c45d 100644 --- a/Sources/Services/AWSMarketplaceEntitlementService/Package.swift.txt +++ b/Sources/Services/AWSMarketplaceEntitlementService/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSMarketplaceEntitlementService/Sources/AWSMarketplaceEntitlementService/MarketplaceEntitlementClient.swift b/Sources/Services/AWSMarketplaceEntitlementService/Sources/AWSMarketplaceEntitlementService/MarketplaceEntitlementClient.swift index 459eaa0d49f..0b876c9f896 100644 --- a/Sources/Services/AWSMarketplaceEntitlementService/Sources/AWSMarketplaceEntitlementService/MarketplaceEntitlementClient.swift +++ b/Sources/Services/AWSMarketplaceEntitlementService/Sources/AWSMarketplaceEntitlementService/MarketplaceEntitlementClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MarketplaceEntitlementClient: ClientRuntime.Client { public static let clientName = "MarketplaceEntitlementClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: MarketplaceEntitlementClient.MarketplaceEntitlementClientConfiguration let serviceName = "Marketplace Entitlement" @@ -93,6 +94,8 @@ extension MarketplaceEntitlementClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension MarketplaceEntitlementClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension MarketplaceEntitlementClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension MarketplaceEntitlementClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension MarketplaceEntitlementClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension MarketplaceEntitlementClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension MarketplaceEntitlementClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension MarketplaceEntitlementClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension MarketplaceEntitlementClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -368,6 +387,8 @@ extension MarketplaceEntitlementClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aws-marketplace") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSMarketplaceMetering/Package.swift.txt b/Sources/Services/AWSMarketplaceMetering/Package.swift.txt index 00f0af7f32a..08f7e435b13 100644 --- a/Sources/Services/AWSMarketplaceMetering/Package.swift.txt +++ b/Sources/Services/AWSMarketplaceMetering/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSMarketplaceMetering/Sources/AWSMarketplaceMetering/MarketplaceMeteringClient.swift b/Sources/Services/AWSMarketplaceMetering/Sources/AWSMarketplaceMetering/MarketplaceMeteringClient.swift index eb809dd1a86..321eeeaa196 100644 --- a/Sources/Services/AWSMarketplaceMetering/Sources/AWSMarketplaceMetering/MarketplaceMeteringClient.swift +++ b/Sources/Services/AWSMarketplaceMetering/Sources/AWSMarketplaceMetering/MarketplaceMeteringClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MarketplaceMeteringClient: ClientRuntime.Client { public static let clientName = "MarketplaceMeteringClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: MarketplaceMeteringClient.MarketplaceMeteringClientConfiguration let serviceName = "Marketplace Metering" @@ -94,6 +95,8 @@ extension MarketplaceMeteringClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension MarketplaceMeteringClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension MarketplaceMeteringClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension MarketplaceMeteringClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension MarketplaceMeteringClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension MarketplaceMeteringClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension MarketplaceMeteringClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension MarketplaceMeteringClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension MarketplaceMeteringClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -375,6 +394,8 @@ extension MarketplaceMeteringClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aws-marketplace") .withSigningRegion(value: config.signingRegion) .build() @@ -455,6 +476,8 @@ extension MarketplaceMeteringClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aws-marketplace") .withSigningRegion(value: config.signingRegion) .build() @@ -537,6 +560,8 @@ extension MarketplaceMeteringClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aws-marketplace") .withSigningRegion(value: config.signingRegion) .build() @@ -612,6 +637,8 @@ extension MarketplaceMeteringClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aws-marketplace") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSMarketplaceReporting/Package.swift.txt b/Sources/Services/AWSMarketplaceReporting/Package.swift.txt index 47261cdef37..53f4237a569 100644 --- a/Sources/Services/AWSMarketplaceReporting/Package.swift.txt +++ b/Sources/Services/AWSMarketplaceReporting/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSMarketplaceReporting/Sources/AWSMarketplaceReporting/MarketplaceReportingClient.swift b/Sources/Services/AWSMarketplaceReporting/Sources/AWSMarketplaceReporting/MarketplaceReportingClient.swift index 46f45ddcbad..fb5ed709fce 100644 --- a/Sources/Services/AWSMarketplaceReporting/Sources/AWSMarketplaceReporting/MarketplaceReportingClient.swift +++ b/Sources/Services/AWSMarketplaceReporting/Sources/AWSMarketplaceReporting/MarketplaceReportingClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -62,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MarketplaceReportingClient: ClientRuntime.Client { public static let clientName = "MarketplaceReportingClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: MarketplaceReportingClient.MarketplaceReportingClientConfiguration let serviceName = "Marketplace Reporting" @@ -92,6 +93,8 @@ extension MarketplaceReportingClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -117,6 +120,8 @@ extension MarketplaceReportingClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -140,6 +145,8 @@ extension MarketplaceReportingClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -166,6 +173,8 @@ extension MarketplaceReportingClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -190,6 +199,8 @@ extension MarketplaceReportingClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -216,6 +227,8 @@ extension MarketplaceReportingClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -240,6 +253,8 @@ extension MarketplaceReportingClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -267,6 +282,8 @@ extension MarketplaceReportingClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -294,6 +311,8 @@ extension MarketplaceReportingClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension MarketplaceReportingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aws-marketplace") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSMediaConnect/Package.swift.txt b/Sources/Services/AWSMediaConnect/Package.swift.txt index 6b7187ab740..a95e7929488 100644 --- a/Sources/Services/AWSMediaConnect/Package.swift.txt +++ b/Sources/Services/AWSMediaConnect/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSMediaConnect/Sources/AWSMediaConnect/MediaConnectClient.swift b/Sources/Services/AWSMediaConnect/Sources/AWSMediaConnect/MediaConnectClient.swift index f20ac85c596..53134a39ad2 100644 --- a/Sources/Services/AWSMediaConnect/Sources/AWSMediaConnect/MediaConnectClient.swift +++ b/Sources/Services/AWSMediaConnect/Sources/AWSMediaConnect/MediaConnectClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaConnectClient: ClientRuntime.Client { public static let clientName = "MediaConnectClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: MediaConnectClient.MediaConnectClientConfiguration let serviceName = "MediaConnect" @@ -94,6 +95,8 @@ extension MediaConnectClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension MediaConnectClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension MediaConnectClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension MediaConnectClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension MediaConnectClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension MediaConnectClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension MediaConnectClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension MediaConnectClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension MediaConnectClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -449,6 +470,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -524,6 +547,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -600,6 +625,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -675,6 +702,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -750,6 +779,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -826,6 +857,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -901,6 +934,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -977,6 +1012,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1053,6 +1090,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1125,6 +1164,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1198,6 +1239,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1271,6 +1314,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1345,6 +1390,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1417,6 +1464,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1489,6 +1538,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1561,6 +1612,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1634,6 +1687,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1707,6 +1762,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1778,6 +1835,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1849,6 +1908,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1922,6 +1983,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -1996,6 +2059,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -2067,6 +2132,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -2138,6 +2205,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -2210,6 +2279,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -2282,6 +2353,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -2353,6 +2426,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -2424,6 +2499,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -2494,6 +2571,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -2566,6 +2645,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -2642,6 +2723,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -2715,6 +2798,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -2787,6 +2872,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -2859,6 +2946,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -2931,6 +3020,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -3003,6 +3094,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -3075,6 +3168,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -3147,6 +3242,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -3219,6 +3316,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -3288,6 +3387,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -3360,6 +3461,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -3434,6 +3537,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -3510,6 +3615,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -3586,6 +3693,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -3662,6 +3771,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -3737,6 +3848,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -3812,6 +3925,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -3887,6 +4002,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -3962,6 +4079,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -4037,6 +4156,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() @@ -4113,6 +4234,8 @@ extension MediaConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconnect") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSMediaConvert/Package.swift.txt b/Sources/Services/AWSMediaConvert/Package.swift.txt index 35e6f5b70f3..f2ce4947a26 100644 --- a/Sources/Services/AWSMediaConvert/Package.swift.txt +++ b/Sources/Services/AWSMediaConvert/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSMediaConvert/Sources/AWSMediaConvert/MediaConvertClient.swift b/Sources/Services/AWSMediaConvert/Sources/AWSMediaConvert/MediaConvertClient.swift index 9b094bf20df..d3af08e3ab7 100644 --- a/Sources/Services/AWSMediaConvert/Sources/AWSMediaConvert/MediaConvertClient.swift +++ b/Sources/Services/AWSMediaConvert/Sources/AWSMediaConvert/MediaConvertClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaConvertClient: ClientRuntime.Client { public static let clientName = "MediaConvertClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: MediaConvertClient.MediaConvertClientConfiguration let serviceName = "MediaConvert" @@ -94,6 +95,8 @@ extension MediaConvertClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension MediaConvertClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension MediaConvertClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension MediaConvertClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension MediaConvertClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension MediaConvertClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension MediaConvertClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension MediaConvertClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension MediaConvertClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension MediaConvertClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() @@ -447,6 +468,8 @@ extension MediaConvertClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() @@ -519,6 +542,8 @@ extension MediaConvertClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() @@ -595,6 +620,8 @@ extension MediaConvertClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() @@ -670,6 +697,8 @@ extension MediaConvertClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() @@ -745,6 +774,8 @@ extension MediaConvertClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() @@ -820,6 +851,8 @@ extension MediaConvertClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() @@ -892,6 +925,8 @@ extension MediaConvertClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() @@ -964,6 +999,8 @@ extension MediaConvertClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() @@ -1036,6 +1073,8 @@ extension MediaConvertClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() @@ -1109,6 +1148,8 @@ extension MediaConvertClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() @@ -1184,6 +1225,8 @@ extension MediaConvertClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() @@ -1256,6 +1299,8 @@ extension MediaConvertClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() @@ -1328,6 +1373,8 @@ extension MediaConvertClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() @@ -1400,6 +1447,8 @@ extension MediaConvertClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() @@ -1472,6 +1521,8 @@ extension MediaConvertClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() @@ -1544,6 +1595,8 @@ extension MediaConvertClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() @@ -1616,6 +1669,8 @@ extension MediaConvertClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() @@ -1689,6 +1744,8 @@ extension MediaConvertClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() @@ -1762,6 +1819,8 @@ extension MediaConvertClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() @@ -1835,6 +1894,8 @@ extension MediaConvertClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() @@ -1908,6 +1969,8 @@ extension MediaConvertClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() @@ -1980,6 +2043,8 @@ extension MediaConvertClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() @@ -2053,6 +2118,8 @@ extension MediaConvertClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() @@ -2128,6 +2195,8 @@ extension MediaConvertClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() @@ -2201,6 +2270,8 @@ extension MediaConvertClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() @@ -2276,6 +2347,8 @@ extension MediaConvertClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() @@ -2351,6 +2424,8 @@ extension MediaConvertClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() @@ -2426,6 +2501,8 @@ extension MediaConvertClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() @@ -2501,6 +2578,8 @@ extension MediaConvertClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediaconvert") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSMediaLive/Package.swift.txt b/Sources/Services/AWSMediaLive/Package.swift.txt index 349ba542f77..4cb9228ef9c 100644 --- a/Sources/Services/AWSMediaLive/Package.swift.txt +++ b/Sources/Services/AWSMediaLive/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/MediaLiveClient.swift b/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/MediaLiveClient.swift index 0bf7f4cf345..1299cc39160 100644 --- a/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/MediaLiveClient.swift +++ b/Sources/Services/AWSMediaLive/Sources/AWSMediaLive/MediaLiveClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -67,7 +68,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaLiveClient: ClientRuntime.Client { public static let clientName = "MediaLiveClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: MediaLiveClient.MediaLiveClientConfiguration let serviceName = "MediaLive" @@ -97,6 +98,8 @@ extension MediaLiveClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -122,6 +125,8 @@ extension MediaLiveClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -145,6 +150,8 @@ extension MediaLiveClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -171,6 +178,8 @@ extension MediaLiveClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -195,6 +204,8 @@ extension MediaLiveClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -221,6 +232,8 @@ extension MediaLiveClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -245,6 +258,8 @@ extension MediaLiveClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -272,6 +287,8 @@ extension MediaLiveClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -299,6 +316,8 @@ extension MediaLiveClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -378,6 +397,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -452,6 +473,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -529,6 +552,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -606,6 +631,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -683,6 +710,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -761,6 +790,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -835,6 +866,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -912,6 +945,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -989,6 +1024,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -1065,6 +1102,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -1140,6 +1179,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -1216,6 +1257,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -1292,6 +1335,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -1367,6 +1412,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -1442,6 +1489,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -1518,6 +1567,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -1595,6 +1646,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -1673,6 +1726,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -1750,6 +1805,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -1827,6 +1884,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -1904,6 +1963,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -1980,6 +2041,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -2056,6 +2119,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -2129,6 +2194,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -2206,6 +2273,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -2280,6 +2349,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -2352,6 +2423,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -2424,6 +2497,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -2498,6 +2573,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -2570,6 +2647,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -2642,6 +2721,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -2716,6 +2797,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -2789,6 +2872,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -2863,6 +2948,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -2937,6 +3024,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -3011,6 +3100,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -3085,6 +3176,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -3159,6 +3252,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -3232,6 +3327,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -3304,6 +3401,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -3374,6 +3473,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -3447,6 +3548,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -3520,6 +3623,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -3593,6 +3698,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -3666,6 +3773,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -3739,6 +3848,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -3812,6 +3923,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -3885,6 +3998,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -3959,6 +4074,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -4032,6 +4149,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -4105,6 +4224,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -4178,6 +4299,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -4251,6 +4374,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -4324,6 +4449,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -4397,6 +4524,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -4470,6 +4599,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -4545,6 +4676,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -4617,6 +4750,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -4688,6 +4823,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -4759,6 +4896,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -4830,6 +4969,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -4901,6 +5042,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -4973,6 +5116,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -5046,6 +5191,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -5118,6 +5265,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -5190,6 +5339,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -5263,6 +5414,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -5335,6 +5488,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -5407,6 +5562,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -5481,6 +5638,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -5554,6 +5713,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -5627,6 +5788,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -5700,6 +5863,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -5774,6 +5939,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -5847,6 +6014,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -5920,6 +6089,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -5993,6 +6164,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -6066,6 +6239,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -6139,6 +6314,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -6211,6 +6388,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -6282,6 +6461,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -6356,6 +6537,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -6430,6 +6613,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -6508,6 +6693,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -6586,6 +6773,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -6660,6 +6849,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -6737,6 +6928,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -6809,6 +7002,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -6883,6 +7078,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -6957,6 +7154,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -7029,6 +7228,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -7106,6 +7307,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -7178,6 +7381,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -7255,6 +7460,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -7329,6 +7536,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -7403,6 +7612,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -7478,6 +7689,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -7554,6 +7767,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -7630,6 +7845,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -7708,6 +7925,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -7785,6 +8004,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -7860,6 +8081,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -7935,6 +8158,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -8011,6 +8236,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -8086,6 +8313,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -8161,6 +8390,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -8237,6 +8468,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -8314,6 +8547,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -8390,6 +8625,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -8467,6 +8704,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -8544,6 +8783,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -8620,6 +8861,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -8696,6 +8939,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -8773,6 +9018,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() @@ -8850,6 +9097,8 @@ extension MediaLiveClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medialive") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSMediaPackage/Package.swift.txt b/Sources/Services/AWSMediaPackage/Package.swift.txt index c03da9dfb5b..26c29ff5312 100644 --- a/Sources/Services/AWSMediaPackage/Package.swift.txt +++ b/Sources/Services/AWSMediaPackage/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSMediaPackage/Sources/AWSMediaPackage/MediaPackageClient.swift b/Sources/Services/AWSMediaPackage/Sources/AWSMediaPackage/MediaPackageClient.swift index 5bfd840fe77..618170ac617 100644 --- a/Sources/Services/AWSMediaPackage/Sources/AWSMediaPackage/MediaPackageClient.swift +++ b/Sources/Services/AWSMediaPackage/Sources/AWSMediaPackage/MediaPackageClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaPackageClient: ClientRuntime.Client { public static let clientName = "MediaPackageClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: MediaPackageClient.MediaPackageClientConfiguration let serviceName = "MediaPackage" @@ -93,6 +94,8 @@ extension MediaPackageClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension MediaPackageClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension MediaPackageClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension MediaPackageClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension MediaPackageClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension MediaPackageClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension MediaPackageClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension MediaPackageClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension MediaPackageClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension MediaPackageClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension MediaPackageClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage") .withSigningRegion(value: config.signingRegion) .build() @@ -521,6 +544,8 @@ extension MediaPackageClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage") .withSigningRegion(value: config.signingRegion) .build() @@ -596,6 +621,8 @@ extension MediaPackageClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage") .withSigningRegion(value: config.signingRegion) .build() @@ -671,6 +698,8 @@ extension MediaPackageClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage") .withSigningRegion(value: config.signingRegion) .build() @@ -743,6 +772,8 @@ extension MediaPackageClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage") .withSigningRegion(value: config.signingRegion) .build() @@ -815,6 +846,8 @@ extension MediaPackageClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage") .withSigningRegion(value: config.signingRegion) .build() @@ -887,6 +920,8 @@ extension MediaPackageClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage") .withSigningRegion(value: config.signingRegion) .build() @@ -959,6 +994,8 @@ extension MediaPackageClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage") .withSigningRegion(value: config.signingRegion) .build() @@ -1031,6 +1068,8 @@ extension MediaPackageClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage") .withSigningRegion(value: config.signingRegion) .build() @@ -1104,6 +1143,8 @@ extension MediaPackageClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage") .withSigningRegion(value: config.signingRegion) .build() @@ -1177,6 +1218,8 @@ extension MediaPackageClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage") .withSigningRegion(value: config.signingRegion) .build() @@ -1239,6 +1282,8 @@ extension MediaPackageClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage") .withSigningRegion(value: config.signingRegion) .build() @@ -1312,6 +1357,8 @@ extension MediaPackageClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage") .withSigningRegion(value: config.signingRegion) .build() @@ -1384,6 +1431,8 @@ extension MediaPackageClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage") .withSigningRegion(value: config.signingRegion) .build() @@ -1445,6 +1494,8 @@ extension MediaPackageClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage") .withSigningRegion(value: config.signingRegion) .build() @@ -1509,6 +1560,8 @@ extension MediaPackageClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage") .withSigningRegion(value: config.signingRegion) .build() @@ -1582,6 +1635,8 @@ extension MediaPackageClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage") .withSigningRegion(value: config.signingRegion) .build() @@ -1657,6 +1712,8 @@ extension MediaPackageClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSMediaPackageV2/Package.swift.txt b/Sources/Services/AWSMediaPackageV2/Package.swift.txt index deb07741f89..6caa45d240e 100644 --- a/Sources/Services/AWSMediaPackageV2/Package.swift.txt +++ b/Sources/Services/AWSMediaPackageV2/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSMediaPackageV2/Sources/AWSMediaPackageV2/MediaPackageV2Client.swift b/Sources/Services/AWSMediaPackageV2/Sources/AWSMediaPackageV2/MediaPackageV2Client.swift index e63ef84b6b3..9037f69bd50 100644 --- a/Sources/Services/AWSMediaPackageV2/Sources/AWSMediaPackageV2/MediaPackageV2Client.swift +++ b/Sources/Services/AWSMediaPackageV2/Sources/AWSMediaPackageV2/MediaPackageV2Client.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -66,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaPackageV2Client: ClientRuntime.Client { public static let clientName = "MediaPackageV2Client" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: MediaPackageV2Client.MediaPackageV2ClientConfiguration let serviceName = "MediaPackageV2" @@ -96,6 +97,8 @@ extension MediaPackageV2Client { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -121,6 +124,8 @@ extension MediaPackageV2Client { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -144,6 +149,8 @@ extension MediaPackageV2Client { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -170,6 +177,8 @@ extension MediaPackageV2Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -194,6 +203,8 @@ extension MediaPackageV2Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -220,6 +231,8 @@ extension MediaPackageV2Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -244,6 +257,8 @@ extension MediaPackageV2Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -271,6 +286,8 @@ extension MediaPackageV2Client { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -298,6 +315,8 @@ extension MediaPackageV2Client { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension MediaPackageV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackagev2") .withSigningRegion(value: config.signingRegion) .build() @@ -448,6 +469,8 @@ extension MediaPackageV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackagev2") .withSigningRegion(value: config.signingRegion) .build() @@ -526,6 +549,8 @@ extension MediaPackageV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackagev2") .withSigningRegion(value: config.signingRegion) .build() @@ -604,6 +629,8 @@ extension MediaPackageV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackagev2") .withSigningRegion(value: config.signingRegion) .build() @@ -682,6 +709,8 @@ extension MediaPackageV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackagev2") .withSigningRegion(value: config.signingRegion) .build() @@ -758,6 +787,8 @@ extension MediaPackageV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackagev2") .withSigningRegion(value: config.signingRegion) .build() @@ -829,6 +860,8 @@ extension MediaPackageV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackagev2") .withSigningRegion(value: config.signingRegion) .build() @@ -900,6 +933,8 @@ extension MediaPackageV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackagev2") .withSigningRegion(value: config.signingRegion) .build() @@ -970,6 +1005,8 @@ extension MediaPackageV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackagev2") .withSigningRegion(value: config.signingRegion) .build() @@ -1041,6 +1078,8 @@ extension MediaPackageV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackagev2") .withSigningRegion(value: config.signingRegion) .build() @@ -1112,6 +1151,8 @@ extension MediaPackageV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackagev2") .withSigningRegion(value: config.signingRegion) .build() @@ -1183,6 +1224,8 @@ extension MediaPackageV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackagev2") .withSigningRegion(value: config.signingRegion) .build() @@ -1254,6 +1297,8 @@ extension MediaPackageV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackagev2") .withSigningRegion(value: config.signingRegion) .build() @@ -1325,6 +1370,8 @@ extension MediaPackageV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackagev2") .withSigningRegion(value: config.signingRegion) .build() @@ -1396,6 +1443,8 @@ extension MediaPackageV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackagev2") .withSigningRegion(value: config.signingRegion) .build() @@ -1467,6 +1516,8 @@ extension MediaPackageV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackagev2") .withSigningRegion(value: config.signingRegion) .build() @@ -1537,6 +1588,8 @@ extension MediaPackageV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackagev2") .withSigningRegion(value: config.signingRegion) .build() @@ -1609,6 +1662,8 @@ extension MediaPackageV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackagev2") .withSigningRegion(value: config.signingRegion) .build() @@ -1681,6 +1736,8 @@ extension MediaPackageV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackagev2") .withSigningRegion(value: config.signingRegion) .build() @@ -1753,6 +1810,8 @@ extension MediaPackageV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackagev2") .withSigningRegion(value: config.signingRegion) .build() @@ -1821,6 +1880,8 @@ extension MediaPackageV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackagev2") .withSigningRegion(value: config.signingRegion) .build() @@ -1893,6 +1954,8 @@ extension MediaPackageV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackagev2") .withSigningRegion(value: config.signingRegion) .build() @@ -1968,6 +2031,8 @@ extension MediaPackageV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackagev2") .withSigningRegion(value: config.signingRegion) .build() @@ -2038,6 +2103,8 @@ extension MediaPackageV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackagev2") .withSigningRegion(value: config.signingRegion) .build() @@ -2108,6 +2175,8 @@ extension MediaPackageV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackagev2") .withSigningRegion(value: config.signingRegion) .build() @@ -2181,6 +2250,8 @@ extension MediaPackageV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackagev2") .withSigningRegion(value: config.signingRegion) .build() @@ -2257,6 +2328,8 @@ extension MediaPackageV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackagev2") .withSigningRegion(value: config.signingRegion) .build() @@ -2334,6 +2407,8 @@ extension MediaPackageV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackagev2") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSMediaPackageVod/Package.swift.txt b/Sources/Services/AWSMediaPackageVod/Package.swift.txt index 05676d9b3a7..bb01150b564 100644 --- a/Sources/Services/AWSMediaPackageVod/Package.swift.txt +++ b/Sources/Services/AWSMediaPackageVod/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSMediaPackageVod/Sources/AWSMediaPackageVod/MediaPackageVodClient.swift b/Sources/Services/AWSMediaPackageVod/Sources/AWSMediaPackageVod/MediaPackageVodClient.swift index d50a4c4005a..9e403f969dc 100644 --- a/Sources/Services/AWSMediaPackageVod/Sources/AWSMediaPackageVod/MediaPackageVodClient.swift +++ b/Sources/Services/AWSMediaPackageVod/Sources/AWSMediaPackageVod/MediaPackageVodClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaPackageVodClient: ClientRuntime.Client { public static let clientName = "MediaPackageVodClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: MediaPackageVodClient.MediaPackageVodClientConfiguration let serviceName = "MediaPackage Vod" @@ -93,6 +94,8 @@ extension MediaPackageVodClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension MediaPackageVodClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension MediaPackageVodClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension MediaPackageVodClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension MediaPackageVodClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension MediaPackageVodClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension MediaPackageVodClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension MediaPackageVodClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension MediaPackageVodClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension MediaPackageVodClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage-vod") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension MediaPackageVodClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage-vod") .withSigningRegion(value: config.signingRegion) .build() @@ -521,6 +544,8 @@ extension MediaPackageVodClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage-vod") .withSigningRegion(value: config.signingRegion) .build() @@ -596,6 +621,8 @@ extension MediaPackageVodClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage-vod") .withSigningRegion(value: config.signingRegion) .build() @@ -671,6 +698,8 @@ extension MediaPackageVodClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage-vod") .withSigningRegion(value: config.signingRegion) .build() @@ -743,6 +772,8 @@ extension MediaPackageVodClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage-vod") .withSigningRegion(value: config.signingRegion) .build() @@ -815,6 +846,8 @@ extension MediaPackageVodClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage-vod") .withSigningRegion(value: config.signingRegion) .build() @@ -887,6 +920,8 @@ extension MediaPackageVodClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage-vod") .withSigningRegion(value: config.signingRegion) .build() @@ -959,6 +994,8 @@ extension MediaPackageVodClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage-vod") .withSigningRegion(value: config.signingRegion) .build() @@ -1031,6 +1068,8 @@ extension MediaPackageVodClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage-vod") .withSigningRegion(value: config.signingRegion) .build() @@ -1103,6 +1142,8 @@ extension MediaPackageVodClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage-vod") .withSigningRegion(value: config.signingRegion) .build() @@ -1176,6 +1217,8 @@ extension MediaPackageVodClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage-vod") .withSigningRegion(value: config.signingRegion) .build() @@ -1249,6 +1292,8 @@ extension MediaPackageVodClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage-vod") .withSigningRegion(value: config.signingRegion) .build() @@ -1312,6 +1357,8 @@ extension MediaPackageVodClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage-vod") .withSigningRegion(value: config.signingRegion) .build() @@ -1374,6 +1421,8 @@ extension MediaPackageVodClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage-vod") .withSigningRegion(value: config.signingRegion) .build() @@ -1439,6 +1488,8 @@ extension MediaPackageVodClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage-vod") .withSigningRegion(value: config.signingRegion) .build() @@ -1512,6 +1563,8 @@ extension MediaPackageVodClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediapackage-vod") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSMediaStore/Package.swift.txt b/Sources/Services/AWSMediaStore/Package.swift.txt index d41a247bcc7..ecdcd1f7097 100644 --- a/Sources/Services/AWSMediaStore/Package.swift.txt +++ b/Sources/Services/AWSMediaStore/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSMediaStore/Sources/AWSMediaStore/MediaStoreClient.swift b/Sources/Services/AWSMediaStore/Sources/AWSMediaStore/MediaStoreClient.swift index b76fecd8358..2a0f1151730 100644 --- a/Sources/Services/AWSMediaStore/Sources/AWSMediaStore/MediaStoreClient.swift +++ b/Sources/Services/AWSMediaStore/Sources/AWSMediaStore/MediaStoreClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaStoreClient: ClientRuntime.Client { public static let clientName = "MediaStoreClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: MediaStoreClient.MediaStoreClientConfiguration let serviceName = "MediaStore" @@ -93,6 +94,8 @@ extension MediaStoreClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension MediaStoreClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension MediaStoreClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension MediaStoreClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension MediaStoreClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension MediaStoreClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension MediaStoreClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension MediaStoreClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension MediaStoreClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -368,6 +387,8 @@ extension MediaStoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediastore") .withSigningRegion(value: config.signingRegion) .build() @@ -441,6 +462,8 @@ extension MediaStoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediastore") .withSigningRegion(value: config.signingRegion) .build() @@ -515,6 +538,8 @@ extension MediaStoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediastore") .withSigningRegion(value: config.signingRegion) .build() @@ -589,6 +614,8 @@ extension MediaStoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediastore") .withSigningRegion(value: config.signingRegion) .build() @@ -663,6 +690,8 @@ extension MediaStoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediastore") .withSigningRegion(value: config.signingRegion) .build() @@ -737,6 +766,8 @@ extension MediaStoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediastore") .withSigningRegion(value: config.signingRegion) .build() @@ -809,6 +840,8 @@ extension MediaStoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediastore") .withSigningRegion(value: config.signingRegion) .build() @@ -883,6 +916,8 @@ extension MediaStoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediastore") .withSigningRegion(value: config.signingRegion) .build() @@ -957,6 +992,8 @@ extension MediaStoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediastore") .withSigningRegion(value: config.signingRegion) .build() @@ -1031,6 +1068,8 @@ extension MediaStoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediastore") .withSigningRegion(value: config.signingRegion) .build() @@ -1105,6 +1144,8 @@ extension MediaStoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediastore") .withSigningRegion(value: config.signingRegion) .build() @@ -1176,6 +1217,8 @@ extension MediaStoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediastore") .withSigningRegion(value: config.signingRegion) .build() @@ -1249,6 +1292,8 @@ extension MediaStoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediastore") .withSigningRegion(value: config.signingRegion) .build() @@ -1322,6 +1367,8 @@ extension MediaStoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediastore") .withSigningRegion(value: config.signingRegion) .build() @@ -1395,6 +1442,8 @@ extension MediaStoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediastore") .withSigningRegion(value: config.signingRegion) .build() @@ -1468,6 +1517,8 @@ extension MediaStoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediastore") .withSigningRegion(value: config.signingRegion) .build() @@ -1541,6 +1592,8 @@ extension MediaStoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediastore") .withSigningRegion(value: config.signingRegion) .build() @@ -1614,6 +1667,8 @@ extension MediaStoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediastore") .withSigningRegion(value: config.signingRegion) .build() @@ -1687,6 +1742,8 @@ extension MediaStoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediastore") .withSigningRegion(value: config.signingRegion) .build() @@ -1760,6 +1817,8 @@ extension MediaStoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediastore") .withSigningRegion(value: config.signingRegion) .build() @@ -1833,6 +1892,8 @@ extension MediaStoreClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediastore") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSMediaStoreData/Package.swift.txt b/Sources/Services/AWSMediaStoreData/Package.swift.txt index 6f72e7e584f..120c03dc7ae 100644 --- a/Sources/Services/AWSMediaStoreData/Package.swift.txt +++ b/Sources/Services/AWSMediaStoreData/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSMediaStoreData/Sources/AWSMediaStoreData/MediaStoreDataClient.swift b/Sources/Services/AWSMediaStoreData/Sources/AWSMediaStoreData/MediaStoreDataClient.swift index 54272abbee2..d8fb1395777 100644 --- a/Sources/Services/AWSMediaStoreData/Sources/AWSMediaStoreData/MediaStoreDataClient.swift +++ b/Sources/Services/AWSMediaStoreData/Sources/AWSMediaStoreData/MediaStoreDataClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPRequest import class SmithyHTTPAPI.HTTPResponse import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaStoreDataClient: ClientRuntime.Client { public static let clientName = "MediaStoreDataClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: MediaStoreDataClient.MediaStoreDataClientConfiguration let serviceName = "MediaStore Data" @@ -95,6 +96,8 @@ extension MediaStoreDataClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension MediaStoreDataClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension MediaStoreDataClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension MediaStoreDataClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension MediaStoreDataClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension MediaStoreDataClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension MediaStoreDataClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension MediaStoreDataClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension MediaStoreDataClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension MediaStoreDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediastore") .withSigningRegion(value: config.signingRegion) .build() @@ -439,6 +460,8 @@ extension MediaStoreDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediastore") .withSigningRegion(value: config.signingRegion) .build() @@ -509,6 +532,8 @@ extension MediaStoreDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediastore") .withSigningRegion(value: config.signingRegion) .build() @@ -578,6 +603,8 @@ extension MediaStoreDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediastore") .withSigningRegion(value: config.signingRegion) .build() @@ -647,6 +674,8 @@ extension MediaStoreDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediastore") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSMediaTailor/Package.swift.txt b/Sources/Services/AWSMediaTailor/Package.swift.txt index df638455166..2b1bf684bb9 100644 --- a/Sources/Services/AWSMediaTailor/Package.swift.txt +++ b/Sources/Services/AWSMediaTailor/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSMediaTailor/Sources/AWSMediaTailor/MediaTailorClient.swift b/Sources/Services/AWSMediaTailor/Sources/AWSMediaTailor/MediaTailorClient.swift index d2ee23d85b8..005058d39a7 100644 --- a/Sources/Services/AWSMediaTailor/Sources/AWSMediaTailor/MediaTailorClient.swift +++ b/Sources/Services/AWSMediaTailor/Sources/AWSMediaTailor/MediaTailorClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MediaTailorClient: ClientRuntime.Client { public static let clientName = "MediaTailorClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: MediaTailorClient.MediaTailorClientConfiguration let serviceName = "MediaTailor" @@ -94,6 +95,8 @@ extension MediaTailorClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension MediaTailorClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension MediaTailorClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension MediaTailorClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension MediaTailorClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension MediaTailorClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension MediaTailorClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension MediaTailorClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension MediaTailorClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -362,6 +381,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -427,6 +448,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -492,6 +515,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -557,6 +582,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -622,6 +649,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -687,6 +716,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -752,6 +783,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -817,6 +850,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -882,6 +917,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -944,6 +981,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -1006,6 +1045,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -1068,6 +1109,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -1130,6 +1173,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -1192,6 +1237,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -1254,6 +1301,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -1316,6 +1365,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -1378,6 +1429,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -1440,6 +1493,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -1502,6 +1557,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -1564,6 +1621,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -1626,6 +1685,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -1688,6 +1749,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -1750,6 +1813,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -1813,6 +1878,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -1875,6 +1942,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -1937,6 +2006,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -2000,6 +2071,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -2063,6 +2136,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -2126,6 +2201,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -2189,6 +2266,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -2254,6 +2333,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -2322,6 +2403,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -2384,6 +2467,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -2447,6 +2532,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -2512,6 +2599,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -2577,6 +2666,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -2639,6 +2730,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -2706,6 +2799,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -2776,6 +2871,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -2839,6 +2936,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -2904,6 +3003,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -2969,6 +3070,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -3034,6 +3137,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() @@ -3099,6 +3204,8 @@ extension MediaTailorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mediatailor") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSMedicalImaging/Package.swift.txt b/Sources/Services/AWSMedicalImaging/Package.swift.txt index 417c0de7b6e..4f04bd6331c 100644 --- a/Sources/Services/AWSMedicalImaging/Package.swift.txt +++ b/Sources/Services/AWSMedicalImaging/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSMedicalImaging/Sources/AWSMedicalImaging/MedicalImagingClient.swift b/Sources/Services/AWSMedicalImaging/Sources/AWSMedicalImaging/MedicalImagingClient.swift index 178b4373a18..9fdf5f84810 100644 --- a/Sources/Services/AWSMedicalImaging/Sources/AWSMedicalImaging/MedicalImagingClient.swift +++ b/Sources/Services/AWSMedicalImaging/Sources/AWSMedicalImaging/MedicalImagingClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -67,7 +68,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MedicalImagingClient: ClientRuntime.Client { public static let clientName = "MedicalImagingClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: MedicalImagingClient.MedicalImagingClientConfiguration let serviceName = "Medical Imaging" @@ -97,6 +98,8 @@ extension MedicalImagingClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -122,6 +125,8 @@ extension MedicalImagingClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -145,6 +150,8 @@ extension MedicalImagingClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -171,6 +178,8 @@ extension MedicalImagingClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -195,6 +204,8 @@ extension MedicalImagingClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -221,6 +232,8 @@ extension MedicalImagingClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -245,6 +258,8 @@ extension MedicalImagingClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -272,6 +287,8 @@ extension MedicalImagingClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -299,6 +316,8 @@ extension MedicalImagingClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -376,6 +395,8 @@ extension MedicalImagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medical-imaging") .withSigningRegion(value: config.signingRegion) .build() @@ -452,6 +473,8 @@ extension MedicalImagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medical-imaging") .withSigningRegion(value: config.signingRegion) .build() @@ -528,6 +551,8 @@ extension MedicalImagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medical-imaging") .withSigningRegion(value: config.signingRegion) .build() @@ -600,6 +625,8 @@ extension MedicalImagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medical-imaging") .withSigningRegion(value: config.signingRegion) .build() @@ -672,6 +699,8 @@ extension MedicalImagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medical-imaging") .withSigningRegion(value: config.signingRegion) .build() @@ -743,6 +772,8 @@ extension MedicalImagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medical-imaging") .withSigningRegion(value: config.signingRegion) .build() @@ -815,6 +846,8 @@ extension MedicalImagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medical-imaging") .withSigningRegion(value: config.signingRegion) .build() @@ -890,6 +923,8 @@ extension MedicalImagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medical-imaging") .withSigningRegion(value: config.signingRegion) .build() @@ -963,6 +998,8 @@ extension MedicalImagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medical-imaging") .withSigningRegion(value: config.signingRegion) .build() @@ -1036,6 +1073,8 @@ extension MedicalImagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medical-imaging") .withSigningRegion(value: config.signingRegion) .build() @@ -1107,6 +1146,8 @@ extension MedicalImagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medical-imaging") .withSigningRegion(value: config.signingRegion) .build() @@ -1180,6 +1221,8 @@ extension MedicalImagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medical-imaging") .withSigningRegion(value: config.signingRegion) .build() @@ -1252,6 +1295,8 @@ extension MedicalImagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medical-imaging") .withSigningRegion(value: config.signingRegion) .build() @@ -1324,6 +1369,8 @@ extension MedicalImagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medical-imaging") .withSigningRegion(value: config.signingRegion) .build() @@ -1401,6 +1448,8 @@ extension MedicalImagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medical-imaging") .withSigningRegion(value: config.signingRegion) .build() @@ -1476,6 +1525,8 @@ extension MedicalImagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medical-imaging") .withSigningRegion(value: config.signingRegion) .build() @@ -1550,6 +1601,8 @@ extension MedicalImagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medical-imaging") .withSigningRegion(value: config.signingRegion) .build() @@ -1624,6 +1677,8 @@ extension MedicalImagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "medical-imaging") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSMemoryDB/Package.swift.txt b/Sources/Services/AWSMemoryDB/Package.swift.txt index 55761016e71..cbf5d784c13 100644 --- a/Sources/Services/AWSMemoryDB/Package.swift.txt +++ b/Sources/Services/AWSMemoryDB/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSMemoryDB/Sources/AWSMemoryDB/MemoryDBClient.swift b/Sources/Services/AWSMemoryDB/Sources/AWSMemoryDB/MemoryDBClient.swift index d1795ecd650..21abfd8e988 100644 --- a/Sources/Services/AWSMemoryDB/Sources/AWSMemoryDB/MemoryDBClient.swift +++ b/Sources/Services/AWSMemoryDB/Sources/AWSMemoryDB/MemoryDBClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MemoryDBClient: ClientRuntime.Client { public static let clientName = "MemoryDBClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: MemoryDBClient.MemoryDBClientConfiguration let serviceName = "MemoryDB" @@ -94,6 +95,8 @@ extension MemoryDBClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension MemoryDBClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension MemoryDBClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension MemoryDBClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension MemoryDBClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension MemoryDBClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension MemoryDBClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension MemoryDBClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension MemoryDBClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -368,6 +387,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -523,6 +546,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -611,6 +636,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -687,6 +714,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -764,6 +793,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -842,6 +873,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -919,6 +952,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -995,6 +1030,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -1068,6 +1105,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -1144,6 +1183,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -1217,6 +1258,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -1292,6 +1335,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -1367,6 +1412,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -1440,6 +1487,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -1513,6 +1562,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -1585,6 +1636,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -1659,6 +1712,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -1732,6 +1787,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -1805,6 +1862,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -1879,6 +1938,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -1953,6 +2014,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -2027,6 +2090,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -2101,6 +2166,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -2175,6 +2242,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -2247,6 +2316,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -2321,6 +2392,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -2393,6 +2466,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -2465,6 +2540,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -2543,6 +2620,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -2616,6 +2695,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -2690,6 +2771,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -2771,6 +2854,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -2848,6 +2933,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -2923,6 +3010,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -3006,6 +3095,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -3089,6 +3180,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -3166,6 +3259,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -3252,6 +3347,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -3327,6 +3424,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -3402,6 +3501,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -3478,6 +3579,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() @@ -3552,6 +3655,8 @@ extension MemoryDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "memorydb") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSMgn/Package.swift.txt b/Sources/Services/AWSMgn/Package.swift.txt index 9ab2b12625d..1ae63a0aa66 100644 --- a/Sources/Services/AWSMgn/Package.swift.txt +++ b/Sources/Services/AWSMgn/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSMgn/Sources/AWSMgn/MgnClient.swift b/Sources/Services/AWSMgn/Sources/AWSMgn/MgnClient.swift index 8b791f03097..8ba00f65fe4 100644 --- a/Sources/Services/AWSMgn/Sources/AWSMgn/MgnClient.swift +++ b/Sources/Services/AWSMgn/Sources/AWSMgn/MgnClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MgnClient: ClientRuntime.Client { public static let clientName = "MgnClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: MgnClient.MgnClientConfiguration let serviceName = "mgn" @@ -94,6 +95,8 @@ extension MgnClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension MgnClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension MgnClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension MgnClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension MgnClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension MgnClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension MgnClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension MgnClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension MgnClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -443,6 +464,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -516,6 +539,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -589,6 +614,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -662,6 +689,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -734,6 +763,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -805,6 +836,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -877,6 +910,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -949,6 +984,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -1021,6 +1058,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -1093,6 +1132,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -1165,6 +1206,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -1237,6 +1280,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -1309,6 +1354,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -1381,6 +1428,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -1453,6 +1502,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -1525,6 +1576,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -1597,6 +1650,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -1668,6 +1723,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -1739,6 +1796,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -1811,6 +1870,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -1883,6 +1944,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -1954,6 +2017,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -2026,6 +2091,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -2096,6 +2163,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -2168,6 +2237,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -2240,6 +2311,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -2313,6 +2386,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -2384,6 +2459,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -2455,6 +2532,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -2526,6 +2605,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -2593,6 +2674,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -2664,6 +2747,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -2735,6 +2820,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -2805,6 +2892,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -2876,6 +2965,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -2947,6 +3038,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -3018,6 +3111,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -3089,6 +3184,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -3163,6 +3260,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -3231,6 +3330,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -3301,6 +3402,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -3373,6 +3476,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -3447,6 +3552,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -3520,6 +3627,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -3593,6 +3702,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -3665,6 +3776,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -3737,6 +3850,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -3811,6 +3926,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -3883,6 +4000,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -3955,6 +4074,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -4027,6 +4148,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -4101,6 +4224,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -4176,6 +4301,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -4248,6 +4375,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -4322,6 +4451,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -4396,6 +4527,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -4468,6 +4601,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -4540,6 +4675,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -4612,6 +4749,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -4686,6 +4825,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -4756,6 +4897,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -4828,6 +4971,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -4901,6 +5046,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -4974,6 +5121,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -5048,6 +5197,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -5121,6 +5272,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -5193,6 +5346,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -5266,6 +5421,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() @@ -5338,6 +5495,8 @@ extension MgnClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgn") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSMigrationHub/Package.swift.txt b/Sources/Services/AWSMigrationHub/Package.swift.txt index 053b246ec7f..b3ceb135120 100644 --- a/Sources/Services/AWSMigrationHub/Package.swift.txt +++ b/Sources/Services/AWSMigrationHub/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSMigrationHub/Sources/AWSMigrationHub/MigrationHubClient.swift b/Sources/Services/AWSMigrationHub/Sources/AWSMigrationHub/MigrationHubClient.swift index f66f38c3d1f..f4c0d510b6a 100644 --- a/Sources/Services/AWSMigrationHub/Sources/AWSMigrationHub/MigrationHubClient.swift +++ b/Sources/Services/AWSMigrationHub/Sources/AWSMigrationHub/MigrationHubClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MigrationHubClient: ClientRuntime.Client { public static let clientName = "MigrationHubClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: MigrationHubClient.MigrationHubClientConfiguration let serviceName = "Migration Hub" @@ -94,6 +95,8 @@ extension MigrationHubClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension MigrationHubClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension MigrationHubClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension MigrationHubClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension MigrationHubClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension MigrationHubClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension MigrationHubClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension MigrationHubClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension MigrationHubClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -381,6 +400,8 @@ extension MigrationHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgh") .withSigningRegion(value: config.signingRegion) .build() @@ -461,6 +482,8 @@ extension MigrationHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgh") .withSigningRegion(value: config.signingRegion) .build() @@ -539,6 +562,8 @@ extension MigrationHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgh") .withSigningRegion(value: config.signingRegion) .build() @@ -617,6 +642,8 @@ extension MigrationHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgh") .withSigningRegion(value: config.signingRegion) .build() @@ -706,6 +733,8 @@ extension MigrationHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgh") .withSigningRegion(value: config.signingRegion) .build() @@ -784,6 +813,8 @@ extension MigrationHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgh") .withSigningRegion(value: config.signingRegion) .build() @@ -861,6 +892,8 @@ extension MigrationHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgh") .withSigningRegion(value: config.signingRegion) .build() @@ -946,6 +979,8 @@ extension MigrationHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgh") .withSigningRegion(value: config.signingRegion) .build() @@ -1025,6 +1060,8 @@ extension MigrationHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgh") .withSigningRegion(value: config.signingRegion) .build() @@ -1103,6 +1140,8 @@ extension MigrationHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgh") .withSigningRegion(value: config.signingRegion) .build() @@ -1182,6 +1221,8 @@ extension MigrationHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgh") .withSigningRegion(value: config.signingRegion) .build() @@ -1258,6 +1299,8 @@ extension MigrationHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgh") .withSigningRegion(value: config.signingRegion) .build() @@ -1341,6 +1384,8 @@ extension MigrationHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgh") .withSigningRegion(value: config.signingRegion) .build() @@ -1418,6 +1463,8 @@ extension MigrationHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgh") .withSigningRegion(value: config.signingRegion) .build() @@ -1494,6 +1541,8 @@ extension MigrationHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgh") .withSigningRegion(value: config.signingRegion) .build() @@ -1578,6 +1627,8 @@ extension MigrationHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgh") .withSigningRegion(value: config.signingRegion) .build() @@ -1654,6 +1705,8 @@ extension MigrationHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgh") .withSigningRegion(value: config.signingRegion) .build() @@ -1730,6 +1783,8 @@ extension MigrationHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgh") .withSigningRegion(value: config.signingRegion) .build() @@ -1810,6 +1865,8 @@ extension MigrationHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgh") .withSigningRegion(value: config.signingRegion) .build() @@ -1895,6 +1952,8 @@ extension MigrationHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgh") .withSigningRegion(value: config.signingRegion) .build() @@ -1981,6 +2040,8 @@ extension MigrationHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgh") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSMigrationHubConfig/Package.swift.txt b/Sources/Services/AWSMigrationHubConfig/Package.swift.txt index bda90e1794d..ce82cfef557 100644 --- a/Sources/Services/AWSMigrationHubConfig/Package.swift.txt +++ b/Sources/Services/AWSMigrationHubConfig/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSMigrationHubConfig/Sources/AWSMigrationHubConfig/MigrationHubConfigClient.swift b/Sources/Services/AWSMigrationHubConfig/Sources/AWSMigrationHubConfig/MigrationHubConfigClient.swift index dc46916fcd8..cc7ae52bb5f 100644 --- a/Sources/Services/AWSMigrationHubConfig/Sources/AWSMigrationHubConfig/MigrationHubConfigClient.swift +++ b/Sources/Services/AWSMigrationHubConfig/Sources/AWSMigrationHubConfig/MigrationHubConfigClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MigrationHubConfigClient: ClientRuntime.Client { public static let clientName = "MigrationHubConfigClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: MigrationHubConfigClient.MigrationHubConfigClientConfiguration let serviceName = "MigrationHub Config" @@ -93,6 +94,8 @@ extension MigrationHubConfigClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension MigrationHubConfigClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension MigrationHubConfigClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension MigrationHubConfigClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension MigrationHubConfigClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension MigrationHubConfigClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension MigrationHubConfigClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension MigrationHubConfigClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension MigrationHubConfigClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension MigrationHubConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgh") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension MigrationHubConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgh") .withSigningRegion(value: config.signingRegion) .build() @@ -521,6 +544,8 @@ extension MigrationHubConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgh") .withSigningRegion(value: config.signingRegion) .build() @@ -596,6 +621,8 @@ extension MigrationHubConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mgh") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSMigrationHubOrchestrator/Package.swift.txt b/Sources/Services/AWSMigrationHubOrchestrator/Package.swift.txt index 7aaae681fb4..6d9dd9d927e 100644 --- a/Sources/Services/AWSMigrationHubOrchestrator/Package.swift.txt +++ b/Sources/Services/AWSMigrationHubOrchestrator/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSMigrationHubOrchestrator/Sources/AWSMigrationHubOrchestrator/MigrationHubOrchestratorClient.swift b/Sources/Services/AWSMigrationHubOrchestrator/Sources/AWSMigrationHubOrchestrator/MigrationHubOrchestratorClient.swift index 4d6f4695908..51394949e96 100644 --- a/Sources/Services/AWSMigrationHubOrchestrator/Sources/AWSMigrationHubOrchestrator/MigrationHubOrchestratorClient.swift +++ b/Sources/Services/AWSMigrationHubOrchestrator/Sources/AWSMigrationHubOrchestrator/MigrationHubOrchestratorClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MigrationHubOrchestratorClient: ClientRuntime.Client { public static let clientName = "MigrationHubOrchestratorClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: MigrationHubOrchestratorClient.MigrationHubOrchestratorClientConfiguration let serviceName = "MigrationHubOrchestrator" @@ -95,6 +96,8 @@ extension MigrationHubOrchestratorClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension MigrationHubOrchestratorClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension MigrationHubOrchestratorClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension MigrationHubOrchestratorClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension MigrationHubOrchestratorClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension MigrationHubOrchestratorClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension MigrationHubOrchestratorClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension MigrationHubOrchestratorClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension MigrationHubOrchestratorClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension MigrationHubOrchestratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-orchestrator") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension MigrationHubOrchestratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-orchestrator") .withSigningRegion(value: config.signingRegion) .build() @@ -519,6 +542,8 @@ extension MigrationHubOrchestratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-orchestrator") .withSigningRegion(value: config.signingRegion) .build() @@ -592,6 +617,8 @@ extension MigrationHubOrchestratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-orchestrator") .withSigningRegion(value: config.signingRegion) .build() @@ -666,6 +693,8 @@ extension MigrationHubOrchestratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-orchestrator") .withSigningRegion(value: config.signingRegion) .build() @@ -737,6 +766,8 @@ extension MigrationHubOrchestratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-orchestrator") .withSigningRegion(value: config.signingRegion) .build() @@ -808,6 +839,8 @@ extension MigrationHubOrchestratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-orchestrator") .withSigningRegion(value: config.signingRegion) .build() @@ -880,6 +913,8 @@ extension MigrationHubOrchestratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-orchestrator") .withSigningRegion(value: config.signingRegion) .build() @@ -951,6 +986,8 @@ extension MigrationHubOrchestratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-orchestrator") .withSigningRegion(value: config.signingRegion) .build() @@ -1022,6 +1059,8 @@ extension MigrationHubOrchestratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-orchestrator") .withSigningRegion(value: config.signingRegion) .build() @@ -1094,6 +1133,8 @@ extension MigrationHubOrchestratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-orchestrator") .withSigningRegion(value: config.signingRegion) .build() @@ -1165,6 +1206,8 @@ extension MigrationHubOrchestratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-orchestrator") .withSigningRegion(value: config.signingRegion) .build() @@ -1235,6 +1278,8 @@ extension MigrationHubOrchestratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-orchestrator") .withSigningRegion(value: config.signingRegion) .build() @@ -1307,6 +1352,8 @@ extension MigrationHubOrchestratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-orchestrator") .withSigningRegion(value: config.signingRegion) .build() @@ -1377,6 +1424,8 @@ extension MigrationHubOrchestratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-orchestrator") .withSigningRegion(value: config.signingRegion) .build() @@ -1446,6 +1495,8 @@ extension MigrationHubOrchestratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-orchestrator") .withSigningRegion(value: config.signingRegion) .build() @@ -1516,6 +1567,8 @@ extension MigrationHubOrchestratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-orchestrator") .withSigningRegion(value: config.signingRegion) .build() @@ -1588,6 +1641,8 @@ extension MigrationHubOrchestratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-orchestrator") .withSigningRegion(value: config.signingRegion) .build() @@ -1658,6 +1713,8 @@ extension MigrationHubOrchestratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-orchestrator") .withSigningRegion(value: config.signingRegion) .build() @@ -1730,6 +1787,8 @@ extension MigrationHubOrchestratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-orchestrator") .withSigningRegion(value: config.signingRegion) .build() @@ -1801,6 +1860,8 @@ extension MigrationHubOrchestratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-orchestrator") .withSigningRegion(value: config.signingRegion) .build() @@ -1873,6 +1934,8 @@ extension MigrationHubOrchestratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-orchestrator") .withSigningRegion(value: config.signingRegion) .build() @@ -1944,6 +2007,8 @@ extension MigrationHubOrchestratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-orchestrator") .withSigningRegion(value: config.signingRegion) .build() @@ -2016,6 +2081,8 @@ extension MigrationHubOrchestratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-orchestrator") .withSigningRegion(value: config.signingRegion) .build() @@ -2087,6 +2154,8 @@ extension MigrationHubOrchestratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-orchestrator") .withSigningRegion(value: config.signingRegion) .build() @@ -2155,6 +2224,8 @@ extension MigrationHubOrchestratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-orchestrator") .withSigningRegion(value: config.signingRegion) .build() @@ -2226,6 +2297,8 @@ extension MigrationHubOrchestratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-orchestrator") .withSigningRegion(value: config.signingRegion) .build() @@ -2298,6 +2371,8 @@ extension MigrationHubOrchestratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-orchestrator") .withSigningRegion(value: config.signingRegion) .build() @@ -2373,6 +2448,8 @@ extension MigrationHubOrchestratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-orchestrator") .withSigningRegion(value: config.signingRegion) .build() @@ -2446,6 +2523,8 @@ extension MigrationHubOrchestratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-orchestrator") .withSigningRegion(value: config.signingRegion) .build() @@ -2520,6 +2599,8 @@ extension MigrationHubOrchestratorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-orchestrator") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSMigrationHubRefactorSpaces/Package.swift.txt b/Sources/Services/AWSMigrationHubRefactorSpaces/Package.swift.txt index a815163accf..05286267002 100644 --- a/Sources/Services/AWSMigrationHubRefactorSpaces/Package.swift.txt +++ b/Sources/Services/AWSMigrationHubRefactorSpaces/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSMigrationHubRefactorSpaces/Sources/AWSMigrationHubRefactorSpaces/MigrationHubRefactorSpacesClient.swift b/Sources/Services/AWSMigrationHubRefactorSpaces/Sources/AWSMigrationHubRefactorSpaces/MigrationHubRefactorSpacesClient.swift index 471d3e15f29..8f458e3c18a 100644 --- a/Sources/Services/AWSMigrationHubRefactorSpaces/Sources/AWSMigrationHubRefactorSpaces/MigrationHubRefactorSpacesClient.swift +++ b/Sources/Services/AWSMigrationHubRefactorSpaces/Sources/AWSMigrationHubRefactorSpaces/MigrationHubRefactorSpacesClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MigrationHubRefactorSpacesClient: ClientRuntime.Client { public static let clientName = "MigrationHubRefactorSpacesClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: MigrationHubRefactorSpacesClient.MigrationHubRefactorSpacesClientConfiguration let serviceName = "Migration Hub Refactor Spaces" @@ -95,6 +96,8 @@ extension MigrationHubRefactorSpacesClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension MigrationHubRefactorSpacesClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension MigrationHubRefactorSpacesClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension MigrationHubRefactorSpacesClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension MigrationHubRefactorSpacesClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension MigrationHubRefactorSpacesClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension MigrationHubRefactorSpacesClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension MigrationHubRefactorSpacesClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension MigrationHubRefactorSpacesClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension MigrationHubRefactorSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "refactor-spaces") .withSigningRegion(value: config.signingRegion) .build() @@ -451,6 +472,8 @@ extension MigrationHubRefactorSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "refactor-spaces") .withSigningRegion(value: config.signingRegion) .build() @@ -535,6 +558,8 @@ extension MigrationHubRefactorSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "refactor-spaces") .withSigningRegion(value: config.signingRegion) .build() @@ -612,6 +637,8 @@ extension MigrationHubRefactorSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "refactor-spaces") .withSigningRegion(value: config.signingRegion) .build() @@ -688,6 +715,8 @@ extension MigrationHubRefactorSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "refactor-spaces") .withSigningRegion(value: config.signingRegion) .build() @@ -760,6 +789,8 @@ extension MigrationHubRefactorSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "refactor-spaces") .withSigningRegion(value: config.signingRegion) .build() @@ -831,6 +862,8 @@ extension MigrationHubRefactorSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "refactor-spaces") .withSigningRegion(value: config.signingRegion) .build() @@ -903,6 +936,8 @@ extension MigrationHubRefactorSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "refactor-spaces") .withSigningRegion(value: config.signingRegion) .build() @@ -975,6 +1010,8 @@ extension MigrationHubRefactorSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "refactor-spaces") .withSigningRegion(value: config.signingRegion) .build() @@ -1046,6 +1083,8 @@ extension MigrationHubRefactorSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "refactor-spaces") .withSigningRegion(value: config.signingRegion) .build() @@ -1117,6 +1156,8 @@ extension MigrationHubRefactorSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "refactor-spaces") .withSigningRegion(value: config.signingRegion) .build() @@ -1188,6 +1229,8 @@ extension MigrationHubRefactorSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "refactor-spaces") .withSigningRegion(value: config.signingRegion) .build() @@ -1259,6 +1302,8 @@ extension MigrationHubRefactorSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "refactor-spaces") .withSigningRegion(value: config.signingRegion) .build() @@ -1330,6 +1375,8 @@ extension MigrationHubRefactorSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "refactor-spaces") .withSigningRegion(value: config.signingRegion) .build() @@ -1403,6 +1450,8 @@ extension MigrationHubRefactorSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "refactor-spaces") .withSigningRegion(value: config.signingRegion) .build() @@ -1475,6 +1524,8 @@ extension MigrationHubRefactorSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "refactor-spaces") .withSigningRegion(value: config.signingRegion) .build() @@ -1547,6 +1598,8 @@ extension MigrationHubRefactorSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "refactor-spaces") .withSigningRegion(value: config.signingRegion) .build() @@ -1621,6 +1674,8 @@ extension MigrationHubRefactorSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "refactor-spaces") .withSigningRegion(value: config.signingRegion) .build() @@ -1695,6 +1750,8 @@ extension MigrationHubRefactorSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "refactor-spaces") .withSigningRegion(value: config.signingRegion) .build() @@ -1765,6 +1822,8 @@ extension MigrationHubRefactorSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "refactor-spaces") .withSigningRegion(value: config.signingRegion) .build() @@ -1837,6 +1896,8 @@ extension MigrationHubRefactorSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "refactor-spaces") .withSigningRegion(value: config.signingRegion) .build() @@ -1909,6 +1970,8 @@ extension MigrationHubRefactorSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "refactor-spaces") .withSigningRegion(value: config.signingRegion) .build() @@ -1981,6 +2044,8 @@ extension MigrationHubRefactorSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "refactor-spaces") .withSigningRegion(value: config.signingRegion) .build() @@ -2053,6 +2118,8 @@ extension MigrationHubRefactorSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "refactor-spaces") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSMigrationHubStrategy/Package.swift.txt b/Sources/Services/AWSMigrationHubStrategy/Package.swift.txt index 9e4524c2603..73b57e3327c 100644 --- a/Sources/Services/AWSMigrationHubStrategy/Package.swift.txt +++ b/Sources/Services/AWSMigrationHubStrategy/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSMigrationHubStrategy/Sources/AWSMigrationHubStrategy/MigrationHubStrategyClient.swift b/Sources/Services/AWSMigrationHubStrategy/Sources/AWSMigrationHubStrategy/MigrationHubStrategyClient.swift index 6b1e6397590..d7e6632c70e 100644 --- a/Sources/Services/AWSMigrationHubStrategy/Sources/AWSMigrationHubStrategy/MigrationHubStrategyClient.swift +++ b/Sources/Services/AWSMigrationHubStrategy/Sources/AWSMigrationHubStrategy/MigrationHubStrategyClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MigrationHubStrategyClient: ClientRuntime.Client { public static let clientName = "MigrationHubStrategyClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: MigrationHubStrategyClient.MigrationHubStrategyClientConfiguration let serviceName = "MigrationHubStrategy" @@ -94,6 +95,8 @@ extension MigrationHubStrategyClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension MigrationHubStrategyClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension MigrationHubStrategyClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension MigrationHubStrategyClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension MigrationHubStrategyClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension MigrationHubStrategyClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension MigrationHubStrategyClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension MigrationHubStrategyClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension MigrationHubStrategyClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -369,6 +388,8 @@ extension MigrationHubStrategyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-strategy") .withSigningRegion(value: config.signingRegion) .build() @@ -438,6 +459,8 @@ extension MigrationHubStrategyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-strategy") .withSigningRegion(value: config.signingRegion) .build() @@ -508,6 +531,8 @@ extension MigrationHubStrategyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-strategy") .withSigningRegion(value: config.signingRegion) .build() @@ -579,6 +604,8 @@ extension MigrationHubStrategyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-strategy") .withSigningRegion(value: config.signingRegion) .build() @@ -649,6 +676,8 @@ extension MigrationHubStrategyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-strategy") .withSigningRegion(value: config.signingRegion) .build() @@ -719,6 +748,8 @@ extension MigrationHubStrategyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-strategy") .withSigningRegion(value: config.signingRegion) .build() @@ -788,6 +819,8 @@ extension MigrationHubStrategyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-strategy") .withSigningRegion(value: config.signingRegion) .build() @@ -859,6 +892,8 @@ extension MigrationHubStrategyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-strategy") .withSigningRegion(value: config.signingRegion) .build() @@ -930,6 +965,8 @@ extension MigrationHubStrategyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-strategy") .withSigningRegion(value: config.signingRegion) .build() @@ -1002,6 +1039,8 @@ extension MigrationHubStrategyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-strategy") .withSigningRegion(value: config.signingRegion) .build() @@ -1072,6 +1111,8 @@ extension MigrationHubStrategyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-strategy") .withSigningRegion(value: config.signingRegion) .build() @@ -1145,6 +1186,8 @@ extension MigrationHubStrategyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-strategy") .withSigningRegion(value: config.signingRegion) .build() @@ -1218,6 +1261,8 @@ extension MigrationHubStrategyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-strategy") .withSigningRegion(value: config.signingRegion) .build() @@ -1289,6 +1334,8 @@ extension MigrationHubStrategyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-strategy") .withSigningRegion(value: config.signingRegion) .build() @@ -1360,6 +1407,8 @@ extension MigrationHubStrategyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-strategy") .withSigningRegion(value: config.signingRegion) .build() @@ -1434,6 +1483,8 @@ extension MigrationHubStrategyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-strategy") .withSigningRegion(value: config.signingRegion) .build() @@ -1507,6 +1558,8 @@ extension MigrationHubStrategyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-strategy") .withSigningRegion(value: config.signingRegion) .build() @@ -1581,6 +1634,8 @@ extension MigrationHubStrategyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-strategy") .withSigningRegion(value: config.signingRegion) .build() @@ -1655,6 +1710,8 @@ extension MigrationHubStrategyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-strategy") .withSigningRegion(value: config.signingRegion) .build() @@ -1728,6 +1785,8 @@ extension MigrationHubStrategyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-strategy") .withSigningRegion(value: config.signingRegion) .build() @@ -1801,6 +1860,8 @@ extension MigrationHubStrategyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-strategy") .withSigningRegion(value: config.signingRegion) .build() @@ -1874,6 +1935,8 @@ extension MigrationHubStrategyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "migrationhub-strategy") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSMq/Package.swift.txt b/Sources/Services/AWSMq/Package.swift.txt index f07d2c8b4cb..564e65af01f 100644 --- a/Sources/Services/AWSMq/Package.swift.txt +++ b/Sources/Services/AWSMq/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSMq/Sources/AWSMq/MqClient.swift b/Sources/Services/AWSMq/Sources/AWSMq/MqClient.swift index 8908f3bd949..5645ab2700d 100644 --- a/Sources/Services/AWSMq/Sources/AWSMq/MqClient.swift +++ b/Sources/Services/AWSMq/Sources/AWSMq/MqClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class MqClient: ClientRuntime.Client { public static let clientName = "MqClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: MqClient.MqClientConfiguration let serviceName = "mq" @@ -95,6 +96,8 @@ extension MqClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension MqClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension MqClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension MqClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension MqClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension MqClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension MqClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension MqClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension MqClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -399,6 +418,8 @@ extension MqClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mq") .withSigningRegion(value: config.signingRegion) .build() @@ -473,6 +494,8 @@ extension MqClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mq") .withSigningRegion(value: config.signingRegion) .build() @@ -546,6 +569,8 @@ extension MqClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mq") .withSigningRegion(value: config.signingRegion) .build() @@ -620,6 +645,8 @@ extension MqClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mq") .withSigningRegion(value: config.signingRegion) .build() @@ -693,6 +720,8 @@ extension MqClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mq") .withSigningRegion(value: config.signingRegion) .build() @@ -763,6 +792,8 @@ extension MqClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mq") .withSigningRegion(value: config.signingRegion) .build() @@ -834,6 +865,8 @@ extension MqClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mq") .withSigningRegion(value: config.signingRegion) .build() @@ -904,6 +937,8 @@ extension MqClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mq") .withSigningRegion(value: config.signingRegion) .build() @@ -973,6 +1008,8 @@ extension MqClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mq") .withSigningRegion(value: config.signingRegion) .build() @@ -1043,6 +1080,8 @@ extension MqClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mq") .withSigningRegion(value: config.signingRegion) .build() @@ -1114,6 +1153,8 @@ extension MqClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mq") .withSigningRegion(value: config.signingRegion) .build() @@ -1184,6 +1225,8 @@ extension MqClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mq") .withSigningRegion(value: config.signingRegion) .build() @@ -1254,6 +1297,8 @@ extension MqClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mq") .withSigningRegion(value: config.signingRegion) .build() @@ -1323,6 +1368,8 @@ extension MqClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mq") .withSigningRegion(value: config.signingRegion) .build() @@ -1394,6 +1441,8 @@ extension MqClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mq") .withSigningRegion(value: config.signingRegion) .build() @@ -1464,6 +1513,8 @@ extension MqClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mq") .withSigningRegion(value: config.signingRegion) .build() @@ -1535,6 +1586,8 @@ extension MqClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mq") .withSigningRegion(value: config.signingRegion) .build() @@ -1605,6 +1658,8 @@ extension MqClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mq") .withSigningRegion(value: config.signingRegion) .build() @@ -1676,6 +1731,8 @@ extension MqClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mq") .withSigningRegion(value: config.signingRegion) .build() @@ -1749,6 +1806,8 @@ extension MqClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mq") .withSigningRegion(value: config.signingRegion) .build() @@ -1820,6 +1879,8 @@ extension MqClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mq") .withSigningRegion(value: config.signingRegion) .build() @@ -1894,6 +1955,8 @@ extension MqClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mq") .withSigningRegion(value: config.signingRegion) .build() @@ -1968,6 +2031,8 @@ extension MqClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mq") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSNeptune/Package.swift.txt b/Sources/Services/AWSNeptune/Package.swift.txt index f6eec2e6b94..61704f503b8 100644 --- a/Sources/Services/AWSNeptune/Package.swift.txt +++ b/Sources/Services/AWSNeptune/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSNeptune/Sources/AWSNeptune/NeptuneClient.swift b/Sources/Services/AWSNeptune/Sources/AWSNeptune/NeptuneClient.swift index 36050df50b3..44c7cddf69f 100644 --- a/Sources/Services/AWSNeptune/Sources/AWSNeptune/NeptuneClient.swift +++ b/Sources/Services/AWSNeptune/Sources/AWSNeptune/NeptuneClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPRequest import class SmithyHTTPAPI.HTTPResponse import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class NeptuneClient: ClientRuntime.Client { public static let clientName = "NeptuneClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: NeptuneClient.NeptuneClientConfiguration let serviceName = "Neptune" @@ -93,6 +94,8 @@ extension NeptuneClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension NeptuneClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension NeptuneClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension NeptuneClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension NeptuneClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension NeptuneClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension NeptuneClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension NeptuneClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension NeptuneClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -369,6 +388,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -440,6 +461,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -512,6 +535,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -582,6 +607,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -654,6 +681,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -729,6 +758,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -801,6 +832,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -887,6 +920,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -973,6 +1008,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1044,6 +1081,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1118,6 +1157,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1205,6 +1246,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1276,6 +1319,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1350,6 +1395,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1426,6 +1473,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1499,6 +1548,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1573,6 +1624,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1656,6 +1709,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1727,6 +1782,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1798,6 +1855,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1872,6 +1931,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1943,6 +2004,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2015,6 +2078,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2086,6 +2151,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2157,6 +2224,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2227,6 +2296,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2297,6 +2368,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2367,6 +2440,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2437,6 +2512,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2507,6 +2584,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2577,6 +2656,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2642,6 +2723,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2712,6 +2795,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2782,6 +2867,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2852,6 +2939,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2922,6 +3011,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2987,6 +3078,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3052,6 +3145,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3117,6 +3212,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3187,6 +3284,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3252,6 +3351,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3322,6 +3423,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3387,6 +3490,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3457,6 +3562,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3528,6 +3635,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3600,6 +3709,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3673,6 +3784,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3745,6 +3858,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3826,6 +3941,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3911,6 +4028,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3982,6 +4101,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -4054,6 +4175,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -4139,6 +4262,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -4210,6 +4335,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -4284,6 +4411,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -4359,6 +4488,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -4430,6 +4561,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -4501,6 +4634,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -4572,6 +4707,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -4644,6 +4781,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -4716,6 +4855,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -4787,6 +4928,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -4859,6 +5002,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -4930,6 +5075,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -5001,6 +5148,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -5086,6 +5235,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -5172,6 +5323,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -5244,6 +5397,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -5316,6 +5471,8 @@ extension NeptuneClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSNeptuneGraph/Package.swift.txt b/Sources/Services/AWSNeptuneGraph/Package.swift.txt index a9477a71bdb..a41dc29c9f7 100644 --- a/Sources/Services/AWSNeptuneGraph/Package.swift.txt +++ b/Sources/Services/AWSNeptuneGraph/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSNeptuneGraph/Sources/AWSNeptuneGraph/NeptuneGraphClient.swift b/Sources/Services/AWSNeptuneGraph/Sources/AWSNeptuneGraph/NeptuneGraphClient.swift index ea0c9b7be8a..b4bace1d2c2 100644 --- a/Sources/Services/AWSNeptuneGraph/Sources/AWSNeptuneGraph/NeptuneGraphClient.swift +++ b/Sources/Services/AWSNeptuneGraph/Sources/AWSNeptuneGraph/NeptuneGraphClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -67,7 +68,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class NeptuneGraphClient: ClientRuntime.Client { public static let clientName = "NeptuneGraphClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: NeptuneGraphClient.NeptuneGraphClientConfiguration let serviceName = "Neptune Graph" @@ -97,6 +98,8 @@ extension NeptuneGraphClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -122,6 +125,8 @@ extension NeptuneGraphClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -145,6 +150,8 @@ extension NeptuneGraphClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -171,6 +178,8 @@ extension NeptuneGraphClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -195,6 +204,8 @@ extension NeptuneGraphClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -221,6 +232,8 @@ extension NeptuneGraphClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -245,6 +258,8 @@ extension NeptuneGraphClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -272,6 +287,8 @@ extension NeptuneGraphClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -299,6 +316,8 @@ extension NeptuneGraphClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension NeptuneGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-graph") .withSigningRegion(value: config.signingRegion) .build() @@ -445,6 +466,8 @@ extension NeptuneGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-graph") .withSigningRegion(value: config.signingRegion) .build() @@ -516,6 +539,8 @@ extension NeptuneGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-graph") .withSigningRegion(value: config.signingRegion) .build() @@ -588,6 +613,8 @@ extension NeptuneGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-graph") .withSigningRegion(value: config.signingRegion) .build() @@ -663,6 +690,8 @@ extension NeptuneGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-graph") .withSigningRegion(value: config.signingRegion) .build() @@ -737,6 +766,8 @@ extension NeptuneGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-graph") .withSigningRegion(value: config.signingRegion) .build() @@ -812,6 +843,8 @@ extension NeptuneGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-graph") .withSigningRegion(value: config.signingRegion) .build() @@ -886,6 +919,8 @@ extension NeptuneGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-graph") .withSigningRegion(value: config.signingRegion) .build() @@ -958,6 +993,8 @@ extension NeptuneGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-graph") .withSigningRegion(value: config.signingRegion) .build() @@ -1029,6 +1066,8 @@ extension NeptuneGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-graph") .withSigningRegion(value: config.signingRegion) .build() @@ -1107,6 +1146,8 @@ extension NeptuneGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-graph") .withSigningRegion(value: config.signingRegion) .build() @@ -1181,6 +1222,8 @@ extension NeptuneGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-graph") .withSigningRegion(value: config.signingRegion) .build() @@ -1251,6 +1294,8 @@ extension NeptuneGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-graph") .withSigningRegion(value: config.signingRegion) .build() @@ -1321,6 +1366,8 @@ extension NeptuneGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-graph") .withSigningRegion(value: config.signingRegion) .build() @@ -1392,6 +1439,8 @@ extension NeptuneGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-graph") .withSigningRegion(value: config.signingRegion) .build() @@ -1464,6 +1513,8 @@ extension NeptuneGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-graph") .withSigningRegion(value: config.signingRegion) .build() @@ -1534,6 +1585,8 @@ extension NeptuneGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-graph") .withSigningRegion(value: config.signingRegion) .build() @@ -1605,6 +1658,8 @@ extension NeptuneGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-graph") .withSigningRegion(value: config.signingRegion) .build() @@ -1676,6 +1731,8 @@ extension NeptuneGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-graph") .withSigningRegion(value: config.signingRegion) .build() @@ -1747,6 +1804,8 @@ extension NeptuneGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-graph") .withSigningRegion(value: config.signingRegion) .build() @@ -1817,6 +1876,8 @@ extension NeptuneGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-graph") .withSigningRegion(value: config.signingRegion) .build() @@ -1888,6 +1949,8 @@ extension NeptuneGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-graph") .withSigningRegion(value: config.signingRegion) .build() @@ -1959,6 +2022,8 @@ extension NeptuneGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-graph") .withSigningRegion(value: config.signingRegion) .build() @@ -2030,6 +2095,8 @@ extension NeptuneGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-graph") .withSigningRegion(value: config.signingRegion) .build() @@ -2102,6 +2169,8 @@ extension NeptuneGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-graph") .withSigningRegion(value: config.signingRegion) .build() @@ -2173,6 +2242,8 @@ extension NeptuneGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-graph") .withSigningRegion(value: config.signingRegion) .build() @@ -2248,6 +2319,8 @@ extension NeptuneGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-graph") .withSigningRegion(value: config.signingRegion) .build() @@ -2322,6 +2395,8 @@ extension NeptuneGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-graph") .withSigningRegion(value: config.signingRegion) .build() @@ -2396,6 +2471,8 @@ extension NeptuneGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-graph") .withSigningRegion(value: config.signingRegion) .build() @@ -2469,6 +2546,8 @@ extension NeptuneGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-graph") .withSigningRegion(value: config.signingRegion) .build() @@ -2542,6 +2621,8 @@ extension NeptuneGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-graph") .withSigningRegion(value: config.signingRegion) .build() @@ -2614,6 +2695,8 @@ extension NeptuneGraphClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-graph") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSNeptunedata/Package.swift.txt b/Sources/Services/AWSNeptunedata/Package.swift.txt index 806f3531ff0..e212ef94f26 100644 --- a/Sources/Services/AWSNeptunedata/Package.swift.txt +++ b/Sources/Services/AWSNeptunedata/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSNeptunedata/Sources/AWSNeptunedata/NeptunedataClient.swift b/Sources/Services/AWSNeptunedata/Sources/AWSNeptunedata/NeptunedataClient.swift index 0903eeabe05..abca0032784 100644 --- a/Sources/Services/AWSNeptunedata/Sources/AWSNeptunedata/NeptunedataClient.swift +++ b/Sources/Services/AWSNeptunedata/Sources/AWSNeptunedata/NeptunedataClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -66,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class NeptunedataClient: ClientRuntime.Client { public static let clientName = "NeptunedataClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: NeptunedataClient.NeptunedataClientConfiguration let serviceName = "neptunedata" @@ -96,6 +97,8 @@ extension NeptunedataClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -121,6 +124,8 @@ extension NeptunedataClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -144,6 +149,8 @@ extension NeptunedataClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -170,6 +177,8 @@ extension NeptunedataClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -194,6 +203,8 @@ extension NeptunedataClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -220,6 +231,8 @@ extension NeptunedataClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -244,6 +257,8 @@ extension NeptunedataClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -271,6 +286,8 @@ extension NeptunedataClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -298,6 +315,8 @@ extension NeptunedataClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -382,6 +401,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -461,6 +482,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -538,6 +561,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -616,6 +641,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -694,6 +721,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -776,6 +805,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -854,6 +885,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -934,6 +967,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -1014,6 +1049,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -1093,6 +1130,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -1172,6 +1211,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -1270,6 +1311,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -1359,6 +1402,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -1457,6 +1502,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -1548,6 +1595,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -1647,6 +1696,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -1724,6 +1775,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -1806,6 +1859,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -1885,6 +1940,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -1963,6 +2020,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -2041,6 +2100,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -2119,6 +2180,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -2197,6 +2260,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -2281,6 +2346,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -2360,6 +2427,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -2445,6 +2514,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -2526,6 +2597,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -2606,6 +2679,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -2686,6 +2761,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -2764,6 +2841,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -2848,6 +2927,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -2927,6 +3008,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -3005,6 +3088,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -3083,6 +3168,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -3161,6 +3248,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -3239,6 +3328,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -3323,6 +3414,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -3403,6 +3496,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -3485,6 +3580,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -3568,6 +3665,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -3648,6 +3747,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -3728,6 +3829,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() @@ -3808,6 +3911,8 @@ extension NeptunedataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "neptune-db") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSNetworkFirewall/Package.swift.txt b/Sources/Services/AWSNetworkFirewall/Package.swift.txt index 51661ae387e..537f857bbc4 100644 --- a/Sources/Services/AWSNetworkFirewall/Package.swift.txt +++ b/Sources/Services/AWSNetworkFirewall/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSNetworkFirewall/Sources/AWSNetworkFirewall/NetworkFirewallClient.swift b/Sources/Services/AWSNetworkFirewall/Sources/AWSNetworkFirewall/NetworkFirewallClient.swift index 8bcb542a496..82413457220 100644 --- a/Sources/Services/AWSNetworkFirewall/Sources/AWSNetworkFirewall/NetworkFirewallClient.swift +++ b/Sources/Services/AWSNetworkFirewall/Sources/AWSNetworkFirewall/NetworkFirewallClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class NetworkFirewallClient: ClientRuntime.Client { public static let clientName = "NetworkFirewallClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: NetworkFirewallClient.NetworkFirewallClientConfiguration let serviceName = "Network Firewall" @@ -94,6 +95,8 @@ extension NetworkFirewallClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension NetworkFirewallClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension NetworkFirewallClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension NetworkFirewallClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension NetworkFirewallClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension NetworkFirewallClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension NetworkFirewallClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension NetworkFirewallClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension NetworkFirewallClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -378,6 +397,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() @@ -461,6 +482,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() @@ -543,6 +566,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() @@ -624,6 +649,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() @@ -705,6 +732,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() @@ -786,6 +815,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() @@ -868,6 +899,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() @@ -950,6 +983,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() @@ -1031,6 +1066,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() @@ -1113,6 +1150,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() @@ -1194,6 +1233,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() @@ -1274,6 +1315,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() @@ -1354,6 +1397,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() @@ -1434,6 +1479,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() @@ -1514,6 +1561,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() @@ -1594,6 +1643,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() @@ -1674,6 +1725,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() @@ -1754,6 +1807,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() @@ -1836,6 +1891,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() @@ -1915,6 +1972,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() @@ -1994,6 +2053,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() @@ -2073,6 +2134,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() @@ -2152,6 +2215,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() @@ -2232,6 +2297,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() @@ -2320,6 +2387,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() @@ -2400,6 +2469,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() @@ -2480,6 +2551,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() @@ -2562,6 +2635,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() @@ -2643,6 +2718,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() @@ -2725,6 +2802,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() @@ -2806,6 +2885,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() @@ -2888,6 +2969,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() @@ -2979,6 +3062,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() @@ -3060,6 +3145,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() @@ -3142,6 +3229,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() @@ -3223,6 +3312,8 @@ extension NetworkFirewallClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "network-firewall") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSNetworkFlowMonitor/Package.swift.txt b/Sources/Services/AWSNetworkFlowMonitor/Package.swift.txt index f0b8ee668b9..6ea9746e82f 100644 --- a/Sources/Services/AWSNetworkFlowMonitor/Package.swift.txt +++ b/Sources/Services/AWSNetworkFlowMonitor/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSNetworkFlowMonitor/Sources/AWSNetworkFlowMonitor/NetworkFlowMonitorClient.swift b/Sources/Services/AWSNetworkFlowMonitor/Sources/AWSNetworkFlowMonitor/NetworkFlowMonitorClient.swift index 4297bdd064e..4a94660782e 100644 --- a/Sources/Services/AWSNetworkFlowMonitor/Sources/AWSNetworkFlowMonitor/NetworkFlowMonitorClient.swift +++ b/Sources/Services/AWSNetworkFlowMonitor/Sources/AWSNetworkFlowMonitor/NetworkFlowMonitorClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class NetworkFlowMonitorClient: ClientRuntime.Client { public static let clientName = "NetworkFlowMonitorClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: NetworkFlowMonitorClient.NetworkFlowMonitorClientConfiguration let serviceName = "NetworkFlowMonitor" @@ -95,6 +96,8 @@ extension NetworkFlowMonitorClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension NetworkFlowMonitorClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension NetworkFlowMonitorClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension NetworkFlowMonitorClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension NetworkFlowMonitorClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension NetworkFlowMonitorClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension NetworkFlowMonitorClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension NetworkFlowMonitorClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension NetworkFlowMonitorClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension NetworkFlowMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkflowmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -449,6 +470,8 @@ extension NetworkFlowMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkflowmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -524,6 +547,8 @@ extension NetworkFlowMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkflowmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -595,6 +620,8 @@ extension NetworkFlowMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkflowmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -666,6 +693,8 @@ extension NetworkFlowMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkflowmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -738,6 +767,8 @@ extension NetworkFlowMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkflowmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -811,6 +842,8 @@ extension NetworkFlowMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkflowmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -884,6 +917,8 @@ extension NetworkFlowMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkflowmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -956,6 +991,8 @@ extension NetworkFlowMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkflowmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -1027,6 +1064,8 @@ extension NetworkFlowMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkflowmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -1098,6 +1137,8 @@ extension NetworkFlowMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkflowmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -1169,6 +1210,8 @@ extension NetworkFlowMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkflowmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -1239,6 +1282,8 @@ extension NetworkFlowMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkflowmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -1311,6 +1356,8 @@ extension NetworkFlowMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkflowmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -1384,6 +1431,8 @@ extension NetworkFlowMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkflowmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -1455,6 +1504,8 @@ extension NetworkFlowMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkflowmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -1529,6 +1580,8 @@ extension NetworkFlowMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkflowmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -1603,6 +1656,8 @@ extension NetworkFlowMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkflowmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -1677,6 +1732,8 @@ extension NetworkFlowMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkflowmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -1748,6 +1805,8 @@ extension NetworkFlowMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkflowmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -1819,6 +1878,8 @@ extension NetworkFlowMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkflowmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -1891,6 +1952,8 @@ extension NetworkFlowMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkflowmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -1966,6 +2029,8 @@ extension NetworkFlowMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkflowmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -2038,6 +2103,8 @@ extension NetworkFlowMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkflowmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -2113,6 +2180,8 @@ extension NetworkFlowMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkflowmonitor") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSNetworkManager/Package.swift.txt b/Sources/Services/AWSNetworkManager/Package.swift.txt index 14c6b15cb4c..6a3c93c9392 100644 --- a/Sources/Services/AWSNetworkManager/Package.swift.txt +++ b/Sources/Services/AWSNetworkManager/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSNetworkManager/Sources/AWSNetworkManager/NetworkManagerClient.swift b/Sources/Services/AWSNetworkManager/Sources/AWSNetworkManager/NetworkManagerClient.swift index f568ab82751..60fbb0f3220 100644 --- a/Sources/Services/AWSNetworkManager/Sources/AWSNetworkManager/NetworkManagerClient.swift +++ b/Sources/Services/AWSNetworkManager/Sources/AWSNetworkManager/NetworkManagerClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class NetworkManagerClient: ClientRuntime.Client { public static let clientName = "NetworkManagerClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: NetworkManagerClient.NetworkManagerClientConfiguration let serviceName = "NetworkManager" @@ -95,6 +96,8 @@ extension NetworkManagerClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension NetworkManagerClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension NetworkManagerClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension NetworkManagerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension NetworkManagerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension NetworkManagerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension NetworkManagerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension NetworkManagerClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension NetworkManagerClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -522,6 +545,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -598,6 +623,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -674,6 +701,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -749,6 +778,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -825,6 +856,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -901,6 +934,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -977,6 +1012,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1054,6 +1091,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1129,6 +1168,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1205,6 +1246,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1281,6 +1324,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1357,6 +1402,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1432,6 +1479,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1508,6 +1557,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1584,6 +1635,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1660,6 +1713,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1736,6 +1791,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1808,6 +1865,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1880,6 +1939,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1952,6 +2013,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -2024,6 +2087,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -2096,6 +2161,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -2168,6 +2235,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -2240,6 +2309,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -2312,6 +2383,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -2383,6 +2456,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -2455,6 +2530,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -2527,6 +2604,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -2598,6 +2677,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -2671,6 +2752,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -2743,6 +2826,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -2815,6 +2900,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -2888,6 +2975,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -2960,6 +3049,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -3031,6 +3122,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -3102,6 +3195,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -3174,6 +3269,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -3246,6 +3343,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -3318,6 +3417,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -3389,6 +3490,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -3461,6 +3564,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -3533,6 +3638,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -3606,6 +3713,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -3678,6 +3787,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -3750,6 +3861,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -3821,6 +3934,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -3893,6 +4008,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -3964,6 +4081,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -4036,6 +4155,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -4108,6 +4229,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -4180,6 +4303,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -4254,6 +4379,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -4325,6 +4452,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -4396,6 +4525,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -4467,6 +4598,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -4538,6 +4671,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -4611,6 +4746,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -4683,6 +4820,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -4754,6 +4893,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -4826,6 +4967,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -4897,6 +5040,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -4967,6 +5112,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -5038,6 +5185,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -5110,6 +5259,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -5181,6 +5332,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -5244,6 +5397,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -5315,6 +5470,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -5387,6 +5544,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -5460,6 +5619,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -5536,6 +5697,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -5611,6 +5774,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -5686,6 +5851,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -5758,6 +5925,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -5830,6 +5999,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -5905,6 +6076,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -5981,6 +6154,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -6056,6 +6231,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -6129,6 +6306,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -6204,6 +6383,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -6279,6 +6460,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -6354,6 +6537,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -6429,6 +6614,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -6505,6 +6692,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -6580,6 +6769,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -6655,6 +6846,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -6730,6 +6923,8 @@ extension NetworkManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmanager") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSNetworkMonitor/Package.swift.txt b/Sources/Services/AWSNetworkMonitor/Package.swift.txt index 16091a1705e..85303e865dc 100644 --- a/Sources/Services/AWSNetworkMonitor/Package.swift.txt +++ b/Sources/Services/AWSNetworkMonitor/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSNetworkMonitor/Sources/AWSNetworkMonitor/NetworkMonitorClient.swift b/Sources/Services/AWSNetworkMonitor/Sources/AWSNetworkMonitor/NetworkMonitorClient.swift index c8340832b03..d66e469e439 100644 --- a/Sources/Services/AWSNetworkMonitor/Sources/AWSNetworkMonitor/NetworkMonitorClient.swift +++ b/Sources/Services/AWSNetworkMonitor/Sources/AWSNetworkMonitor/NetworkMonitorClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class NetworkMonitorClient: ClientRuntime.Client { public static let clientName = "NetworkMonitorClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: NetworkMonitorClient.NetworkMonitorClientConfiguration let serviceName = "NetworkMonitor" @@ -95,6 +96,8 @@ extension NetworkMonitorClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension NetworkMonitorClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension NetworkMonitorClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension NetworkMonitorClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension NetworkMonitorClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension NetworkMonitorClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension NetworkMonitorClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension NetworkMonitorClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension NetworkMonitorClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -385,6 +404,8 @@ extension NetworkMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -461,6 +482,8 @@ extension NetworkMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -536,6 +559,8 @@ extension NetworkMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -608,6 +633,8 @@ extension NetworkMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -679,6 +706,8 @@ extension NetworkMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -750,6 +779,8 @@ extension NetworkMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -820,6 +851,8 @@ extension NetworkMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -893,6 +926,8 @@ extension NetworkMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -965,6 +1000,8 @@ extension NetworkMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -1040,6 +1077,8 @@ extension NetworkMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -1113,6 +1152,8 @@ extension NetworkMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmonitor") .withSigningRegion(value: config.signingRegion) .build() @@ -1200,6 +1241,8 @@ extension NetworkMonitorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "networkmonitor") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSNotifications/Package.swift.txt b/Sources/Services/AWSNotifications/Package.swift.txt index 5835dfb344b..bc0d3bdba6d 100644 --- a/Sources/Services/AWSNotifications/Package.swift.txt +++ b/Sources/Services/AWSNotifications/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSNotifications/Sources/AWSNotifications/NotificationsClient.swift b/Sources/Services/AWSNotifications/Sources/AWSNotifications/NotificationsClient.swift index 144ed319ddf..7b0af035a7c 100644 --- a/Sources/Services/AWSNotifications/Sources/AWSNotifications/NotificationsClient.swift +++ b/Sources/Services/AWSNotifications/Sources/AWSNotifications/NotificationsClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class NotificationsClient: ClientRuntime.Client { public static let clientName = "NotificationsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: NotificationsClient.NotificationsClientConfiguration let serviceName = "Notifications" @@ -94,6 +95,8 @@ extension NotificationsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension NotificationsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension NotificationsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension NotificationsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension NotificationsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension NotificationsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension NotificationsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension NotificationsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension NotificationsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension NotificationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "notifications") .withSigningRegion(value: config.signingRegion) .build() @@ -449,6 +470,8 @@ extension NotificationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "notifications") .withSigningRegion(value: config.signingRegion) .build() @@ -524,6 +547,8 @@ extension NotificationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "notifications") .withSigningRegion(value: config.signingRegion) .build() @@ -599,6 +624,8 @@ extension NotificationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "notifications") .withSigningRegion(value: config.signingRegion) .build() @@ -671,6 +698,8 @@ extension NotificationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "notifications") .withSigningRegion(value: config.signingRegion) .build() @@ -743,6 +772,8 @@ extension NotificationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "notifications") .withSigningRegion(value: config.signingRegion) .build() @@ -814,6 +845,8 @@ extension NotificationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "notifications") .withSigningRegion(value: config.signingRegion) .build() @@ -888,6 +921,8 @@ extension NotificationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "notifications") .withSigningRegion(value: config.signingRegion) .build() @@ -959,6 +994,8 @@ extension NotificationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "notifications") .withSigningRegion(value: config.signingRegion) .build() @@ -1030,6 +1067,8 @@ extension NotificationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "notifications") .withSigningRegion(value: config.signingRegion) .build() @@ -1102,6 +1141,8 @@ extension NotificationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "notifications") .withSigningRegion(value: config.signingRegion) .build() @@ -1174,6 +1215,8 @@ extension NotificationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "notifications") .withSigningRegion(value: config.signingRegion) .build() @@ -1245,6 +1288,8 @@ extension NotificationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "notifications") .withSigningRegion(value: config.signingRegion) .build() @@ -1316,6 +1361,8 @@ extension NotificationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "notifications") .withSigningRegion(value: config.signingRegion) .build() @@ -1387,6 +1434,8 @@ extension NotificationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "notifications") .withSigningRegion(value: config.signingRegion) .build() @@ -1459,6 +1508,8 @@ extension NotificationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "notifications") .withSigningRegion(value: config.signingRegion) .build() @@ -1531,6 +1582,8 @@ extension NotificationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "notifications") .withSigningRegion(value: config.signingRegion) .build() @@ -1605,6 +1658,8 @@ extension NotificationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "notifications") .withSigningRegion(value: config.signingRegion) .build() @@ -1679,6 +1734,8 @@ extension NotificationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "notifications") .withSigningRegion(value: config.signingRegion) .build() @@ -1752,6 +1809,8 @@ extension NotificationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "notifications") .withSigningRegion(value: config.signingRegion) .build() @@ -1827,6 +1886,8 @@ extension NotificationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "notifications") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSNotificationsContacts/Package.swift.txt b/Sources/Services/AWSNotificationsContacts/Package.swift.txt index e6ada8f24dd..d9649474dc8 100644 --- a/Sources/Services/AWSNotificationsContacts/Package.swift.txt +++ b/Sources/Services/AWSNotificationsContacts/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSNotificationsContacts/Sources/AWSNotificationsContacts/NotificationsContactsClient.swift b/Sources/Services/AWSNotificationsContacts/Sources/AWSNotificationsContacts/NotificationsContactsClient.swift index d8d33b0a82b..14c0878d472 100644 --- a/Sources/Services/AWSNotificationsContacts/Sources/AWSNotificationsContacts/NotificationsContactsClient.swift +++ b/Sources/Services/AWSNotificationsContacts/Sources/AWSNotificationsContacts/NotificationsContactsClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class NotificationsContactsClient: ClientRuntime.Client { public static let clientName = "NotificationsContactsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: NotificationsContactsClient.NotificationsContactsClientConfiguration let serviceName = "NotificationsContacts" @@ -93,6 +94,8 @@ extension NotificationsContactsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension NotificationsContactsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension NotificationsContactsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension NotificationsContactsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension NotificationsContactsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension NotificationsContactsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension NotificationsContactsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension NotificationsContactsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension NotificationsContactsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension NotificationsContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "notifications-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -443,6 +464,8 @@ extension NotificationsContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "notifications-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -518,6 +541,8 @@ extension NotificationsContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "notifications-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -589,6 +614,8 @@ extension NotificationsContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "notifications-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -659,6 +686,8 @@ extension NotificationsContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "notifications-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -731,6 +760,8 @@ extension NotificationsContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "notifications-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -803,6 +834,8 @@ extension NotificationsContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "notifications-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -874,6 +907,8 @@ extension NotificationsContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "notifications-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -948,6 +983,8 @@ extension NotificationsContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "notifications-contacts") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSOAM/Package.swift.txt b/Sources/Services/AWSOAM/Package.swift.txt index e34eeadd7e2..0aebca91522 100644 --- a/Sources/Services/AWSOAM/Package.swift.txt +++ b/Sources/Services/AWSOAM/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSOAM/Sources/AWSOAM/OAMClient.swift b/Sources/Services/AWSOAM/Sources/AWSOAM/OAMClient.swift index fb501413ad3..2e0f1b6f4fe 100644 --- a/Sources/Services/AWSOAM/Sources/AWSOAM/OAMClient.swift +++ b/Sources/Services/AWSOAM/Sources/AWSOAM/OAMClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OAMClient: ClientRuntime.Client { public static let clientName = "OAMClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: OAMClient.OAMClientConfiguration let serviceName = "OAM" @@ -93,6 +94,8 @@ extension OAMClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension OAMClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension OAMClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension OAMClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension OAMClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension OAMClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension OAMClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension OAMClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension OAMClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension OAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "oam") .withSigningRegion(value: config.signingRegion) .build() @@ -444,6 +465,8 @@ extension OAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "oam") .withSigningRegion(value: config.signingRegion) .build() @@ -517,6 +540,8 @@ extension OAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "oam") .withSigningRegion(value: config.signingRegion) .build() @@ -591,6 +616,8 @@ extension OAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "oam") .withSigningRegion(value: config.signingRegion) .build() @@ -664,6 +691,8 @@ extension OAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "oam") .withSigningRegion(value: config.signingRegion) .build() @@ -737,6 +766,8 @@ extension OAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "oam") .withSigningRegion(value: config.signingRegion) .build() @@ -810,6 +841,8 @@ extension OAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "oam") .withSigningRegion(value: config.signingRegion) .build() @@ -883,6 +916,8 @@ extension OAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "oam") .withSigningRegion(value: config.signingRegion) .build() @@ -955,6 +990,8 @@ extension OAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "oam") .withSigningRegion(value: config.signingRegion) .build() @@ -1027,6 +1064,8 @@ extension OAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "oam") .withSigningRegion(value: config.signingRegion) .build() @@ -1098,6 +1137,8 @@ extension OAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "oam") .withSigningRegion(value: config.signingRegion) .build() @@ -1179,6 +1220,8 @@ extension OAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "oam") .withSigningRegion(value: config.signingRegion) .build() @@ -1251,6 +1294,8 @@ extension OAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "oam") .withSigningRegion(value: config.signingRegion) .build() @@ -1322,6 +1367,8 @@ extension OAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "oam") .withSigningRegion(value: config.signingRegion) .build() @@ -1393,6 +1440,8 @@ extension OAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "oam") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSOSIS/Package.swift.txt b/Sources/Services/AWSOSIS/Package.swift.txt index 408ff0ace19..3fd25ad214b 100644 --- a/Sources/Services/AWSOSIS/Package.swift.txt +++ b/Sources/Services/AWSOSIS/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSOSIS/Sources/AWSOSIS/OSISClient.swift b/Sources/Services/AWSOSIS/Sources/AWSOSIS/OSISClient.swift index 770cfdc6222..a44432aed74 100644 --- a/Sources/Services/AWSOSIS/Sources/AWSOSIS/OSISClient.swift +++ b/Sources/Services/AWSOSIS/Sources/AWSOSIS/OSISClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OSISClient: ClientRuntime.Client { public static let clientName = "OSISClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: OSISClient.OSISClientConfiguration let serviceName = "OSIS" @@ -93,6 +94,8 @@ extension OSISClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension OSISClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension OSISClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension OSISClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension OSISClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension OSISClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension OSISClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension OSISClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension OSISClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension OSISClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "osis") .withSigningRegion(value: config.signingRegion) .build() @@ -447,6 +468,8 @@ extension OSISClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "osis") .withSigningRegion(value: config.signingRegion) .build() @@ -518,6 +541,8 @@ extension OSISClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "osis") .withSigningRegion(value: config.signingRegion) .build() @@ -589,6 +614,8 @@ extension OSISClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "osis") .withSigningRegion(value: config.signingRegion) .build() @@ -661,6 +688,8 @@ extension OSISClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "osis") .withSigningRegion(value: config.signingRegion) .build() @@ -732,6 +761,8 @@ extension OSISClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "osis") .withSigningRegion(value: config.signingRegion) .build() @@ -803,6 +834,8 @@ extension OSISClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "osis") .withSigningRegion(value: config.signingRegion) .build() @@ -875,6 +908,8 @@ extension OSISClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "osis") .withSigningRegion(value: config.signingRegion) .build() @@ -948,6 +983,8 @@ extension OSISClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "osis") .withSigningRegion(value: config.signingRegion) .build() @@ -1020,6 +1057,8 @@ extension OSISClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "osis") .withSigningRegion(value: config.signingRegion) .build() @@ -1092,6 +1131,8 @@ extension OSISClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "osis") .withSigningRegion(value: config.signingRegion) .build() @@ -1167,6 +1208,8 @@ extension OSISClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "osis") .withSigningRegion(value: config.signingRegion) .build() @@ -1243,6 +1286,8 @@ extension OSISClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "osis") .withSigningRegion(value: config.signingRegion) .build() @@ -1316,6 +1361,8 @@ extension OSISClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "osis") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSObservabilityAdmin/Package.swift.txt b/Sources/Services/AWSObservabilityAdmin/Package.swift.txt index 1209304ad5b..b3c181ef1bd 100644 --- a/Sources/Services/AWSObservabilityAdmin/Package.swift.txt +++ b/Sources/Services/AWSObservabilityAdmin/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSObservabilityAdmin/Sources/AWSObservabilityAdmin/ObservabilityAdminClient.swift b/Sources/Services/AWSObservabilityAdmin/Sources/AWSObservabilityAdmin/ObservabilityAdminClient.swift index 250defd1bbb..b78a72902fa 100644 --- a/Sources/Services/AWSObservabilityAdmin/Sources/AWSObservabilityAdmin/ObservabilityAdminClient.swift +++ b/Sources/Services/AWSObservabilityAdmin/Sources/AWSObservabilityAdmin/ObservabilityAdminClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -62,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ObservabilityAdminClient: ClientRuntime.Client { public static let clientName = "ObservabilityAdminClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ObservabilityAdminClient.ObservabilityAdminClientConfiguration let serviceName = "ObservabilityAdmin" @@ -92,6 +93,8 @@ extension ObservabilityAdminClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -117,6 +120,8 @@ extension ObservabilityAdminClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -140,6 +145,8 @@ extension ObservabilityAdminClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -166,6 +173,8 @@ extension ObservabilityAdminClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -190,6 +199,8 @@ extension ObservabilityAdminClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -216,6 +227,8 @@ extension ObservabilityAdminClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -240,6 +253,8 @@ extension ObservabilityAdminClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -267,6 +282,8 @@ extension ObservabilityAdminClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -294,6 +311,8 @@ extension ObservabilityAdminClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -366,6 +385,8 @@ extension ObservabilityAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "observabilityadmin") .withSigningRegion(value: config.signingRegion) .build() @@ -435,6 +456,8 @@ extension ObservabilityAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "observabilityadmin") .withSigningRegion(value: config.signingRegion) .build() @@ -504,6 +527,8 @@ extension ObservabilityAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "observabilityadmin") .withSigningRegion(value: config.signingRegion) .build() @@ -576,6 +601,8 @@ extension ObservabilityAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "observabilityadmin") .withSigningRegion(value: config.signingRegion) .build() @@ -648,6 +675,8 @@ extension ObservabilityAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "observabilityadmin") .withSigningRegion(value: config.signingRegion) .build() @@ -717,6 +746,8 @@ extension ObservabilityAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "observabilityadmin") .withSigningRegion(value: config.signingRegion) .build() @@ -786,6 +817,8 @@ extension ObservabilityAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "observabilityadmin") .withSigningRegion(value: config.signingRegion) .build() @@ -855,6 +888,8 @@ extension ObservabilityAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "observabilityadmin") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSOmics/Package.swift.txt b/Sources/Services/AWSOmics/Package.swift.txt index c756af459f5..af6f07018c7 100644 --- a/Sources/Services/AWSOmics/Package.swift.txt +++ b/Sources/Services/AWSOmics/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSOmics/Sources/AWSOmics/OmicsClient.swift b/Sources/Services/AWSOmics/Sources/AWSOmics/OmicsClient.swift index 15314fe7ec5..462607f6e54 100644 --- a/Sources/Services/AWSOmics/Sources/AWSOmics/OmicsClient.swift +++ b/Sources/Services/AWSOmics/Sources/AWSOmics/OmicsClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -70,7 +71,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OmicsClient: ClientRuntime.Client { public static let clientName = "OmicsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: OmicsClient.OmicsClientConfiguration let serviceName = "Omics" @@ -100,6 +101,8 @@ extension OmicsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -125,6 +128,8 @@ extension OmicsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -148,6 +153,8 @@ extension OmicsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -174,6 +181,8 @@ extension OmicsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -198,6 +207,8 @@ extension OmicsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -224,6 +235,8 @@ extension OmicsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -248,6 +261,8 @@ extension OmicsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -275,6 +290,8 @@ extension OmicsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -302,6 +319,8 @@ extension OmicsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -380,6 +399,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -453,6 +474,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -525,6 +548,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -599,6 +624,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -673,6 +700,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -744,6 +773,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -818,6 +849,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -894,6 +927,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -970,6 +1005,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -1047,6 +1084,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -1122,6 +1161,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -1199,6 +1240,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -1277,6 +1320,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -1353,6 +1398,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -1436,6 +1483,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -1512,6 +1561,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -1589,6 +1640,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -1665,6 +1718,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -1738,6 +1793,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -1815,6 +1872,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -1888,6 +1947,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -1962,6 +2023,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -2036,6 +2099,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -2110,6 +2175,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -2183,6 +2250,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -2256,6 +2325,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -2329,6 +2400,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -2401,6 +2474,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -2476,6 +2551,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -2547,6 +2624,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -2618,6 +2697,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -2689,6 +2770,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -2763,6 +2846,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -2836,6 +2921,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -2908,6 +2995,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -2980,6 +3069,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -3052,6 +3143,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -3125,6 +3218,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -3199,6 +3294,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -3271,6 +3368,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -3343,6 +3442,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -3417,6 +3518,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -3492,6 +3595,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -3566,6 +3671,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -3640,6 +3747,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -3714,6 +3823,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -3786,6 +3897,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -3859,6 +3972,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -3930,6 +4045,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -4001,6 +4118,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -4075,6 +4194,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -4147,6 +4268,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -4222,6 +4345,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -4297,6 +4422,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -4375,6 +4502,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -4448,6 +4577,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -4524,6 +4655,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -4600,6 +4733,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -4678,6 +4813,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -4754,6 +4891,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -4830,6 +4969,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -4905,6 +5046,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -4981,6 +5124,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -5059,6 +5204,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -5134,6 +5281,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -5209,6 +5358,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -5284,6 +5435,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -5356,6 +5509,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -5433,6 +5588,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -5511,6 +5668,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -5582,6 +5741,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -5657,6 +5818,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -5735,6 +5898,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -5809,6 +5974,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -5884,6 +6051,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -5960,6 +6129,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -6036,6 +6207,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -6112,6 +6285,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -6188,6 +6363,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -6265,6 +6442,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -6341,6 +6520,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -6418,6 +6599,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -6495,6 +6678,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -6567,6 +6752,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -6641,6 +6828,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -6718,6 +6907,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -6795,6 +6986,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -6871,6 +7064,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -6946,6 +7141,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -7023,6 +7220,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() @@ -7100,6 +7299,8 @@ extension OmicsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "omics") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSOpenSearch/Package.swift.txt b/Sources/Services/AWSOpenSearch/Package.swift.txt index 3890e9e4712..b399ed6112f 100644 --- a/Sources/Services/AWSOpenSearch/Package.swift.txt +++ b/Sources/Services/AWSOpenSearch/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSOpenSearch/Sources/AWSOpenSearch/OpenSearchClient.swift b/Sources/Services/AWSOpenSearch/Sources/AWSOpenSearch/OpenSearchClient.swift index 3e01604ffe5..71b56cdf263 100644 --- a/Sources/Services/AWSOpenSearch/Sources/AWSOpenSearch/OpenSearchClient.swift +++ b/Sources/Services/AWSOpenSearch/Sources/AWSOpenSearch/OpenSearchClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OpenSearchClient: ClientRuntime.Client { public static let clientName = "OpenSearchClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: OpenSearchClient.OpenSearchClientConfiguration let serviceName = "OpenSearch" @@ -95,6 +96,8 @@ extension OpenSearchClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension OpenSearchClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension OpenSearchClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension OpenSearchClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension OpenSearchClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension OpenSearchClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension OpenSearchClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension OpenSearchClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension OpenSearchClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -443,6 +464,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -518,6 +541,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -591,6 +616,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -666,6 +693,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -741,6 +770,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -816,6 +847,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -890,6 +923,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -963,6 +998,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -1038,6 +1075,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -1115,6 +1154,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -1188,6 +1229,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -1264,6 +1307,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -1339,6 +1384,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -1415,6 +1462,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -1487,6 +1536,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -1558,6 +1609,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -1628,6 +1681,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -1696,6 +1751,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -1764,6 +1821,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -1836,6 +1895,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -1906,6 +1967,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -1976,6 +2039,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -2046,6 +2111,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -2119,6 +2186,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -2190,6 +2259,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -2261,6 +2332,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -2333,6 +2406,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -2402,6 +2477,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -2476,6 +2553,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -2545,6 +2624,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -2620,6 +2701,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -2689,6 +2772,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -2763,6 +2848,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -2836,6 +2923,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -2907,6 +2996,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -2978,6 +3069,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -3053,6 +3146,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -3125,6 +3220,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -3200,6 +3297,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -3271,6 +3370,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -3344,6 +3445,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -3415,6 +3518,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -3486,6 +3591,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -3558,6 +3665,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -3630,6 +3739,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -3702,6 +3813,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -3774,6 +3887,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -3847,6 +3962,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -3918,6 +4035,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -3990,6 +4109,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -4059,6 +4180,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -4131,6 +4254,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -4202,6 +4327,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -4274,6 +4401,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -4346,6 +4475,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -4417,6 +4548,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -4488,6 +4621,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -4559,6 +4694,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -4629,6 +4766,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -4700,6 +4839,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -4773,6 +4914,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -4844,6 +4987,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -4913,6 +5058,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -4987,6 +5134,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -5061,6 +5210,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -5134,6 +5285,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -5210,6 +5363,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -5285,6 +5440,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -5359,6 +5516,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -5434,6 +5593,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -5509,6 +5670,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -5583,6 +5746,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -5659,6 +5824,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -5734,6 +5901,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() @@ -5809,6 +5978,8 @@ extension OpenSearchClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "es") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSOpenSearchServerless/Package.swift.txt b/Sources/Services/AWSOpenSearchServerless/Package.swift.txt index 0b1fa1d350a..7f052048f84 100644 --- a/Sources/Services/AWSOpenSearchServerless/Package.swift.txt +++ b/Sources/Services/AWSOpenSearchServerless/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSOpenSearchServerless/Sources/AWSOpenSearchServerless/OpenSearchServerlessClient.swift b/Sources/Services/AWSOpenSearchServerless/Sources/AWSOpenSearchServerless/OpenSearchServerlessClient.swift index 4e8657fe4c0..1a320b81dee 100644 --- a/Sources/Services/AWSOpenSearchServerless/Sources/AWSOpenSearchServerless/OpenSearchServerlessClient.swift +++ b/Sources/Services/AWSOpenSearchServerless/Sources/AWSOpenSearchServerless/OpenSearchServerlessClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OpenSearchServerlessClient: ClientRuntime.Client { public static let clientName = "OpenSearchServerlessClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: OpenSearchServerlessClient.OpenSearchServerlessClientConfiguration let serviceName = "OpenSearchServerless" @@ -94,6 +95,8 @@ extension OpenSearchServerlessClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension OpenSearchServerlessClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension OpenSearchServerlessClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension OpenSearchServerlessClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension OpenSearchServerlessClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension OpenSearchServerlessClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension OpenSearchServerlessClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension OpenSearchServerlessClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension OpenSearchServerlessClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -368,6 +387,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -440,6 +461,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -512,6 +535,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -584,6 +609,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -658,6 +685,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -734,6 +763,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -809,6 +840,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -884,6 +917,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -959,6 +994,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -1034,6 +1071,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -1109,6 +1148,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -1184,6 +1225,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -1259,6 +1302,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -1334,6 +1379,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -1409,6 +1456,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -1484,6 +1533,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -1558,6 +1609,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -1630,6 +1683,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -1701,6 +1756,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -1774,6 +1831,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -1847,6 +1906,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -1919,6 +1980,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -1991,6 +2054,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -2063,6 +2128,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -2135,6 +2202,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -2207,6 +2276,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -2280,6 +2351,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -2352,6 +2425,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -2427,6 +2502,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -2501,6 +2578,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -2575,6 +2654,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -2648,6 +2729,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -2721,6 +2804,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -2797,6 +2882,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -2872,6 +2959,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -2948,6 +3037,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() @@ -3022,6 +3113,8 @@ extension OpenSearchServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "aoss") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSOpsWorks/Package.swift.txt b/Sources/Services/AWSOpsWorks/Package.swift.txt index c9e2a3f1436..3b4ae315a8d 100644 --- a/Sources/Services/AWSOpsWorks/Package.swift.txt +++ b/Sources/Services/AWSOpsWorks/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSOpsWorks/Sources/AWSOpsWorks/OpsWorksClient.swift b/Sources/Services/AWSOpsWorks/Sources/AWSOpsWorks/OpsWorksClient.swift index 9aba5fd50dc..75d8abced16 100644 --- a/Sources/Services/AWSOpsWorks/Sources/AWSOpsWorks/OpsWorksClient.swift +++ b/Sources/Services/AWSOpsWorks/Sources/AWSOpsWorks/OpsWorksClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OpsWorksClient: ClientRuntime.Client { public static let clientName = "OpsWorksClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: OpsWorksClient.OpsWorksClientConfiguration let serviceName = "OpsWorks" @@ -93,6 +94,8 @@ extension OpsWorksClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension OpsWorksClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension OpsWorksClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension OpsWorksClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension OpsWorksClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension OpsWorksClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension OpsWorksClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension OpsWorksClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension OpsWorksClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -376,6 +395,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -448,6 +469,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -520,6 +543,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -592,6 +617,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -664,6 +691,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -736,6 +765,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -808,6 +839,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -880,6 +913,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -952,6 +987,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -1023,6 +1060,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -1094,6 +1133,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -1166,6 +1207,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -1238,6 +1281,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -1310,6 +1355,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -1382,6 +1429,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -1454,6 +1503,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -1526,6 +1577,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -1598,6 +1651,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -1670,6 +1725,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -1742,6 +1799,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -1814,6 +1873,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -1886,6 +1947,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -1958,6 +2021,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -2030,6 +2095,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -2102,6 +2169,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -2174,6 +2243,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -2246,6 +2317,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -2318,6 +2391,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -2390,6 +2465,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -2462,6 +2539,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -2534,6 +2613,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -2600,6 +2681,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -2666,6 +2749,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -2738,6 +2823,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -2810,6 +2897,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -2882,6 +2971,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -2954,6 +3045,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -3026,6 +3119,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -3098,6 +3193,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -3170,6 +3267,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -3242,6 +3341,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -3314,6 +3415,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -3386,6 +3489,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -3457,6 +3562,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -3529,6 +3636,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -3601,6 +3710,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -3673,6 +3784,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -3745,6 +3858,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -3817,6 +3932,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -3889,6 +4006,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -3961,6 +4080,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -4033,6 +4154,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -4105,6 +4228,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -4177,6 +4302,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -4249,6 +4376,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -4321,6 +4450,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -4393,6 +4524,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -4465,6 +4598,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -4537,6 +4672,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -4609,6 +4746,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -4681,6 +4820,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -4753,6 +4894,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -4825,6 +4968,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -4897,6 +5042,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -4969,6 +5116,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -5041,6 +5190,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -5113,6 +5264,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -5185,6 +5338,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -5257,6 +5412,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -5328,6 +5485,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -5400,6 +5559,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -5472,6 +5633,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -5544,6 +5707,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() @@ -5616,6 +5781,8 @@ extension OpsWorksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSOpsWorksCM/Package.swift.txt b/Sources/Services/AWSOpsWorksCM/Package.swift.txt index c2a27e815f0..b0610227ad2 100644 --- a/Sources/Services/AWSOpsWorksCM/Package.swift.txt +++ b/Sources/Services/AWSOpsWorksCM/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSOpsWorksCM/Sources/AWSOpsWorksCM/OpsWorksCMClient.swift b/Sources/Services/AWSOpsWorksCM/Sources/AWSOpsWorksCM/OpsWorksCMClient.swift index 89af87a96e5..0c6f275553d 100644 --- a/Sources/Services/AWSOpsWorksCM/Sources/AWSOpsWorksCM/OpsWorksCMClient.swift +++ b/Sources/Services/AWSOpsWorksCM/Sources/AWSOpsWorksCM/OpsWorksCMClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OpsWorksCMClient: ClientRuntime.Client { public static let clientName = "OpsWorksCMClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: OpsWorksCMClient.OpsWorksCMClientConfiguration let serviceName = "OpsWorksCM" @@ -93,6 +94,8 @@ extension OpsWorksCMClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension OpsWorksCMClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension OpsWorksCMClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension OpsWorksCMClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension OpsWorksCMClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension OpsWorksCMClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension OpsWorksCMClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension OpsWorksCMClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension OpsWorksCMClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -368,6 +387,8 @@ extension OpsWorksCMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks-cm") .withSigningRegion(value: config.signingRegion) .build() @@ -442,6 +463,8 @@ extension OpsWorksCMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks-cm") .withSigningRegion(value: config.signingRegion) .build() @@ -516,6 +539,8 @@ extension OpsWorksCMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks-cm") .withSigningRegion(value: config.signingRegion) .build() @@ -589,6 +614,8 @@ extension OpsWorksCMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks-cm") .withSigningRegion(value: config.signingRegion) .build() @@ -662,6 +689,8 @@ extension OpsWorksCMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks-cm") .withSigningRegion(value: config.signingRegion) .build() @@ -728,6 +757,8 @@ extension OpsWorksCMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks-cm") .withSigningRegion(value: config.signingRegion) .build() @@ -801,6 +832,8 @@ extension OpsWorksCMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks-cm") .withSigningRegion(value: config.signingRegion) .build() @@ -874,6 +907,8 @@ extension OpsWorksCMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks-cm") .withSigningRegion(value: config.signingRegion) .build() @@ -946,6 +981,8 @@ extension OpsWorksCMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks-cm") .withSigningRegion(value: config.signingRegion) .build() @@ -1019,6 +1056,8 @@ extension OpsWorksCMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks-cm") .withSigningRegion(value: config.signingRegion) .build() @@ -1092,6 +1131,8 @@ extension OpsWorksCMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks-cm") .withSigningRegion(value: config.signingRegion) .build() @@ -1165,6 +1206,8 @@ extension OpsWorksCMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks-cm") .withSigningRegion(value: config.signingRegion) .build() @@ -1237,6 +1280,8 @@ extension OpsWorksCMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks-cm") .withSigningRegion(value: config.signingRegion) .build() @@ -1310,6 +1355,8 @@ extension OpsWorksCMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks-cm") .withSigningRegion(value: config.signingRegion) .build() @@ -1383,6 +1430,8 @@ extension OpsWorksCMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks-cm") .withSigningRegion(value: config.signingRegion) .build() @@ -1456,6 +1505,8 @@ extension OpsWorksCMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks-cm") .withSigningRegion(value: config.signingRegion) .build() @@ -1529,6 +1580,8 @@ extension OpsWorksCMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks-cm") .withSigningRegion(value: config.signingRegion) .build() @@ -1602,6 +1655,8 @@ extension OpsWorksCMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks-cm") .withSigningRegion(value: config.signingRegion) .build() @@ -1675,6 +1730,8 @@ extension OpsWorksCMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "opsworks-cm") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSOrganizations/Package.swift.txt b/Sources/Services/AWSOrganizations/Package.swift.txt index 3865c4f5392..9264143c504 100644 --- a/Sources/Services/AWSOrganizations/Package.swift.txt +++ b/Sources/Services/AWSOrganizations/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSOrganizations/Sources/AWSOrganizations/OrganizationsClient.swift b/Sources/Services/AWSOrganizations/Sources/AWSOrganizations/OrganizationsClient.swift index 6e53db771b3..7e603768555 100644 --- a/Sources/Services/AWSOrganizations/Sources/AWSOrganizations/OrganizationsClient.swift +++ b/Sources/Services/AWSOrganizations/Sources/AWSOrganizations/OrganizationsClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OrganizationsClient: ClientRuntime.Client { public static let clientName = "OrganizationsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: OrganizationsClient.OrganizationsClientConfiguration let serviceName = "Organizations" @@ -93,6 +94,8 @@ extension OrganizationsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension OrganizationsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension OrganizationsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension OrganizationsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension OrganizationsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension OrganizationsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension OrganizationsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension OrganizationsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension OrganizationsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -453,6 +472,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -675,6 +696,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -805,6 +828,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -1021,6 +1046,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -1240,6 +1267,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -1477,6 +1506,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -1677,6 +1708,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -1878,6 +1911,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -2081,6 +2116,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -2211,6 +2248,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -2340,6 +2379,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -2470,6 +2511,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -2601,6 +2644,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -2749,6 +2794,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -2951,6 +2998,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -3079,6 +3128,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -3208,6 +3259,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -3409,6 +3462,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -3537,6 +3592,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -3612,6 +3669,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -3740,6 +3799,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -3869,6 +3930,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -4016,6 +4079,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -4220,6 +4285,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -4429,6 +4496,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -4632,6 +4701,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -4832,6 +4903,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -5050,6 +5123,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -5254,6 +5329,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -5482,6 +5559,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -5706,6 +5785,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -5905,6 +5986,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -6032,6 +6115,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -6160,6 +6245,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -6288,6 +6375,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -6416,6 +6505,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -6615,6 +6706,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -6816,6 +6909,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -6943,6 +7038,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -7071,6 +7168,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -7199,6 +7298,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -7327,6 +7428,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -7455,6 +7558,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -7584,6 +7689,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -7711,6 +7818,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -7850,6 +7959,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -7979,6 +8090,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -8111,6 +8224,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -8311,6 +8426,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -8513,6 +8630,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -8720,6 +8839,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -8931,6 +9052,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -9142,6 +9265,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -9272,6 +9397,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() @@ -9476,6 +9603,8 @@ extension OrganizationsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "organizations") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSOutposts/Package.swift.txt b/Sources/Services/AWSOutposts/Package.swift.txt index 9db42a00e45..26eac858b8f 100644 --- a/Sources/Services/AWSOutposts/Package.swift.txt +++ b/Sources/Services/AWSOutposts/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSOutposts/Sources/AWSOutposts/OutpostsClient.swift b/Sources/Services/AWSOutposts/Sources/AWSOutposts/OutpostsClient.swift index 35276811814..602ad11088f 100644 --- a/Sources/Services/AWSOutposts/Sources/AWSOutposts/OutpostsClient.swift +++ b/Sources/Services/AWSOutposts/Sources/AWSOutposts/OutpostsClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class OutpostsClient: ClientRuntime.Client { public static let clientName = "OutpostsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: OutpostsClient.OutpostsClientConfiguration let serviceName = "Outposts" @@ -94,6 +95,8 @@ extension OutpostsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension OutpostsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension OutpostsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension OutpostsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension OutpostsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension OutpostsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension OutpostsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension OutpostsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension OutpostsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -442,6 +463,8 @@ extension OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -514,6 +537,8 @@ extension OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -589,6 +614,8 @@ extension OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -663,6 +690,8 @@ extension OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -737,6 +766,8 @@ extension OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -808,6 +839,8 @@ extension OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -878,6 +911,8 @@ extension OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -947,6 +982,8 @@ extension OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -1017,6 +1054,8 @@ extension OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -1086,6 +1125,8 @@ extension OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -1156,6 +1197,8 @@ extension OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -1226,6 +1269,8 @@ extension OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -1297,6 +1342,8 @@ extension OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -1368,6 +1415,8 @@ extension OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -1438,6 +1487,8 @@ extension OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -1509,6 +1560,8 @@ extension OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -1580,6 +1633,8 @@ extension OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -1651,6 +1706,8 @@ extension OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -1722,6 +1779,8 @@ extension OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -1792,6 +1851,8 @@ extension OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -1863,6 +1924,8 @@ extension OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -1933,6 +1996,8 @@ extension OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -2003,6 +2068,8 @@ extension OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -2073,6 +2140,8 @@ extension OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -2144,6 +2213,8 @@ extension OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -2217,6 +2288,8 @@ extension OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -2289,6 +2362,8 @@ extension OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -2361,6 +2436,8 @@ extension OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -2433,6 +2510,8 @@ extension OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -2507,6 +2586,8 @@ extension OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -2581,6 +2662,8 @@ extension OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -2655,6 +2738,8 @@ extension OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "outposts") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSPCS/Package.swift.txt b/Sources/Services/AWSPCS/Package.swift.txt index fda997fc26d..b323df3cdaf 100644 --- a/Sources/Services/AWSPCS/Package.swift.txt +++ b/Sources/Services/AWSPCS/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSPCS/Sources/AWSPCS/PCSClient.swift b/Sources/Services/AWSPCS/Sources/AWSPCS/PCSClient.swift index b79ceca56ff..a4e5a80526d 100644 --- a/Sources/Services/AWSPCS/Sources/AWSPCS/PCSClient.swift +++ b/Sources/Services/AWSPCS/Sources/AWSPCS/PCSClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PCSClient: ClientRuntime.Client { public static let clientName = "PCSClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: PCSClient.PCSClientConfiguration let serviceName = "PCS" @@ -94,6 +95,8 @@ extension PCSClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension PCSClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension PCSClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension PCSClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension PCSClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension PCSClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension PCSClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension PCSClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension PCSClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -402,6 +421,8 @@ extension PCSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pcs") .withSigningRegion(value: config.signingRegion) .build() @@ -510,6 +531,8 @@ extension PCSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pcs") .withSigningRegion(value: config.signingRegion) .build() @@ -618,6 +641,8 @@ extension PCSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pcs") .withSigningRegion(value: config.signingRegion) .build() @@ -719,6 +744,8 @@ extension PCSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pcs") .withSigningRegion(value: config.signingRegion) .build() @@ -820,6 +847,8 @@ extension PCSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pcs") .withSigningRegion(value: config.signingRegion) .build() @@ -921,6 +950,8 @@ extension PCSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pcs") .withSigningRegion(value: config.signingRegion) .build() @@ -1022,6 +1053,8 @@ extension PCSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pcs") .withSigningRegion(value: config.signingRegion) .build() @@ -1122,6 +1155,8 @@ extension PCSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pcs") .withSigningRegion(value: config.signingRegion) .build() @@ -1222,6 +1257,8 @@ extension PCSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pcs") .withSigningRegion(value: config.signingRegion) .build() @@ -1322,6 +1359,8 @@ extension PCSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pcs") .withSigningRegion(value: config.signingRegion) .build() @@ -1422,6 +1461,8 @@ extension PCSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pcs") .withSigningRegion(value: config.signingRegion) .build() @@ -1522,6 +1563,8 @@ extension PCSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pcs") .withSigningRegion(value: config.signingRegion) .build() @@ -1593,6 +1636,8 @@ extension PCSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pcs") .withSigningRegion(value: config.signingRegion) .build() @@ -1673,6 +1718,8 @@ extension PCSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pcs") .withSigningRegion(value: config.signingRegion) .build() @@ -1744,6 +1791,8 @@ extension PCSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pcs") .withSigningRegion(value: config.signingRegion) .build() @@ -1815,6 +1864,8 @@ extension PCSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pcs") .withSigningRegion(value: config.signingRegion) .build() @@ -1922,6 +1973,8 @@ extension PCSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pcs") .withSigningRegion(value: config.signingRegion) .build() @@ -2030,6 +2083,8 @@ extension PCSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pcs") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSPI/Package.swift.txt b/Sources/Services/AWSPI/Package.swift.txt index f2febf0e98c..2f9e1f0dffd 100644 --- a/Sources/Services/AWSPI/Package.swift.txt +++ b/Sources/Services/AWSPI/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSPI/Sources/AWSPI/PIClient.swift b/Sources/Services/AWSPI/Sources/AWSPI/PIClient.swift index ddf6207f151..c1ee4184066 100644 --- a/Sources/Services/AWSPI/Sources/AWSPI/PIClient.swift +++ b/Sources/Services/AWSPI/Sources/AWSPI/PIClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PIClient: ClientRuntime.Client { public static let clientName = "PIClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: PIClient.PIClientConfiguration let serviceName = "PI" @@ -94,6 +95,8 @@ extension PIClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension PIClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension PIClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension PIClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension PIClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension PIClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension PIClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension PIClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension PIClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -369,6 +388,8 @@ extension PIClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pi") .withSigningRegion(value: config.signingRegion) .build() @@ -442,6 +463,8 @@ extension PIClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pi") .withSigningRegion(value: config.signingRegion) .build() @@ -515,6 +538,8 @@ extension PIClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pi") .withSigningRegion(value: config.signingRegion) .build() @@ -588,6 +613,8 @@ extension PIClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pi") .withSigningRegion(value: config.signingRegion) .build() @@ -661,6 +688,8 @@ extension PIClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pi") .withSigningRegion(value: config.signingRegion) .build() @@ -734,6 +763,8 @@ extension PIClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pi") .withSigningRegion(value: config.signingRegion) .build() @@ -807,6 +838,8 @@ extension PIClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pi") .withSigningRegion(value: config.signingRegion) .build() @@ -880,6 +913,8 @@ extension PIClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pi") .withSigningRegion(value: config.signingRegion) .build() @@ -953,6 +988,8 @@ extension PIClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pi") .withSigningRegion(value: config.signingRegion) .build() @@ -1026,6 +1063,8 @@ extension PIClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pi") .withSigningRegion(value: config.signingRegion) .build() @@ -1099,6 +1138,8 @@ extension PIClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pi") .withSigningRegion(value: config.signingRegion) .build() @@ -1172,6 +1213,8 @@ extension PIClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pi") .withSigningRegion(value: config.signingRegion) .build() @@ -1245,6 +1288,8 @@ extension PIClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pi") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSPanorama/Package.swift.txt b/Sources/Services/AWSPanorama/Package.swift.txt index b5aeb485ce9..542ad783299 100644 --- a/Sources/Services/AWSPanorama/Package.swift.txt +++ b/Sources/Services/AWSPanorama/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSPanorama/Sources/AWSPanorama/PanoramaClient.swift b/Sources/Services/AWSPanorama/Sources/AWSPanorama/PanoramaClient.swift index 73af78c6c02..75ce1d6fe10 100644 --- a/Sources/Services/AWSPanorama/Sources/AWSPanorama/PanoramaClient.swift +++ b/Sources/Services/AWSPanorama/Sources/AWSPanorama/PanoramaClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PanoramaClient: ClientRuntime.Client { public static let clientName = "PanoramaClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: PanoramaClient.PanoramaClientConfiguration let serviceName = "Panorama" @@ -94,6 +95,8 @@ extension PanoramaClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension PanoramaClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension PanoramaClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension PanoramaClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension PanoramaClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension PanoramaClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension PanoramaClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension PanoramaClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension PanoramaClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension PanoramaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "panorama") .withSigningRegion(value: config.signingRegion) .build() @@ -444,6 +465,8 @@ extension PanoramaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "panorama") .withSigningRegion(value: config.signingRegion) .build() @@ -517,6 +540,8 @@ extension PanoramaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "panorama") .withSigningRegion(value: config.signingRegion) .build() @@ -590,6 +615,8 @@ extension PanoramaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "panorama") .withSigningRegion(value: config.signingRegion) .build() @@ -663,6 +690,8 @@ extension PanoramaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "panorama") .withSigningRegion(value: config.signingRegion) .build() @@ -737,6 +766,8 @@ extension PanoramaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "panorama") .withSigningRegion(value: config.signingRegion) .build() @@ -808,6 +839,8 @@ extension PanoramaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "panorama") .withSigningRegion(value: config.signingRegion) .build() @@ -880,6 +913,8 @@ extension PanoramaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "panorama") .withSigningRegion(value: config.signingRegion) .build() @@ -952,6 +987,8 @@ extension PanoramaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "panorama") .withSigningRegion(value: config.signingRegion) .build() @@ -1023,6 +1060,8 @@ extension PanoramaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "panorama") .withSigningRegion(value: config.signingRegion) .build() @@ -1093,6 +1132,8 @@ extension PanoramaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "panorama") .withSigningRegion(value: config.signingRegion) .build() @@ -1164,6 +1205,8 @@ extension PanoramaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "panorama") .withSigningRegion(value: config.signingRegion) .build() @@ -1235,6 +1278,8 @@ extension PanoramaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "panorama") .withSigningRegion(value: config.signingRegion) .build() @@ -1306,6 +1351,8 @@ extension PanoramaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "panorama") .withSigningRegion(value: config.signingRegion) .build() @@ -1377,6 +1424,8 @@ extension PanoramaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "panorama") .withSigningRegion(value: config.signingRegion) .build() @@ -1447,6 +1496,8 @@ extension PanoramaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "panorama") .withSigningRegion(value: config.signingRegion) .build() @@ -1518,6 +1569,8 @@ extension PanoramaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "panorama") .withSigningRegion(value: config.signingRegion) .build() @@ -1587,6 +1640,8 @@ extension PanoramaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "panorama") .withSigningRegion(value: config.signingRegion) .build() @@ -1656,6 +1711,8 @@ extension PanoramaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "panorama") .withSigningRegion(value: config.signingRegion) .build() @@ -1725,6 +1782,8 @@ extension PanoramaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "panorama") .withSigningRegion(value: config.signingRegion) .build() @@ -1796,6 +1855,8 @@ extension PanoramaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "panorama") .withSigningRegion(value: config.signingRegion) .build() @@ -1868,6 +1929,8 @@ extension PanoramaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "panorama") .withSigningRegion(value: config.signingRegion) .build() @@ -1939,6 +2002,8 @@ extension PanoramaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "panorama") .withSigningRegion(value: config.signingRegion) .build() @@ -2009,6 +2074,8 @@ extension PanoramaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "panorama") .withSigningRegion(value: config.signingRegion) .build() @@ -2080,6 +2147,8 @@ extension PanoramaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "panorama") .withSigningRegion(value: config.signingRegion) .build() @@ -2152,6 +2221,8 @@ extension PanoramaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "panorama") .withSigningRegion(value: config.signingRegion) .build() @@ -2222,6 +2293,8 @@ extension PanoramaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "panorama") .withSigningRegion(value: config.signingRegion) .build() @@ -2293,6 +2366,8 @@ extension PanoramaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "panorama") .withSigningRegion(value: config.signingRegion) .build() @@ -2366,6 +2441,8 @@ extension PanoramaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "panorama") .withSigningRegion(value: config.signingRegion) .build() @@ -2440,6 +2517,8 @@ extension PanoramaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "panorama") .withSigningRegion(value: config.signingRegion) .build() @@ -2510,6 +2589,8 @@ extension PanoramaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "panorama") .withSigningRegion(value: config.signingRegion) .build() @@ -2582,6 +2663,8 @@ extension PanoramaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "panorama") .withSigningRegion(value: config.signingRegion) .build() @@ -2654,6 +2737,8 @@ extension PanoramaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "panorama") .withSigningRegion(value: config.signingRegion) .build() @@ -2726,6 +2811,8 @@ extension PanoramaClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "panorama") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSPartnerCentralSelling/Package.swift.txt b/Sources/Services/AWSPartnerCentralSelling/Package.swift.txt index 767934ae350..12c0000d7a1 100644 --- a/Sources/Services/AWSPartnerCentralSelling/Package.swift.txt +++ b/Sources/Services/AWSPartnerCentralSelling/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSPartnerCentralSelling/Sources/AWSPartnerCentralSelling/Models.swift b/Sources/Services/AWSPartnerCentralSelling/Sources/AWSPartnerCentralSelling/Models.swift index 8f6c76d60d4..e3f355ef7fe 100644 --- a/Sources/Services/AWSPartnerCentralSelling/Sources/AWSPartnerCentralSelling/Models.swift +++ b/Sources/Services/AWSPartnerCentralSelling/Sources/AWSPartnerCentralSelling/Models.swift @@ -97,6 +97,29 @@ public struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntim } } +/// This error occurs when the request can’t be processed due to a conflict with the target resource's current state, which could result from updating or deleting the resource. Suggested action: Fetch the latest state of the resource, verify the state, and retry the request. +public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error, Swift.Sendable { + + public struct Properties: Swift.Sendable { + public internal(set) var message: 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 + ) { + self.properties.message = message + } +} + /// This error occurs when the specified resource can’t be found or doesn't exist. Resource ID and type might be incorrect. Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support. public struct InternalServerException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error, Swift.Sendable { @@ -2657,29 +2680,6 @@ extension PartnerCentralSellingClientTypes.AwsTeamMember: Swift.CustomDebugStrin "AwsTeamMember(businessTitle: \(Swift.String(describing: businessTitle)), email: \"CONTENT_REDACTED\", firstName: \"CONTENT_REDACTED\", lastName: \"CONTENT_REDACTED\")"} } -/// This error occurs when the request can’t be processed due to a conflict with the target resource's current state, which could result from updating or deleting the resource. Suggested action: Fetch the latest state of the resource, verify the state, and retry the request. -public struct ConflictException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error, Swift.Sendable { - - public struct Properties: Swift.Sendable { - public internal(set) var message: 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 - ) { - self.properties.message = message - } -} - /// This error occurs when the request would cause a service quota to be exceeded. Service quotas represent the maximum allowed use of a specific resource, and this error indicates that the request would surpass that limit. Suggested action: Review the [Quotas](https://docs.aws.amazon.com/partner-central/latest/selling-api/quotas.html) for the resource, and either reduce usage or request a quota increase. public struct ServiceQuotaExceededException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error, Swift.Sendable { @@ -2956,7 +2956,7 @@ public struct ListEngagementMembersInput: Swift.Sendable { /// The catalog related to the request. /// This member is required. public var catalog: Swift.String? - /// Identifier of the engagement record to retrieve members from. + /// Identifier of the Engagement record to retrieve members from. /// This member is required. public var identifier: Swift.String? /// The maximum number of results to return in a single call. @@ -3142,17 +3142,17 @@ extension PartnerCentralSellingClientTypes { /// An object that contains an Engagement's subset of fields. public struct EngagementSummary: Swift.Sendable { - /// The Amazon Resource Name (ARN) of the created engagement. + /// The Amazon Resource Name (ARN) of the created Engagement. public var arn: Swift.String? - /// The date and time when the engagement was created. + /// The date and time when the Engagement was created. public var createdAt: Foundation.Date? - /// The AWS account ID of the engagement creator. + /// The AWS Account ID of the Engagement creator. public var createdBy: Swift.String? - /// The unique identifier for the engagement. + /// The unique identifier for the Engagement. public var id: Swift.String? - /// The number of members in the engagement. + /// The number of members in the Engagement. public var memberCount: Swift.Int? - /// The title of the engagement. + /// The title of the Engagement. public var title: Swift.String? public init( @@ -3459,6 +3459,27 @@ public struct ListEngagementByAcceptingInvitationTasksOutput: Swift.Sendable { } } +extension PartnerCentralSellingClientTypes { + + /// The key-value pair assigned to a specified resource. + public struct Tag: Swift.Sendable { + /// The key in the tag. + /// This member is required. + public var key: Swift.String? + /// The value in the tag. + /// This member is required. + public var value: Swift.String? + + public init( + key: Swift.String? = nil, + value: Swift.String? = nil + ) { + self.key = key + self.value = value + } + } +} + public struct StartEngagementByAcceptingInvitationTaskInput: Swift.Sendable { /// Specifies the catalog related to the task. Use AWS for production engagements and Sandbox for testing scenarios. /// This member is required. @@ -3469,15 +3490,19 @@ public struct StartEngagementByAcceptingInvitationTaskInput: Swift.Sendable { /// Specifies the unique identifier of the EngagementInvitation to be accepted. Providing the correct identifier helps ensure that the correct engagement is processed. /// This member is required. public var identifier: Swift.String? + /// A list of objects specifying each tag name and value. + public var tags: [PartnerCentralSellingClientTypes.Tag]? public init( catalog: Swift.String? = nil, clientToken: Swift.String? = nil, - identifier: Swift.String? = nil + identifier: Swift.String? = nil, + tags: [PartnerCentralSellingClientTypes.Tag]? = nil ) { self.catalog = catalog self.clientToken = clientToken self.identifier = identifier + self.tags = tags } } @@ -3490,7 +3515,7 @@ public struct StartEngagementByAcceptingInvitationTaskOutput: Swift.Sendable { public var opportunityId: Swift.String? /// Indicates the reason for task failure using an enumerated code. public var reasonCode: PartnerCentralSellingClientTypes.ReasonCode? - /// The identifier of the resource snapshot job created as part of this task. + /// The identifier of the Resource Snapshot Job created as part of this task. public var resourceSnapshotJobId: Swift.String? /// The timestamp indicating when the task was initiated. The format follows RFC 3339 section 5.6. public var startTime: Foundation.Date? @@ -3574,7 +3599,7 @@ extension PartnerCentralSellingClientTypes { public struct ListEngagementFromOpportunityTaskSummary: Swift.Sendable { /// The unique identifier of the engagement created as a result of the task. This field is populated when the task is completed successfully. public var engagementId: Swift.String? - /// The unique identifier of the engagement identifier created as a result of the task. This field is populated when the task is completed successfully. + /// The unique identifier of the Engagement Invitation. public var engagementInvitationId: Swift.String? /// A detailed message providing additional information about the task, especially useful in case of failures. This field may contain error details or other relevant information about the task's execution public var message: Swift.String? @@ -3725,24 +3750,28 @@ public struct StartEngagementFromOpportunityTaskInput: Swift.Sendable { /// The unique identifier of the opportunity from which the engagement task is to be initiated. This helps ensure that the task is applied to the correct opportunity. /// This member is required. public var identifier: Swift.String? + /// A list of objects specifying each tag name and value. + public var tags: [PartnerCentralSellingClientTypes.Tag]? public init( awsSubmission: PartnerCentralSellingClientTypes.AwsSubmission? = nil, catalog: Swift.String? = nil, clientToken: Swift.String? = nil, - identifier: Swift.String? = nil + identifier: Swift.String? = nil, + tags: [PartnerCentralSellingClientTypes.Tag]? = nil ) { self.awsSubmission = awsSubmission self.catalog = catalog self.clientToken = clientToken self.identifier = identifier + self.tags = tags } } public struct StartEngagementFromOpportunityTaskOutput: Swift.Sendable { - /// The identifier of the newly created engagement. Only populated if TaskStatus is COMPLETE. + /// The identifier of the newly created Engagement. Only populated if TaskStatus is COMPLETE. public var engagementId: Swift.String? - /// The identifier of the new engagement invitation. Only populated if TaskStatus is COMPLETE. + /// The identifier of the new Engagement invitation. Only populated if TaskStatus is COMPLETE. public var engagementInvitationId: Swift.String? /// If the task fails, this field contains a detailed message describing the failure and possible recovery steps. public var message: Swift.String? @@ -3750,7 +3779,7 @@ public struct StartEngagementFromOpportunityTaskOutput: Swift.Sendable { public var opportunityId: Swift.String? /// Indicates the reason for task failure using an enumerated code. public var reasonCode: PartnerCentralSellingClientTypes.ReasonCode? - /// The identifier of the resource snapshot job created to add the opportunity resource snapshot to the Engagement. Only populated if TaskStatus is COMPLETE. + /// The identifier of the resource snapshot job created to add the opportunity resource snapshot to the Engagement. Only populated if TaskStatus is COMPLETE public var resourceSnapshotJobId: Swift.String? /// The timestamp indicating when the task was initiated. The format follows RFC 3339 section 5.6. public var startTime: Foundation.Date? @@ -4454,6 +4483,30 @@ public struct RejectEngagementInvitationInput: Swift.Sendable { } } +public struct ListTagsForResourceInput: Swift.Sendable { + /// The Amazon Resource Name (ARN) of the resource for which you want to retrieve tags. + /// This member is required. + public var resourceArn: Swift.String? + + public init( + resourceArn: Swift.String? = nil + ) { + self.resourceArn = resourceArn + } +} + +public struct ListTagsForResourceOutput: Swift.Sendable { + /// A map of the key-value pairs for the tag or tags assigned to the specified resource. + /// This member is required. + public var tags: [PartnerCentralSellingClientTypes.Tag]? + + public init( + tags: [PartnerCentralSellingClientTypes.Tag]? = nil + ) { + self.tags = tags + } +} + extension PartnerCentralSellingClientTypes { /// An object that contains the customer's Account and Contact. @@ -5422,8 +5475,6 @@ public struct CreateOpportunityInput: Swift.Sendable { /// * Cosell—Deal Support: Request Amazon Web Services seller's support to progress the opportunity (for example: joint customer call, strategic positioning). /// /// * Cosell—Support for Public Tender/RFx: Opportunity related to the public sector where the partner needs Amazon Web Services RFx support. - /// - /// * Do Not Need Support from AWS Sales Rep: Indicates that a partner doesn't need support from an Amazon Web Services sales representative, and the partner solely manages the opportunity. It's possible to request coselling support on these opportunities at any stage during their lifecycles. This is also known as a for-visibility-only (FVO) opportunity. public var primaryNeedsFromAws: [PartnerCentralSellingClientTypes.PrimaryNeedFromAws]? /// An object that contains project details for the Opportunity. public var project: PartnerCentralSellingClientTypes.Project? @@ -5711,8 +5762,6 @@ public struct GetOpportunityOutput: Swift.Sendable { /// * Cosell—Deal Support: Request Amazon Web Services seller's support to progress the opportunity (for example: joint customer call, strategic positioning). /// /// * Cosell—Support for Public Tender/RFx: Opportunity related to the public sector where the partner needs Amazon Web Services RFx support. - /// - /// * Do Not Need Support from Amazon Web Services Sales Rep: Indicates that a partner doesn't need support from an Amazon Web Services sales representative, and the partner solely manages the opportunity. It's possible to request coselling support on these opportunities at any stage during their lifecycle. Also known as, for-visibility-only (FVO) opportunity. public var primaryNeedsFromAws: [PartnerCentralSellingClientTypes.PrimaryNeedFromAws]? /// An object that contains project details summary for the Opportunity. public var project: PartnerCentralSellingClientTypes.Project? @@ -6091,16 +6140,28 @@ public struct ListOpportunitiesOutput: Swift.Sendable { } public struct SubmitOpportunityInput: Swift.Sendable { - /// Specifies the catalog related to the request. + /// Specifies the catalog related to the request. Valid values are: + /// + /// * AWS: Submits the opportunity request from the production AWS environment. + /// + /// * Sandbox: Submits the opportunity request from a sandbox environment used for testing or development purposes. /// This member is required. public var catalog: Swift.String? - /// The identifier of the opportunity previously created by partner and needs to be submitted. + /// The identifier of the Opportunity previously created by partner and needs to be submitted. /// This member is required. public var identifier: Swift.String? - /// Specifies the level of AWS sellers' involvement on the opportunity. + /// Specifies the level of AWS sellers' involvement on the opportunity. Valid values: + /// + /// * Co-sell: Indicates the user wants to co-sell with AWS. Share the opportunity with AWS to receive deal assistance and support. + /// + /// * For Visibility Only: Indicates that the user does not need support from AWS Sales Rep. Share this opportunity with AWS for visibility only, you will not receive deal assistance and support. /// This member is required. public var involvementType: PartnerCentralSellingClientTypes.SalesInvolvementType? - /// Determines whether to restrict visibility of the opportunity from AWS sales. Default value is Full. + /// Determines whether to restrict visibility of the opportunity from AWS sales. Default value is Full. Valid values: + /// + /// * Full: The opportunity is fully visible to AWS sales. + /// + /// * Limited: The opportunity has restricted visibility to AWS sales. public var visibility: PartnerCentralSellingClientTypes.Visibility? public init( @@ -6161,8 +6222,6 @@ public struct UpdateOpportunityInput: Swift.Sendable { /// * Cosell—Deal Support: Request Amazon Web Services seller's support to progress the opportunity (for example: joint customer call, strategic positioning). /// /// * Cosell—Support for Public Tender/RFx: Opportunity related to the public sector where the partner needs RFx support from Amazon Web Services. - /// - /// * Do Not Need Support from AWS Sales Rep: Indicates that a partner doesn't need support from an Amazon Web Services Sales representative. The opportunity is managed solely by the partner. It's possible to request coselling support on these opportunities at any stage during their lifecycle. Also known as, for-visibility-only (FVO) opportunity. public var primaryNeedsFromAws: [PartnerCentralSellingClientTypes.PrimaryNeedFromAws]? /// An object that contains project details summary for the Opportunity. public var project: PartnerCentralSellingClientTypes.Project? @@ -6451,7 +6510,7 @@ extension PartnerCentralSellingClientTypes { } public struct GetResourceSnapshotOutput: Swift.Sendable { - /// The Amazon Resource Name (ARN) of the snapshot. This globally unique identifier can be used for resource-specific operations across AWS services. + /// The Amazon Resource Name (ARN) that uniquely identifies the resource snapshot. public var arn: Swift.String? /// The catalog in which the snapshot was created. Matches the Catalog specified in the request. /// This member is required. @@ -6504,10 +6563,14 @@ extension GetResourceSnapshotOutput: Swift.CustomDebugStringConvertible { } public struct ListEngagementResourceAssociationsInput: Swift.Sendable { - /// Specifies the catalog in which to search for engagement-resource associations. + /// Specifies the catalog in which to search for engagement-resource associations. Valid Values: "AWS" or "Sandbox" + /// + /// * AWS for production environments. + /// + /// * Sandbox for testing and development purposes. /// This member is required. public var catalog: Swift.String? - /// Filters the results to include only associations with resources owned by the specified AWS account. Use this when you want to find associations related to resources owned by a particular account. + /// Filters the response to include only snapshots of resources owned by the specified AWS account ID. Use this when you want to find associations related to resources owned by a particular account. public var createdBy: Swift.String? /// Filters the results to include only associations related to the specified engagement. Use this when you want to find all resources associated with a specific engagement. public var engagementIdentifier: Swift.String? @@ -6551,7 +6614,7 @@ extension PartnerCentralSellingClientTypes { /// Indicates the environment in which the resource and engagement exist. /// This member is required. public var catalog: Swift.String? - /// The AWS account ID of the entity that created the association. + /// The AWS account ID of the entity that owns the resource. Identifies the account responsible for or having primary control over the resource. public var createdBy: Swift.String? /// A unique identifier for the engagement associated with the resource. public var engagementId: Swift.String? @@ -6601,7 +6664,7 @@ public struct ListResourceSnapshotsInput: Swift.Sendable { /// Specifies the catalog related to the request. /// This member is required. public var catalog: Swift.String? - /// Filters the response to include only snapshots of resources created by the specified AWS account. + /// Filters the response to include only snapshots of resources owned by the specified AWS account. public var createdBy: Swift.String? /// The unique identifier of the engagement associated with the snapshots. /// This member is required. @@ -6649,7 +6712,7 @@ extension PartnerCentralSellingClientTypes { public struct ResourceSnapshotSummary: Swift.Sendable { /// The Amazon Resource Name (ARN) of the snapshot. This globally unique identifier can be used for cross-service references and in IAM policies. public var arn: Swift.String? - /// The AWS account ID of the principal (user or role) who created the snapshot. This helps in tracking the origin of the snapshot. + /// The AWS account ID of the entity that owns the resource from which the snapshot was created. public var createdBy: Swift.String? /// The identifier of the specific resource snapshotted. The format might vary depending on the ResourceType. public var resourceId: Swift.String? @@ -6703,21 +6766,23 @@ public struct CreateResourceSnapshotJobInput: Swift.Sendable { /// Specifies the catalog in which to create the snapshot job. Valid values are AWS and Sandbox. /// This member is required. public var catalog: Swift.String? - /// Specifies a unique, client-generated UUID to ensure that the request is handled exactly once. This token helps prevent duplicate snapshot job creations. + /// A client-generated UUID used for idempotency check. The token helps prevent duplicate job creations. /// This member is required. public var clientToken: Swift.String? /// Specifies the identifier of the engagement associated with the resource to be snapshotted. /// This member is required. public var engagementIdentifier: Swift.String? - /// Specifies the identifier of the specific resource to be snapshotted. The format depends on the ResourceType. + /// Specifies the identifier of the specific resource to be snapshotted. The format depends on the ResourceType. /// This member is required. public var resourceIdentifier: Swift.String? /// Specifies the name of the template that defines the schema for the snapshot. /// This member is required. public var resourceSnapshotTemplateIdentifier: Swift.String? - /// The type of resource for which the snapshot job is being created. Must be one of the supported resource types Opportunity. + /// The type of resource for which the snapshot job is being created. Must be one of the supported resource types i.e. Opportunity /// This member is required. public var resourceType: PartnerCentralSellingClientTypes.ResourceType? + /// A list of objects specifying each tag name and value. + public var tags: [PartnerCentralSellingClientTypes.Tag]? public init( catalog: Swift.String? = nil, @@ -6725,7 +6790,8 @@ public struct CreateResourceSnapshotJobInput: Swift.Sendable { engagementIdentifier: Swift.String? = nil, resourceIdentifier: Swift.String? = nil, resourceSnapshotTemplateIdentifier: Swift.String? = nil, - resourceType: PartnerCentralSellingClientTypes.ResourceType? = nil + resourceType: PartnerCentralSellingClientTypes.ResourceType? = nil, + tags: [PartnerCentralSellingClientTypes.Tag]? = nil ) { self.catalog = catalog self.clientToken = clientToken @@ -6733,6 +6799,7 @@ public struct CreateResourceSnapshotJobInput: Swift.Sendable { self.resourceIdentifier = resourceIdentifier self.resourceSnapshotTemplateIdentifier = resourceSnapshotTemplateIdentifier self.resourceType = resourceType + self.tags = tags } } @@ -6819,12 +6886,12 @@ extension PartnerCentralSellingClientTypes { } public struct GetResourceSnapshotJobOutput: Swift.Sendable { - /// he Amazon Resource Name (ARN) of the snapshot job. This globally unique identifier can be used for resource-specific operations across AWS services. + /// The Amazon Resource Name (ARN) of the snapshot job. This globally unique identifier can be used for resource-specific operations across AWS services. public var arn: Swift.String? - /// The catalog in which the snapshot job was created. This will match the catalog specified in the request. + /// The catalog in which the snapshot job was created. This will match the Catalog specified in the request. /// This member is required. public var catalog: Swift.String? - /// The date and time when the snapshot job was created, in ISO 8601 format (UTC). Example: "2023-05-01T20:37:46Z" + /// The date and time when the snapshot job was created in ISO 8601 format (UTC). Example: "2023-05-01T20:37:46Z" public var createdAt: Foundation.Date? /// The identifier of the engagement associated with this snapshot job. This links the job to a specific engagement context. public var engagementId: Swift.String? @@ -6836,11 +6903,11 @@ public struct GetResourceSnapshotJobOutput: Swift.Sendable { public var lastSuccessfulExecutionDate: Foundation.Date? /// The Amazon Resource Name (ARN) of the resource being snapshotted. This provides a globally unique identifier for the resource across AWS. public var resourceArn: Swift.String? - /// The identifier of the specific resource being snapshotted. The format may vary depending on the ResourceType. + /// The identifier of the specific resource being snapshotted. The format might vary depending on the ResourceType. public var resourceId: Swift.String? /// The name of the template used for creating the snapshot. This is the same as the template name. It defines the structure and content of the snapshot. public var resourceSnapshotTemplateName: Swift.String? - /// The type of resource being snapshotted. This would have Opportunity as a value as it is dependent on the supported resource type. + /// The type of resource being snapshotted. This would have "Opportunity" as a value as it is dependent on the supported resource type. public var resourceType: PartnerCentralSellingClientTypes.ResourceType? /// The current status of the snapshot job. Valid values: /// @@ -6961,11 +7028,15 @@ extension PartnerCentralSellingClientTypes { public struct ResourceSnapshotJobSummary: Swift.Sendable { /// The Amazon Resource Name (ARN) for the resource snapshot job. public var arn: Swift.String? - /// The unique identifier for the engagement within the AWS Partner Central system. This ID is used for direct references to the engagement within the service. + /// The unique identifier of the Engagement. public var engagementId: Swift.String? /// The unique identifier for the resource snapshot job within the AWS Partner Central system. This ID is used for direct references to the job within the service. public var id: Swift.String? - /// Represents the current status of the resource snapshot job. + /// The current status of the snapshot job. Valid values: + /// + /// * STOPPED: The job is not currently running. + /// + /// * RUNNING: The job is actively executing. public var status: PartnerCentralSellingClientTypes.ResourceSnapshotJobStatus? public init( @@ -6999,7 +7070,11 @@ public struct ListResourceSnapshotJobsOutput: Swift.Sendable { } public struct StartResourceSnapshotJobInput: Swift.Sendable { - /// Specifies the catalog related to the request. + /// Specifies the catalog related to the request. Valid values are: + /// + /// * AWS: Starts the request from the production AWS environment. + /// + /// * Sandbox: Starts the request from a sandbox environment used for testing or development purposes. /// This member is required. public var catalog: Swift.String? /// The identifier of the resource snapshot job to start. @@ -7016,7 +7091,11 @@ public struct StartResourceSnapshotJobInput: Swift.Sendable { } public struct StopResourceSnapshotJobInput: Swift.Sendable { - /// Specifies the catalog related to the request. + /// Specifies the catalog related to the request. Valid values are: + /// + /// * AWS: Stops the request from the production AWS environment. + /// + /// * Sandbox: Stops the request from a sandbox environment used for testing or development purposes. /// This member is required. public var catalog: Swift.String? /// The identifier of the job to stop. @@ -7280,6 +7359,50 @@ public struct ListSolutionsOutput: Swift.Sendable { } } +public struct TagResourceInput: Swift.Sendable { + /// The Amazon Resource Name (ARN) of the resource that you want to tag. + /// This member is required. + public var resourceArn: Swift.String? + /// A map of the key-value pairs of the tag or tags to assign to the resource. + /// This member is required. + public var tags: [PartnerCentralSellingClientTypes.Tag]? + + public init( + resourceArn: Swift.String? = nil, + tags: [PartnerCentralSellingClientTypes.Tag]? = nil + ) { + self.resourceArn = resourceArn + self.tags = tags + } +} + +public struct TagResourceOutput: Swift.Sendable { + + public init() { } +} + +public struct UntagResourceInput: Swift.Sendable { + /// The Amazon Resource Name (ARN) of the resource that you want to untag. + /// This member is required. + public var resourceArn: Swift.String? + /// The keys of the key-value pairs for the tag or tags you want to remove from the specified 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: Swift.Sendable { + + public init() { } +} + extension AcceptEngagementInvitationInput { static func urlPathProvider(_ value: AcceptEngagementInvitationInput) -> Swift.String? { @@ -7469,6 +7592,13 @@ extension ListSolutionsInput { } } +extension ListTagsForResourceInput { + + static func urlPathProvider(_ value: ListTagsForResourceInput) -> Swift.String? { + return "/" + } +} + extension PutSellingSystemSettingsInput { static func urlPathProvider(_ value: PutSellingSystemSettingsInput) -> Swift.String? { @@ -7518,6 +7648,20 @@ extension SubmitOpportunityInput { } } +extension TagResourceInput { + + static func urlPathProvider(_ value: TagResourceInput) -> Swift.String? { + return "/" + } +} + +extension UntagResourceInput { + + static func urlPathProvider(_ value: UntagResourceInput) -> Swift.String? { + return "/" + } +} + extension UpdateOpportunityInput { static func urlPathProvider(_ value: UpdateOpportunityInput) -> Swift.String? { @@ -7621,6 +7765,7 @@ extension CreateResourceSnapshotJobInput { try writer["ResourceIdentifier"].write(value.resourceIdentifier) try writer["ResourceSnapshotTemplateIdentifier"].write(value.resourceSnapshotTemplateIdentifier) try writer["ResourceType"].write(value.resourceType) + try writer["Tags"].writeList(value.tags, memberWritingClosure: PartnerCentralSellingClientTypes.Tag.write(value:to:), memberNodeInfo: "member", isFlattened: false) } } @@ -7853,6 +7998,14 @@ extension ListSolutionsInput { } } +extension ListTagsForResourceInput { + + static func write(value: ListTagsForResourceInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["ResourceArn"].write(value.resourceArn) + } +} + extension PutSellingSystemSettingsInput { static func write(value: PutSellingSystemSettingsInput?, to writer: SmithyJSON.Writer) throws { @@ -7879,6 +8032,7 @@ extension StartEngagementByAcceptingInvitationTaskInput { try writer["Catalog"].write(value.catalog) try writer["ClientToken"].write(value.clientToken) try writer["Identifier"].write(value.identifier) + try writer["Tags"].writeList(value.tags, memberWritingClosure: PartnerCentralSellingClientTypes.Tag.write(value:to:), memberNodeInfo: "member", isFlattened: false) } } @@ -7890,6 +8044,7 @@ extension StartEngagementFromOpportunityTaskInput { try writer["Catalog"].write(value.catalog) try writer["ClientToken"].write(value.clientToken) try writer["Identifier"].write(value.identifier) + try writer["Tags"].writeList(value.tags, memberWritingClosure: PartnerCentralSellingClientTypes.Tag.write(value:to:), memberNodeInfo: "member", isFlattened: false) } } @@ -7922,6 +8077,24 @@ extension SubmitOpportunityInput { } } +extension TagResourceInput { + + static func write(value: TagResourceInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["ResourceArn"].write(value.resourceArn) + try writer["Tags"].writeList(value.tags, memberWritingClosure: PartnerCentralSellingClientTypes.Tag.write(value:to:), memberNodeInfo: "member", isFlattened: false) + } +} + +extension UntagResourceInput { + + static func write(value: UntagResourceInput?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["ResourceArn"].write(value.resourceArn) + try writer["TagKeys"].writeList(value.tagKeys, memberWritingClosure: SmithyReadWrite.WritingClosures.writeString(value:to:), memberNodeInfo: "member", isFlattened: false) + } +} + extension UpdateOpportunityInput { static func write(value: UpdateOpportunityInput?, to writer: SmithyJSON.Writer) throws { @@ -8326,6 +8499,18 @@ extension ListSolutionsOutput { } } +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"].readListIfPresent(memberReadingClosure: PartnerCentralSellingClientTypes.Tag.read(from:), memberNodeInfo: "member", isFlattened: false) ?? [] + return value + } +} + extension PutSellingSystemSettingsOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> PutSellingSystemSettingsOutput { @@ -8408,6 +8593,20 @@ extension SubmitOpportunityOutput { } } +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 UpdateOpportunityOutput { static func httpOutput(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> UpdateOpportunityOutput { @@ -8430,6 +8629,7 @@ enum AcceptEngagementInvitationOutputError { 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) @@ -8579,6 +8779,7 @@ enum DeleteResourceSnapshotJobOutputError { 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 "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) case "ValidationException": return try ValidationException.makeError(baseError: baseError) @@ -8857,6 +9058,7 @@ enum ListResourceSnapshotJobsOutputError { 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 "ThrottlingException": return try ThrottlingException.makeError(baseError: baseError) case "ValidationException": return try ValidationException.makeError(baseError: baseError) default: return try AWSClientRuntime.UnknownAWSHTTPServiceError.makeError(baseError: baseError) @@ -8898,6 +9100,24 @@ enum ListSolutionsOutputError { } } +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.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 "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 PutSellingSystemSettingsOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -8924,6 +9144,7 @@ enum RejectEngagementInvitationOutputError { 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) @@ -9025,6 +9246,44 @@ enum SubmitOpportunityOutputError { } } +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.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 "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.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 "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 UpdateOpportunityOutputError { static func httpError(from httpResponse: SmithyHTTPAPI.HTTPResponse) async throws -> Swift.Error { @@ -9057,6 +9316,19 @@ extension InternalServerException { } } +extension ConflictException { + + static func makeError(baseError: AWSClientRuntime.AWSJSONError) 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 AccessDeniedException { static func makeError(baseError: AWSClientRuntime.AWSJSONError) throws -> AccessDeniedException { @@ -9124,19 +9396,6 @@ extension ServiceQuotaExceededException { } } -extension ConflictException { - - static func makeError(baseError: AWSClientRuntime.AWSJSONError) 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 PartnerCentralSellingClientTypes.AwsOpportunityLifeCycle { static func read(from reader: SmithyJSON.Reader) throws -> PartnerCentralSellingClientTypes.AwsOpportunityLifeCycle { @@ -10009,6 +10268,23 @@ extension PartnerCentralSellingClientTypes.SolutionBase { } } +extension PartnerCentralSellingClientTypes.Tag { + + static func write(value: PartnerCentralSellingClientTypes.Tag?, to writer: SmithyJSON.Writer) throws { + guard let value else { return } + try writer["Key"].write(value.key) + try writer["Value"].write(value.value) + } + + static func read(from reader: SmithyJSON.Reader) throws -> PartnerCentralSellingClientTypes.Tag { + guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } + var value = PartnerCentralSellingClientTypes.Tag() + value.key = try reader["Key"].readIfPresent() ?? "" + value.value = try reader["Value"].readIfPresent() ?? "" + return value + } +} + extension PartnerCentralSellingClientTypes.ValidationExceptionError { static func read(from reader: SmithyJSON.Reader) throws -> PartnerCentralSellingClientTypes.ValidationExceptionError { diff --git a/Sources/Services/AWSPartnerCentralSelling/Sources/AWSPartnerCentralSelling/PartnerCentralSellingClient.swift b/Sources/Services/AWSPartnerCentralSelling/Sources/AWSPartnerCentralSelling/PartnerCentralSellingClient.swift index cc4dad1230c..f8742eaa6bd 100644 --- a/Sources/Services/AWSPartnerCentralSelling/Sources/AWSPartnerCentralSelling/PartnerCentralSellingClient.swift +++ b/Sources/Services/AWSPartnerCentralSelling/Sources/AWSPartnerCentralSelling/PartnerCentralSellingClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PartnerCentralSellingClient: ClientRuntime.Client { public static let clientName = "PartnerCentralSellingClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: PartnerCentralSellingClient.PartnerCentralSellingClientConfiguration let serviceName = "PartnerCentral Selling" @@ -95,6 +96,8 @@ extension PartnerCentralSellingClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension PartnerCentralSellingClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension PartnerCentralSellingClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension PartnerCentralSellingClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension PartnerCentralSellingClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension PartnerCentralSellingClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension PartnerCentralSellingClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension PartnerCentralSellingClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension PartnerCentralSellingClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -352,6 +371,7 @@ extension PartnerCentralSellingClient { /// /// __Possible Exceptions:__ /// - `AccessDeniedException` : This error occurs when you don't have permission to perform the requested action. You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance. + /// - `ConflictException` : This error occurs when the request can’t be processed due to a conflict with the target resource's current state, which could result from updating or deleting the resource. Suggested action: Fetch the latest state of the resource, verify the state, and retry the request. /// - `InternalServerException` : This error occurs when the specified resource can’t be found or doesn't exist. Resource ID and type might be incorrect. Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support. /// - `ResourceNotFoundException` : This error occurs when the specified resource can't be found. The resource might not exist, or isn't visible with the current credentials. Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource. /// - `ThrottlingException` : This error occurs when there are too many requests sent. Review the provided quotas and adapt your usage to avoid throttling. This error occurs when there are too many requests sent. Review the provided [Quotas](https://docs.aws.amazon.com/partner-central/latest/selling-api/quotas.html) and retry after the provided delay. @@ -372,6 +392,8 @@ extension PartnerCentralSellingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "partnercentral-selling") .withSigningRegion(value: config.signingRegion) .build() @@ -447,6 +469,8 @@ extension PartnerCentralSellingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "partnercentral-selling") .withSigningRegion(value: config.signingRegion) .build() @@ -537,6 +561,8 @@ extension PartnerCentralSellingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "partnercentral-selling") .withSigningRegion(value: config.signingRegion) .build() @@ -613,6 +639,8 @@ extension PartnerCentralSellingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "partnercentral-selling") .withSigningRegion(value: config.signingRegion) .build() @@ -690,6 +718,8 @@ extension PartnerCentralSellingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "partnercentral-selling") .withSigningRegion(value: config.signingRegion) .build() @@ -742,7 +772,7 @@ extension PartnerCentralSellingClient { /// /// * To associate a solution with the opportunity, use AssociateOpportunity. /// - /// * To submit the opportunity, use StartEngagementFromOpportunityTask. + /// * To start the engagement with AWS, use StartEngagementFromOpportunity. /// /// /// After submission, you can't edit the opportunity until the review is complete. But opportunities in the Pending Submission state must have complete details. You can update the opportunity while it's in the Pending Submission state. There's a set of mandatory fields to create opportunities, but consider providing optional fields to enrich the opportunity record. @@ -776,6 +806,8 @@ extension PartnerCentralSellingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "partnercentral-selling") .withSigningRegion(value: config.signingRegion) .build() @@ -853,6 +885,8 @@ extension PartnerCentralSellingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "partnercentral-selling") .withSigningRegion(value: config.signingRegion) .build() @@ -930,6 +964,8 @@ extension PartnerCentralSellingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "partnercentral-selling") .withSigningRegion(value: config.signingRegion) .build() @@ -986,6 +1022,7 @@ extension PartnerCentralSellingClient { /// /// __Possible Exceptions:__ /// - `AccessDeniedException` : This error occurs when you don't have permission to perform the requested action. You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance. + /// - `ConflictException` : This error occurs when the request can’t be processed due to a conflict with the target resource's current state, which could result from updating or deleting the resource. Suggested action: Fetch the latest state of the resource, verify the state, and retry the request. /// - `ResourceNotFoundException` : This error occurs when the specified resource can't be found. The resource might not exist, or isn't visible with the current credentials. Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource. /// - `ThrottlingException` : This error occurs when there are too many requests sent. Review the provided quotas and adapt your usage to avoid throttling. This error occurs when there are too many requests sent. Review the provided [Quotas](https://docs.aws.amazon.com/partner-central/latest/selling-api/quotas.html) and retry after the provided delay. /// - `ValidationException` : The input fails to satisfy the constraints specified by the service or business validation rules. Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload. @@ -1005,6 +1042,8 @@ extension PartnerCentralSellingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "partnercentral-selling") .withSigningRegion(value: config.signingRegion) .build() @@ -1080,6 +1119,8 @@ extension PartnerCentralSellingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "partnercentral-selling") .withSigningRegion(value: config.signingRegion) .build() @@ -1155,6 +1196,8 @@ extension PartnerCentralSellingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "partnercentral-selling") .withSigningRegion(value: config.signingRegion) .build() @@ -1229,6 +1272,8 @@ extension PartnerCentralSellingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "partnercentral-selling") .withSigningRegion(value: config.signingRegion) .build() @@ -1304,6 +1349,8 @@ extension PartnerCentralSellingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "partnercentral-selling") .withSigningRegion(value: config.signingRegion) .build() @@ -1379,6 +1426,8 @@ extension PartnerCentralSellingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "partnercentral-selling") .withSigningRegion(value: config.signingRegion) .build() @@ -1453,6 +1502,8 @@ extension PartnerCentralSellingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "partnercentral-selling") .withSigningRegion(value: config.signingRegion) .build() @@ -1527,6 +1578,8 @@ extension PartnerCentralSellingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "partnercentral-selling") .withSigningRegion(value: config.signingRegion) .build() @@ -1601,6 +1654,8 @@ extension PartnerCentralSellingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "partnercentral-selling") .withSigningRegion(value: config.signingRegion) .build() @@ -1675,6 +1730,8 @@ extension PartnerCentralSellingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "partnercentral-selling") .withSigningRegion(value: config.signingRegion) .build() @@ -1749,6 +1806,8 @@ extension PartnerCentralSellingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "partnercentral-selling") .withSigningRegion(value: config.signingRegion) .build() @@ -1824,6 +1883,8 @@ extension PartnerCentralSellingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "partnercentral-selling") .withSigningRegion(value: config.signingRegion) .build() @@ -1869,7 +1930,7 @@ extension PartnerCentralSellingClient { /// Performs the `ListEngagementMembers` operation on the `PartnerCentralSelling` service. /// - /// Retrieves the details of member partners in an engagement. This operation can only be invoked by members of the engagement. The ListEngagementMembers operation allows you to fetch information about the members of a specific engagement. This action is restricted to members of the engagement being queried. + /// Retrieves the details of member partners in an Engagement. This operation can only be invoked by members of the Engagement. The ListEngagementMembers operation allows you to fetch information about the members of a specific Engagement. This action is restricted to members of the Engagement being queried. /// /// - Parameter ListEngagementMembersInput : [no documentation found] /// @@ -1898,6 +1959,8 @@ extension PartnerCentralSellingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "partnercentral-selling") .withSigningRegion(value: config.signingRegion) .build() @@ -1972,6 +2035,8 @@ extension PartnerCentralSellingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "partnercentral-selling") .withSigningRegion(value: config.signingRegion) .build() @@ -2017,7 +2082,7 @@ extension PartnerCentralSellingClient { /// Performs the `ListEngagements` operation on the `PartnerCentralSelling` service. /// - /// This action allows users to retrieve a list of engagement records from Partner Central. This action can be used to manage and track various engagements across different stages of the partner selling process. + /// This action allows users to retrieve a list of Engagement records from Partner Central. This action can be used to manage and track various engagements across different stages of the partner selling process. /// /// - Parameter ListEngagementsInput : [no documentation found] /// @@ -2046,6 +2111,8 @@ extension PartnerCentralSellingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "partnercentral-selling") .withSigningRegion(value: config.signingRegion) .build() @@ -2127,6 +2194,8 @@ extension PartnerCentralSellingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "partnercentral-selling") .withSigningRegion(value: config.signingRegion) .build() @@ -2182,6 +2251,7 @@ extension PartnerCentralSellingClient { /// /// __Possible Exceptions:__ /// - `AccessDeniedException` : This error occurs when you don't have permission to perform the requested action. You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance. + /// - `ResourceNotFoundException` : This error occurs when the specified resource can't be found. The resource might not exist, or isn't visible with the current credentials. Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource. /// - `ThrottlingException` : This error occurs when there are too many requests sent. Review the provided quotas and adapt your usage to avoid throttling. This error occurs when there are too many requests sent. Review the provided [Quotas](https://docs.aws.amazon.com/partner-central/latest/selling-api/quotas.html) and retry after the provided delay. /// - `ValidationException` : The input fails to satisfy the constraints specified by the service or business validation rules. Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload. public func listResourceSnapshotJobs(input: ListResourceSnapshotJobsInput) async throws -> ListResourceSnapshotJobsOutput { @@ -2200,6 +2270,8 @@ extension PartnerCentralSellingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "partnercentral-selling") .withSigningRegion(value: config.signingRegion) .build() @@ -2245,7 +2317,17 @@ extension PartnerCentralSellingClient { /// Performs the `ListResourceSnapshots` operation on the `PartnerCentralSelling` service. /// - /// Retrieves a list of resource view snapshots based on specified criteria. + /// Retrieves a list of resource view snapshots based on specified criteria. This operation supports various use cases, including: + /// + /// * Fetching all snapshots associated with an engagement. + /// + /// * Retrieving snapshots of a specific resource type within an engagement. + /// + /// * Obtaining snapshots for a particular resource using a specified template. + /// + /// * Accessing the latest snapshot of a resource within an engagement. + /// + /// * Filtering snapshots by resource owner. /// /// - Parameter ListResourceSnapshotsInput : [no documentation found] /// @@ -2274,6 +2356,8 @@ extension PartnerCentralSellingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "partnercentral-selling") .withSigningRegion(value: config.signingRegion) .build() @@ -2348,6 +2432,8 @@ extension PartnerCentralSellingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "partnercentral-selling") .withSigningRegion(value: config.signingRegion) .build() @@ -2391,6 +2477,83 @@ extension PartnerCentralSellingClient { return try await op.execute(input: input) } + /// Performs the `ListTagsForResource` operation on the `PartnerCentralSelling` service. + /// + /// Returns a list of tags for a resource. + /// + /// - Parameter ListTagsForResourceInput : [no documentation found] + /// + /// - Returns: `ListTagsForResourceOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : This error occurs when you don't have permission to perform the requested action. You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance. + /// - `InternalServerException` : This error occurs when the specified resource can’t be found or doesn't exist. Resource ID and type might be incorrect. Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support. + /// - `ResourceNotFoundException` : This error occurs when the specified resource can't be found. The resource might not exist, or isn't visible with the current credentials. Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource. + /// - `ThrottlingException` : This error occurs when there are too many requests sent. Review the provided quotas and adapt your usage to avoid throttling. This error occurs when there are too many requests sent. Review the provided [Quotas](https://docs.aws.amazon.com/partner-central/latest/selling-api/quotas.html) and retry after the provided delay. + /// - `ValidationException` : The input fails to satisfy the constraints specified by the service or business validation rules. Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload. + public func listTagsForResource(input: ListTagsForResourceInput) async throws -> ListTagsForResourceOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .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.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) + .withSigningName(value: "partnercentral-selling") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(ListTagsForResourceInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(ListTagsForResourceOutput.httpOutput(from:), ListTagsForResourceOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let configuredEndpoint = try config.endpoint ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.configuredEndpoint("PartnerCentral Selling", config.ignoreConfiguredEndpointURLs) + let endpointParams = EndpointParams(endpoint: configuredEndpoint, region: config.region, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.XAmzTargetMiddleware(xAmzTarget: "AWSPartnerCentralSelling.ListTagsForResource")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: ListTagsForResourceInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/x-amz-json-1.0")) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: PartnerCentralSellingClient.version, config: config)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "PartnerCentralSelling") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "ListTagsForResource") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + /// Performs the `PutSellingSystemSettings` operation on the `PartnerCentralSelling` service. /// /// Updates the currently set system settings, which include the IAM Role used for resource snapshot jobs. @@ -2422,6 +2585,8 @@ extension PartnerCentralSellingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "partnercentral-selling") .withSigningRegion(value: config.signingRegion) .build() @@ -2477,6 +2642,7 @@ extension PartnerCentralSellingClient { /// /// __Possible Exceptions:__ /// - `AccessDeniedException` : This error occurs when you don't have permission to perform the requested action. You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance. + /// - `ConflictException` : This error occurs when the request can’t be processed due to a conflict with the target resource's current state, which could result from updating or deleting the resource. Suggested action: Fetch the latest state of the resource, verify the state, and retry the request. /// - `InternalServerException` : This error occurs when the specified resource can’t be found or doesn't exist. Resource ID and type might be incorrect. Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support. /// - `ResourceNotFoundException` : This error occurs when the specified resource can't be found. The resource might not exist, or isn't visible with the current credentials. Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource. /// - `ThrottlingException` : This error occurs when there are too many requests sent. Review the provided quotas and adapt your usage to avoid throttling. This error occurs when there are too many requests sent. Review the provided [Quotas](https://docs.aws.amazon.com/partner-central/latest/selling-api/quotas.html) and retry after the provided delay. @@ -2497,6 +2663,8 @@ extension PartnerCentralSellingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "partnercentral-selling") .withSigningRegion(value: config.signingRegion) .build() @@ -2574,6 +2742,8 @@ extension PartnerCentralSellingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "partnercentral-selling") .withSigningRegion(value: config.signingRegion) .build() @@ -2652,6 +2822,8 @@ extension PartnerCentralSellingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "partnercentral-selling") .withSigningRegion(value: config.signingRegion) .build() @@ -2727,6 +2899,8 @@ extension PartnerCentralSellingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "partnercentral-selling") .withSigningRegion(value: config.signingRegion) .build() @@ -2801,6 +2975,8 @@ extension PartnerCentralSellingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "partnercentral-selling") .withSigningRegion(value: config.signingRegion) .build() @@ -2846,7 +3022,7 @@ extension PartnerCentralSellingClient { /// Performs the `SubmitOpportunity` operation on the `PartnerCentralSelling` service. /// - /// Use this action to submit an opportunity that was previously created by partner for AWS review. After you perform this action, the opportunity becomes non-editable until it is reviewed by AWS and has LifeCycle.ReviewStatus as either Approved or Action Required. + /// Use this action to submit an Opportunity that was previously created by partner for AWS review. After you perform this action, the Opportunity becomes non-editable until it is reviewed by AWS and has LifeCycle.ReviewStatus as either Approved or Action Required. /// /// - Parameter SubmitOpportunityInput : [no documentation found] /// @@ -2876,6 +3052,8 @@ extension PartnerCentralSellingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "partnercentral-selling") .withSigningRegion(value: config.signingRegion) .build() @@ -2919,6 +3097,162 @@ extension PartnerCentralSellingClient { return try await op.execute(input: input) } + /// Performs the `TagResource` operation on the `PartnerCentralSelling` service. + /// + /// Assigns one or more tags (key-value pairs) to the specified resource. + /// + /// - Parameter TagResourceInput : [no documentation found] + /// + /// - Returns: `TagResourceOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : This error occurs when you don't have permission to perform the requested action. You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance. + /// - `ConflictException` : This error occurs when the request can’t be processed due to a conflict with the target resource's current state, which could result from updating or deleting the resource. Suggested action: Fetch the latest state of the resource, verify the state, and retry the request. + /// - `InternalServerException` : This error occurs when the specified resource can’t be found or doesn't exist. Resource ID and type might be incorrect. Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support. + /// - `ResourceNotFoundException` : This error occurs when the specified resource can't be found. The resource might not exist, or isn't visible with the current credentials. Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource. + /// - `ThrottlingException` : This error occurs when there are too many requests sent. Review the provided quotas and adapt your usage to avoid throttling. This error occurs when there are too many requests sent. Review the provided [Quotas](https://docs.aws.amazon.com/partner-central/latest/selling-api/quotas.html) and retry after the provided delay. + /// - `ValidationException` : The input fails to satisfy the constraints specified by the service or business validation rules. Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload. + 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.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) + .withSigningName(value: "partnercentral-selling") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(TagResourceInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(TagResourceOutput.httpOutput(from:), TagResourceOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let configuredEndpoint = try config.endpoint ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.configuredEndpoint("PartnerCentral Selling", config.ignoreConfiguredEndpointURLs) + let endpointParams = EndpointParams(endpoint: configuredEndpoint, region: config.region, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.XAmzTargetMiddleware(xAmzTarget: "AWSPartnerCentralSelling.TagResource")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: TagResourceInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/x-amz-json-1.0")) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: PartnerCentralSellingClient.version, config: config)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "PartnerCentralSelling") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "TagResource") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + + /// Performs the `UntagResource` operation on the `PartnerCentralSelling` service. + /// + /// Removes a tag or tags from a resource. + /// + /// - Parameter UntagResourceInput : [no documentation found] + /// + /// - Returns: `UntagResourceOutput` : [no documentation found] + /// + /// - Throws: One of the exceptions listed below __Possible Exceptions__. + /// + /// __Possible Exceptions:__ + /// - `AccessDeniedException` : This error occurs when you don't have permission to perform the requested action. You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance. + /// - `ConflictException` : This error occurs when the request can’t be processed due to a conflict with the target resource's current state, which could result from updating or deleting the resource. Suggested action: Fetch the latest state of the resource, verify the state, and retry the request. + /// - `InternalServerException` : This error occurs when the specified resource can’t be found or doesn't exist. Resource ID and type might be incorrect. Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support. + /// - `ResourceNotFoundException` : This error occurs when the specified resource can't be found. The resource might not exist, or isn't visible with the current credentials. Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource. + /// - `ThrottlingException` : This error occurs when there are too many requests sent. Review the provided quotas and adapt your usage to avoid throttling. This error occurs when there are too many requests sent. Review the provided [Quotas](https://docs.aws.amazon.com/partner-central/latest/selling-api/quotas.html) and retry after the provided delay. + /// - `ValidationException` : The input fails to satisfy the constraints specified by the service or business validation rules. Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload. + public func untagResource(input: UntagResourceInput) async throws -> UntagResourceOutput { + let context = Smithy.ContextBuilder() + .withMethod(value: .post) + .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.bearerTokenIdentityResolver, schemeID: "smithy.api#httpBearerAuth") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") + .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") + .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) + .withSigningName(value: "partnercentral-selling") + .withSigningRegion(value: config.signingRegion) + .build() + let builder = ClientRuntime.OrchestratorBuilder() + config.interceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) + } + builder.interceptors.add(ClientRuntime.URLPathMiddleware(UntagResourceInput.urlPathProvider(_:))) + builder.interceptors.add(ClientRuntime.URLHostMiddleware()) + builder.interceptors.add(ClientRuntime.ContentLengthMiddleware()) + builder.deserialize(ClientRuntime.DeserializeMiddleware(UntagResourceOutput.httpOutput(from:), UntagResourceOutputError.httpError(from:))) + builder.interceptors.add(ClientRuntime.LoggerMiddleware(clientLogMode: config.clientLogMode)) + builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) + builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) + builder.applySigner(ClientRuntime.SignerMiddleware()) + let configuredEndpoint = try config.endpoint ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.configuredEndpoint("PartnerCentral Selling", config.ignoreConfiguredEndpointURLs) + let endpointParams = EndpointParams(endpoint: configuredEndpoint, region: config.region, useFIPS: config.useFIPS ?? false) + builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) + builder.interceptors.add(AWSClientRuntime.XAmzTargetMiddleware(xAmzTarget: "AWSPartnerCentralSelling.UntagResource")) + builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: UntagResourceInput.write(value:to:))) + builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/x-amz-json-1.0")) + builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) + builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) + builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: PartnerCentralSellingClient.version, config: config)) + var metricsAttributes = Smithy.Attributes() + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "PartnerCentralSelling") + metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.method, value: "UntagResource") + let op = builder.attributes(context) + .telemetry(ClientRuntime.OrchestratorTelemetry( + telemetryProvider: config.telemetryProvider, + metricsAttributes: metricsAttributes, + meterScope: serviceName, + tracerScope: serviceName + )) + .executeRequest(client) + .build() + return try await op.execute(input: input) + } + /// Performs the `UpdateOpportunity` operation on the `PartnerCentralSelling` service. /// /// Updates the Opportunity record identified by a given Identifier. This operation allows you to modify the details of an existing opportunity to reflect the latest information and progress. Use this action to keep the opportunity record up-to-date and accurate. When you perform updates, include the entire payload with each request. If any field is omitted, the API assumes that the field is set to null. The best practice is to always perform a GetOpportunity to retrieve the latest values, then send the complete payload with the updated values to be changed. @@ -2952,6 +3286,8 @@ extension PartnerCentralSellingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "partnercentral-selling") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSPaymentCryptography/Package.swift.txt b/Sources/Services/AWSPaymentCryptography/Package.swift.txt index 72bfe17a54b..5f1b98d83a2 100644 --- a/Sources/Services/AWSPaymentCryptography/Package.swift.txt +++ b/Sources/Services/AWSPaymentCryptography/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSPaymentCryptography/Sources/AWSPaymentCryptography/PaymentCryptographyClient.swift b/Sources/Services/AWSPaymentCryptography/Sources/AWSPaymentCryptography/PaymentCryptographyClient.swift index c21463e8028..c54df35a716 100644 --- a/Sources/Services/AWSPaymentCryptography/Sources/AWSPaymentCryptography/PaymentCryptographyClient.swift +++ b/Sources/Services/AWSPaymentCryptography/Sources/AWSPaymentCryptography/PaymentCryptographyClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PaymentCryptographyClient: ClientRuntime.Client { public static let clientName = "PaymentCryptographyClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: PaymentCryptographyClient.PaymentCryptographyClientConfiguration let serviceName = "Payment Cryptography" @@ -94,6 +95,8 @@ extension PaymentCryptographyClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension PaymentCryptographyClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension PaymentCryptographyClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension PaymentCryptographyClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension PaymentCryptographyClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension PaymentCryptographyClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension PaymentCryptographyClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension PaymentCryptographyClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension PaymentCryptographyClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -382,6 +401,8 @@ extension PaymentCryptographyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "payment-cryptography") .withSigningRegion(value: config.signingRegion) .build() @@ -466,6 +487,8 @@ extension PaymentCryptographyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "payment-cryptography") .withSigningRegion(value: config.signingRegion) .build() @@ -551,6 +574,8 @@ extension PaymentCryptographyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "payment-cryptography") .withSigningRegion(value: config.signingRegion) .build() @@ -634,6 +659,8 @@ extension PaymentCryptographyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "payment-cryptography") .withSigningRegion(value: config.signingRegion) .build() @@ -748,6 +775,8 @@ extension PaymentCryptographyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "payment-cryptography") .withSigningRegion(value: config.signingRegion) .build() @@ -832,6 +861,8 @@ extension PaymentCryptographyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "payment-cryptography") .withSigningRegion(value: config.signingRegion) .build() @@ -914,6 +945,8 @@ extension PaymentCryptographyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "payment-cryptography") .withSigningRegion(value: config.signingRegion) .build() @@ -996,6 +1029,8 @@ extension PaymentCryptographyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "payment-cryptography") .withSigningRegion(value: config.signingRegion) .build() @@ -1078,6 +1113,8 @@ extension PaymentCryptographyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "payment-cryptography") .withSigningRegion(value: config.signingRegion) .build() @@ -1154,6 +1191,8 @@ extension PaymentCryptographyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "payment-cryptography") .withSigningRegion(value: config.signingRegion) .build() @@ -1282,6 +1321,8 @@ extension PaymentCryptographyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "payment-cryptography") .withSigningRegion(value: config.signingRegion) .build() @@ -1366,6 +1407,8 @@ extension PaymentCryptographyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "payment-cryptography") .withSigningRegion(value: config.signingRegion) .build() @@ -1448,6 +1491,8 @@ extension PaymentCryptographyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "payment-cryptography") .withSigningRegion(value: config.signingRegion) .build() @@ -1528,6 +1573,8 @@ extension PaymentCryptographyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "payment-cryptography") .withSigningRegion(value: config.signingRegion) .build() @@ -1612,6 +1659,8 @@ extension PaymentCryptographyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "payment-cryptography") .withSigningRegion(value: config.signingRegion) .build() @@ -1692,6 +1741,8 @@ extension PaymentCryptographyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "payment-cryptography") .withSigningRegion(value: config.signingRegion) .build() @@ -1774,6 +1825,8 @@ extension PaymentCryptographyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "payment-cryptography") .withSigningRegion(value: config.signingRegion) .build() @@ -1856,6 +1909,8 @@ extension PaymentCryptographyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "payment-cryptography") .withSigningRegion(value: config.signingRegion) .build() @@ -1937,6 +1992,8 @@ extension PaymentCryptographyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "payment-cryptography") .withSigningRegion(value: config.signingRegion) .build() @@ -2022,6 +2079,8 @@ extension PaymentCryptographyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "payment-cryptography") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSPaymentCryptographyData/Package.swift.txt b/Sources/Services/AWSPaymentCryptographyData/Package.swift.txt index 7e273690b05..8f37cdca5dc 100644 --- a/Sources/Services/AWSPaymentCryptographyData/Package.swift.txt +++ b/Sources/Services/AWSPaymentCryptographyData/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSPaymentCryptographyData/Sources/AWSPaymentCryptographyData/PaymentCryptographyDataClient.swift b/Sources/Services/AWSPaymentCryptographyData/Sources/AWSPaymentCryptographyData/PaymentCryptographyDataClient.swift index 1acc2fc1cd0..a9a869adea4 100644 --- a/Sources/Services/AWSPaymentCryptographyData/Sources/AWSPaymentCryptographyData/PaymentCryptographyDataClient.swift +++ b/Sources/Services/AWSPaymentCryptographyData/Sources/AWSPaymentCryptographyData/PaymentCryptographyDataClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -62,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PaymentCryptographyDataClient: ClientRuntime.Client { public static let clientName = "PaymentCryptographyDataClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: PaymentCryptographyDataClient.PaymentCryptographyDataClientConfiguration let serviceName = "Payment Cryptography Data" @@ -92,6 +93,8 @@ extension PaymentCryptographyDataClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -117,6 +120,8 @@ extension PaymentCryptographyDataClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -140,6 +145,8 @@ extension PaymentCryptographyDataClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -166,6 +173,8 @@ extension PaymentCryptographyDataClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -190,6 +199,8 @@ extension PaymentCryptographyDataClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -216,6 +227,8 @@ extension PaymentCryptographyDataClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -240,6 +253,8 @@ extension PaymentCryptographyDataClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -267,6 +282,8 @@ extension PaymentCryptographyDataClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -294,6 +311,8 @@ extension PaymentCryptographyDataClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -375,6 +394,8 @@ extension PaymentCryptographyDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "payment-cryptography") .withSigningRegion(value: config.signingRegion) .build() @@ -457,6 +478,8 @@ extension PaymentCryptographyDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "payment-cryptography") .withSigningRegion(value: config.signingRegion) .build() @@ -535,6 +558,8 @@ extension PaymentCryptographyDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "payment-cryptography") .withSigningRegion(value: config.signingRegion) .build() @@ -611,6 +636,8 @@ extension PaymentCryptographyDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "payment-cryptography") .withSigningRegion(value: config.signingRegion) .build() @@ -689,6 +716,8 @@ extension PaymentCryptographyDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "payment-cryptography") .withSigningRegion(value: config.signingRegion) .build() @@ -769,6 +798,8 @@ extension PaymentCryptographyDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "payment-cryptography") .withSigningRegion(value: config.signingRegion) .build() @@ -851,6 +882,8 @@ extension PaymentCryptographyDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "payment-cryptography") .withSigningRegion(value: config.signingRegion) .build() @@ -929,6 +962,8 @@ extension PaymentCryptographyDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "payment-cryptography") .withSigningRegion(value: config.signingRegion) .build() @@ -1008,6 +1043,8 @@ extension PaymentCryptographyDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "payment-cryptography") .withSigningRegion(value: config.signingRegion) .build() @@ -1089,6 +1126,8 @@ extension PaymentCryptographyDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "payment-cryptography") .withSigningRegion(value: config.signingRegion) .build() @@ -1166,6 +1205,8 @@ extension PaymentCryptographyDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "payment-cryptography") .withSigningRegion(value: config.signingRegion) .build() @@ -1245,6 +1286,8 @@ extension PaymentCryptographyDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "payment-cryptography") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSPcaConnectorAd/Package.swift.txt b/Sources/Services/AWSPcaConnectorAd/Package.swift.txt index 3cde6b007aa..9e667d039e3 100644 --- a/Sources/Services/AWSPcaConnectorAd/Package.swift.txt +++ b/Sources/Services/AWSPcaConnectorAd/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSPcaConnectorAd/Sources/AWSPcaConnectorAd/PcaConnectorAdClient.swift b/Sources/Services/AWSPcaConnectorAd/Sources/AWSPcaConnectorAd/PcaConnectorAdClient.swift index 501008a17e3..13fed686712 100644 --- a/Sources/Services/AWSPcaConnectorAd/Sources/AWSPcaConnectorAd/PcaConnectorAdClient.swift +++ b/Sources/Services/AWSPcaConnectorAd/Sources/AWSPcaConnectorAd/PcaConnectorAdClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PcaConnectorAdClient: ClientRuntime.Client { public static let clientName = "PcaConnectorAdClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: PcaConnectorAdClient.PcaConnectorAdClientConfiguration let serviceName = "Pca Connector Ad" @@ -94,6 +95,8 @@ extension PcaConnectorAdClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension PcaConnectorAdClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension PcaConnectorAdClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension PcaConnectorAdClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension PcaConnectorAdClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension PcaConnectorAdClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension PcaConnectorAdClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension PcaConnectorAdClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension PcaConnectorAdClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension PcaConnectorAdClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-ad") .withSigningRegion(value: config.signingRegion) .build() @@ -449,6 +470,8 @@ extension PcaConnectorAdClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-ad") .withSigningRegion(value: config.signingRegion) .build() @@ -525,6 +548,8 @@ extension PcaConnectorAdClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-ad") .withSigningRegion(value: config.signingRegion) .build() @@ -602,6 +627,8 @@ extension PcaConnectorAdClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-ad") .withSigningRegion(value: config.signingRegion) .build() @@ -679,6 +706,8 @@ extension PcaConnectorAdClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-ad") .withSigningRegion(value: config.signingRegion) .build() @@ -755,6 +784,8 @@ extension PcaConnectorAdClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-ad") .withSigningRegion(value: config.signingRegion) .build() @@ -826,6 +857,8 @@ extension PcaConnectorAdClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-ad") .withSigningRegion(value: config.signingRegion) .build() @@ -897,6 +930,8 @@ extension PcaConnectorAdClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-ad") .withSigningRegion(value: config.signingRegion) .build() @@ -969,6 +1004,8 @@ extension PcaConnectorAdClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-ad") .withSigningRegion(value: config.signingRegion) .build() @@ -1041,6 +1078,8 @@ extension PcaConnectorAdClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-ad") .withSigningRegion(value: config.signingRegion) .build() @@ -1112,6 +1151,8 @@ extension PcaConnectorAdClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-ad") .withSigningRegion(value: config.signingRegion) .build() @@ -1183,6 +1224,8 @@ extension PcaConnectorAdClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-ad") .withSigningRegion(value: config.signingRegion) .build() @@ -1254,6 +1297,8 @@ extension PcaConnectorAdClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-ad") .withSigningRegion(value: config.signingRegion) .build() @@ -1325,6 +1370,8 @@ extension PcaConnectorAdClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-ad") .withSigningRegion(value: config.signingRegion) .build() @@ -1396,6 +1443,8 @@ extension PcaConnectorAdClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-ad") .withSigningRegion(value: config.signingRegion) .build() @@ -1466,6 +1515,8 @@ extension PcaConnectorAdClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-ad") .withSigningRegion(value: config.signingRegion) .build() @@ -1537,6 +1588,8 @@ extension PcaConnectorAdClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-ad") .withSigningRegion(value: config.signingRegion) .build() @@ -1609,6 +1662,8 @@ extension PcaConnectorAdClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-ad") .withSigningRegion(value: config.signingRegion) .build() @@ -1681,6 +1736,8 @@ extension PcaConnectorAdClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-ad") .withSigningRegion(value: config.signingRegion) .build() @@ -1752,6 +1809,8 @@ extension PcaConnectorAdClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-ad") .withSigningRegion(value: config.signingRegion) .build() @@ -1824,6 +1883,8 @@ extension PcaConnectorAdClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-ad") .withSigningRegion(value: config.signingRegion) .build() @@ -1896,6 +1957,8 @@ extension PcaConnectorAdClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-ad") .withSigningRegion(value: config.signingRegion) .build() @@ -1970,6 +2033,8 @@ extension PcaConnectorAdClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-ad") .withSigningRegion(value: config.signingRegion) .build() @@ -2043,6 +2108,8 @@ extension PcaConnectorAdClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-ad") .withSigningRegion(value: config.signingRegion) .build() @@ -2118,6 +2185,8 @@ extension PcaConnectorAdClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-ad") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSPcaConnectorScep/Package.swift.txt b/Sources/Services/AWSPcaConnectorScep/Package.swift.txt index 45dbb7ad696..6f65d4ec331 100644 --- a/Sources/Services/AWSPcaConnectorScep/Package.swift.txt +++ b/Sources/Services/AWSPcaConnectorScep/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSPcaConnectorScep/Sources/AWSPcaConnectorScep/PcaConnectorScepClient.swift b/Sources/Services/AWSPcaConnectorScep/Sources/AWSPcaConnectorScep/PcaConnectorScepClient.swift index 72afe32c161..05eaae374b2 100644 --- a/Sources/Services/AWSPcaConnectorScep/Sources/AWSPcaConnectorScep/PcaConnectorScepClient.swift +++ b/Sources/Services/AWSPcaConnectorScep/Sources/AWSPcaConnectorScep/PcaConnectorScepClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PcaConnectorScepClient: ClientRuntime.Client { public static let clientName = "PcaConnectorScepClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: PcaConnectorScepClient.PcaConnectorScepClientConfiguration let serviceName = "Pca Connector Scep" @@ -94,6 +95,8 @@ extension PcaConnectorScepClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension PcaConnectorScepClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension PcaConnectorScepClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension PcaConnectorScepClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension PcaConnectorScepClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension PcaConnectorScepClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension PcaConnectorScepClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension PcaConnectorScepClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension PcaConnectorScepClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension PcaConnectorScepClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-scep") .withSigningRegion(value: config.signingRegion) .build() @@ -451,6 +472,8 @@ extension PcaConnectorScepClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-scep") .withSigningRegion(value: config.signingRegion) .build() @@ -527,6 +550,8 @@ extension PcaConnectorScepClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-scep") .withSigningRegion(value: config.signingRegion) .build() @@ -599,6 +624,8 @@ extension PcaConnectorScepClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-scep") .withSigningRegion(value: config.signingRegion) .build() @@ -670,6 +697,8 @@ extension PcaConnectorScepClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-scep") .withSigningRegion(value: config.signingRegion) .build() @@ -741,6 +770,8 @@ extension PcaConnectorScepClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-scep") .withSigningRegion(value: config.signingRegion) .build() @@ -812,6 +843,8 @@ extension PcaConnectorScepClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-scep") .withSigningRegion(value: config.signingRegion) .build() @@ -883,6 +916,8 @@ extension PcaConnectorScepClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-scep") .withSigningRegion(value: config.signingRegion) .build() @@ -954,6 +989,8 @@ extension PcaConnectorScepClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-scep") .withSigningRegion(value: config.signingRegion) .build() @@ -1026,6 +1063,8 @@ extension PcaConnectorScepClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-scep") .withSigningRegion(value: config.signingRegion) .build() @@ -1097,6 +1136,8 @@ extension PcaConnectorScepClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-scep") .withSigningRegion(value: config.signingRegion) .build() @@ -1171,6 +1212,8 @@ extension PcaConnectorScepClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pca-connector-scep") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSPersonalize/Package.swift.txt b/Sources/Services/AWSPersonalize/Package.swift.txt index 6b604506634..855e3a33143 100644 --- a/Sources/Services/AWSPersonalize/Package.swift.txt +++ b/Sources/Services/AWSPersonalize/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSPersonalize/Sources/AWSPersonalize/PersonalizeClient.swift b/Sources/Services/AWSPersonalize/Sources/AWSPersonalize/PersonalizeClient.swift index c7482affaac..b4f25ff4357 100644 --- a/Sources/Services/AWSPersonalize/Sources/AWSPersonalize/PersonalizeClient.swift +++ b/Sources/Services/AWSPersonalize/Sources/AWSPersonalize/PersonalizeClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PersonalizeClient: ClientRuntime.Client { public static let clientName = "PersonalizeClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: PersonalizeClient.PersonalizeClientConfiguration let serviceName = "Personalize" @@ -93,6 +94,8 @@ extension PersonalizeClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension PersonalizeClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension PersonalizeClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension PersonalizeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension PersonalizeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension PersonalizeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension PersonalizeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension PersonalizeClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension PersonalizeClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -447,6 +468,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -538,6 +561,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -630,6 +655,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -734,6 +761,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -815,6 +844,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -924,6 +955,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -1009,6 +1042,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -1098,6 +1133,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -1173,6 +1210,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -1248,6 +1287,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -1341,6 +1382,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -1420,6 +1463,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -1520,6 +1565,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -1623,6 +1670,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -1696,6 +1745,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -1769,6 +1820,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -1848,6 +1901,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -1921,6 +1976,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -1994,6 +2051,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -2067,6 +2126,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -2140,6 +2201,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -2213,6 +2276,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -2286,6 +2351,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -2358,6 +2425,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -2430,6 +2499,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -2502,6 +2573,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -2581,6 +2654,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -2653,6 +2728,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -2725,6 +2802,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -2797,6 +2876,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -2869,6 +2950,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -2941,6 +3024,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -3013,6 +3098,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -3085,6 +3172,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -3157,6 +3246,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -3229,6 +3320,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -3310,6 +3403,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -3391,6 +3486,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -3463,6 +3560,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -3535,6 +3634,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -3607,6 +3708,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -3680,6 +3783,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -3752,6 +3857,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -3824,6 +3931,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -3896,6 +4005,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -3968,6 +4079,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -4040,6 +4153,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -4111,6 +4226,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -4183,6 +4300,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -4255,6 +4374,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -4327,6 +4448,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -4399,6 +4522,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -4471,6 +4596,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -4543,6 +4670,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -4615,6 +4744,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -4687,6 +4818,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -4758,6 +4891,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -4831,6 +4966,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -4903,6 +5040,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -4976,6 +5115,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -5049,6 +5190,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -5122,6 +5265,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -5202,6 +5347,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -5277,6 +5424,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -5351,6 +5500,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -5431,6 +5582,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -5504,6 +5657,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -5578,6 +5733,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -5651,6 +5808,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -5725,6 +5884,8 @@ extension PersonalizeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSPersonalizeEvents/Package.swift.txt b/Sources/Services/AWSPersonalizeEvents/Package.swift.txt index c295ef4383c..a5b2e2b667d 100644 --- a/Sources/Services/AWSPersonalizeEvents/Package.swift.txt +++ b/Sources/Services/AWSPersonalizeEvents/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSPersonalizeEvents/Sources/AWSPersonalizeEvents/PersonalizeEventsClient.swift b/Sources/Services/AWSPersonalizeEvents/Sources/AWSPersonalizeEvents/PersonalizeEventsClient.swift index db52aa47010..61eb7570e64 100644 --- a/Sources/Services/AWSPersonalizeEvents/Sources/AWSPersonalizeEvents/PersonalizeEventsClient.swift +++ b/Sources/Services/AWSPersonalizeEvents/Sources/AWSPersonalizeEvents/PersonalizeEventsClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -62,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PersonalizeEventsClient: ClientRuntime.Client { public static let clientName = "PersonalizeEventsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: PersonalizeEventsClient.PersonalizeEventsClientConfiguration let serviceName = "Personalize Events" @@ -92,6 +93,8 @@ extension PersonalizeEventsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -117,6 +120,8 @@ extension PersonalizeEventsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -140,6 +145,8 @@ extension PersonalizeEventsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -166,6 +173,8 @@ extension PersonalizeEventsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -190,6 +199,8 @@ extension PersonalizeEventsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -216,6 +227,8 @@ extension PersonalizeEventsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -240,6 +253,8 @@ extension PersonalizeEventsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -267,6 +282,8 @@ extension PersonalizeEventsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -294,6 +311,8 @@ extension PersonalizeEventsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -367,6 +386,8 @@ extension PersonalizeEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -439,6 +460,8 @@ extension PersonalizeEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -509,6 +532,8 @@ extension PersonalizeEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -581,6 +606,8 @@ extension PersonalizeEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -653,6 +680,8 @@ extension PersonalizeEventsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSPersonalizeRuntime/Package.swift.txt b/Sources/Services/AWSPersonalizeRuntime/Package.swift.txt index 26754483b21..811a5f23baf 100644 --- a/Sources/Services/AWSPersonalizeRuntime/Package.swift.txt +++ b/Sources/Services/AWSPersonalizeRuntime/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSPersonalizeRuntime/Sources/AWSPersonalizeRuntime/PersonalizeRuntimeClient.swift b/Sources/Services/AWSPersonalizeRuntime/Sources/AWSPersonalizeRuntime/PersonalizeRuntimeClient.swift index 1d3b2751707..5fe32bc153c 100644 --- a/Sources/Services/AWSPersonalizeRuntime/Sources/AWSPersonalizeRuntime/PersonalizeRuntimeClient.swift +++ b/Sources/Services/AWSPersonalizeRuntime/Sources/AWSPersonalizeRuntime/PersonalizeRuntimeClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -62,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PersonalizeRuntimeClient: ClientRuntime.Client { public static let clientName = "PersonalizeRuntimeClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: PersonalizeRuntimeClient.PersonalizeRuntimeClientConfiguration let serviceName = "Personalize Runtime" @@ -92,6 +93,8 @@ extension PersonalizeRuntimeClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -117,6 +120,8 @@ extension PersonalizeRuntimeClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -140,6 +145,8 @@ extension PersonalizeRuntimeClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -166,6 +173,8 @@ extension PersonalizeRuntimeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -190,6 +199,8 @@ extension PersonalizeRuntimeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -216,6 +227,8 @@ extension PersonalizeRuntimeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -240,6 +253,8 @@ extension PersonalizeRuntimeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -267,6 +282,8 @@ extension PersonalizeRuntimeClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -294,6 +311,8 @@ extension PersonalizeRuntimeClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -366,6 +385,8 @@ extension PersonalizeRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -437,6 +458,8 @@ extension PersonalizeRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() @@ -515,6 +538,8 @@ extension PersonalizeRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "personalize") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSPinpoint/Package.swift.txt b/Sources/Services/AWSPinpoint/Package.swift.txt index 3f7c334fcd5..1943137be88 100644 --- a/Sources/Services/AWSPinpoint/Package.swift.txt +++ b/Sources/Services/AWSPinpoint/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSPinpoint/Sources/AWSPinpoint/PinpointClient.swift b/Sources/Services/AWSPinpoint/Sources/AWSPinpoint/PinpointClient.swift index ab31dc5e6b3..af2c0815760 100644 --- a/Sources/Services/AWSPinpoint/Sources/AWSPinpoint/PinpointClient.swift +++ b/Sources/Services/AWSPinpoint/Sources/AWSPinpoint/PinpointClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PinpointClient: ClientRuntime.Client { public static let clientName = "PinpointClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: PinpointClient.PinpointClientConfiguration let serviceName = "Pinpoint" @@ -94,6 +95,8 @@ extension PinpointClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension PinpointClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension PinpointClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension PinpointClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension PinpointClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension PinpointClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension PinpointClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension PinpointClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension PinpointClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -449,6 +470,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -523,6 +546,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -599,6 +624,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -675,6 +702,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -749,6 +778,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -825,6 +856,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -899,6 +932,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -975,6 +1010,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -1051,6 +1088,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -1125,6 +1164,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -1199,6 +1240,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -1275,6 +1318,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -1348,6 +1393,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -1421,6 +1468,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -1494,6 +1543,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -1567,6 +1618,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -1640,6 +1693,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -1713,6 +1768,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -1786,6 +1843,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -1859,6 +1918,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -1932,6 +1993,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -2006,6 +2069,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -2079,6 +2144,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -2152,6 +2219,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -2225,6 +2294,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -2299,6 +2370,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -2372,6 +2445,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -2446,6 +2521,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -2519,6 +2596,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -2592,6 +2671,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -2665,6 +2746,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -2739,6 +2822,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -2812,6 +2897,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -2885,6 +2972,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -2959,6 +3048,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -3032,6 +3123,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -3105,6 +3198,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -3178,6 +3273,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -3251,6 +3348,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -3324,6 +3423,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -3397,6 +3498,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -3471,6 +3574,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -3544,6 +3649,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -3618,6 +3725,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -3691,6 +3800,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -3764,6 +3875,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -3838,6 +3951,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -3912,6 +4027,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -3985,6 +4102,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -4059,6 +4178,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -4133,6 +4254,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -4206,6 +4329,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -4279,6 +4404,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -4353,6 +4480,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -4426,6 +4555,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -4499,6 +4630,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -4572,6 +4705,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -4646,6 +4781,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -4719,6 +4856,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -4792,6 +4931,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -4866,6 +5007,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -4939,6 +5082,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -5013,6 +5158,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -5086,6 +5233,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -5160,6 +5309,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -5234,6 +5385,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -5308,6 +5461,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -5382,6 +5537,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -5456,6 +5613,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -5530,6 +5689,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -5604,6 +5765,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -5677,6 +5840,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -5751,6 +5916,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -5824,6 +5991,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -5898,6 +6067,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -5972,6 +6143,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -6045,6 +6218,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -6119,6 +6294,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -6193,6 +6370,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -6266,6 +6445,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -6340,6 +6521,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -6413,6 +6596,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -6486,6 +6671,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -6560,6 +6747,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -6623,6 +6812,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -6696,6 +6887,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -6768,6 +6961,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -6842,6 +7037,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -6918,6 +7115,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -6994,6 +7193,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -7070,6 +7271,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -7146,6 +7349,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -7222,6 +7427,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -7298,6 +7505,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -7363,6 +7572,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -7428,6 +7639,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -7502,6 +7715,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -7578,6 +7793,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -7654,6 +7871,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -7730,6 +7949,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -7806,6 +8027,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -7882,6 +8105,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -7958,6 +8183,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -8034,6 +8261,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -8110,6 +8339,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -8186,6 +8417,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -8263,6 +8496,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -8339,6 +8574,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -8415,6 +8652,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -8491,6 +8730,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -8569,6 +8810,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -8645,6 +8888,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -8721,6 +8966,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -8798,6 +9045,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -8874,6 +9123,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -8950,6 +9201,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -9026,6 +9279,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -9103,6 +9358,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -9179,6 +9436,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -9255,6 +9514,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() @@ -9332,6 +9593,8 @@ extension PinpointClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "mobiletargeting") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSPinpointEmail/Package.swift.txt b/Sources/Services/AWSPinpointEmail/Package.swift.txt index ad8c5b0acc3..bfaa9c46b20 100644 --- a/Sources/Services/AWSPinpointEmail/Package.swift.txt +++ b/Sources/Services/AWSPinpointEmail/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSPinpointEmail/Sources/AWSPinpointEmail/PinpointEmailClient.swift b/Sources/Services/AWSPinpointEmail/Sources/AWSPinpointEmail/PinpointEmailClient.swift index 985aa4e0555..9e6c86e734d 100644 --- a/Sources/Services/AWSPinpointEmail/Sources/AWSPinpointEmail/PinpointEmailClient.swift +++ b/Sources/Services/AWSPinpointEmail/Sources/AWSPinpointEmail/PinpointEmailClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PinpointEmailClient: ClientRuntime.Client { public static let clientName = "PinpointEmailClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: PinpointEmailClient.PinpointEmailClientConfiguration let serviceName = "Pinpoint Email" @@ -94,6 +95,8 @@ extension PinpointEmailClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension PinpointEmailClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension PinpointEmailClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension PinpointEmailClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension PinpointEmailClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension PinpointEmailClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension PinpointEmailClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension PinpointEmailClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension PinpointEmailClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -520,6 +543,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -598,6 +623,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -671,6 +698,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -744,6 +773,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -813,6 +844,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -883,6 +916,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -953,6 +988,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1021,6 +1058,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1090,6 +1129,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1160,6 +1201,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1229,6 +1272,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1298,6 +1343,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1367,6 +1414,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1437,6 +1486,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1506,6 +1557,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1575,6 +1628,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1644,6 +1699,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1714,6 +1771,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1782,6 +1841,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1851,6 +1912,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1921,6 +1984,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1991,6 +2056,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2060,6 +2127,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2130,6 +2199,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2199,6 +2270,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2270,6 +2343,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2342,6 +2417,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2414,6 +2491,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2486,6 +2565,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2558,6 +2639,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2630,6 +2713,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2702,6 +2787,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2776,6 +2863,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2848,6 +2937,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2920,6 +3011,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2992,6 +3085,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3073,6 +3168,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3146,6 +3243,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3219,6 +3318,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3289,6 +3390,8 @@ extension PinpointEmailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSPinpointSMSVoice/Package.swift.txt b/Sources/Services/AWSPinpointSMSVoice/Package.swift.txt index e2bd06f565e..cac6e381496 100644 --- a/Sources/Services/AWSPinpointSMSVoice/Package.swift.txt +++ b/Sources/Services/AWSPinpointSMSVoice/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSPinpointSMSVoice/Sources/AWSPinpointSMSVoice/PinpointSMSVoiceClient.swift b/Sources/Services/AWSPinpointSMSVoice/Sources/AWSPinpointSMSVoice/PinpointSMSVoiceClient.swift index afa20c26c92..dc0a1bfa3f7 100644 --- a/Sources/Services/AWSPinpointSMSVoice/Sources/AWSPinpointSMSVoice/PinpointSMSVoiceClient.swift +++ b/Sources/Services/AWSPinpointSMSVoice/Sources/AWSPinpointSMSVoice/PinpointSMSVoiceClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PinpointSMSVoiceClient: ClientRuntime.Client { public static let clientName = "PinpointSMSVoiceClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: PinpointSMSVoiceClient.PinpointSMSVoiceClientConfiguration let serviceName = "Pinpoint SMS Voice" @@ -93,6 +94,8 @@ extension PinpointSMSVoiceClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension PinpointSMSVoiceClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension PinpointSMSVoiceClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension PinpointSMSVoiceClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension PinpointSMSVoiceClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension PinpointSMSVoiceClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension PinpointSMSVoiceClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension PinpointSMSVoiceClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension PinpointSMSVoiceClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension PinpointSMSVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -445,6 +466,8 @@ extension PinpointSMSVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -518,6 +541,8 @@ extension PinpointSMSVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -588,6 +613,8 @@ extension PinpointSMSVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -658,6 +685,8 @@ extension PinpointSMSVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -727,6 +756,8 @@ extension PinpointSMSVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -797,6 +828,8 @@ extension PinpointSMSVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -870,6 +903,8 @@ extension PinpointSMSVoiceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSPinpointSMSVoiceV2/Package.swift.txt b/Sources/Services/AWSPinpointSMSVoiceV2/Package.swift.txt index 4c8ab864037..5002c79cde5 100644 --- a/Sources/Services/AWSPinpointSMSVoiceV2/Package.swift.txt +++ b/Sources/Services/AWSPinpointSMSVoiceV2/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/PinpointSMSVoiceV2Client.swift b/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/PinpointSMSVoiceV2Client.swift index 40b8f3d7c2c..28c56812893 100644 --- a/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/PinpointSMSVoiceV2Client.swift +++ b/Sources/Services/AWSPinpointSMSVoiceV2/Sources/AWSPinpointSMSVoiceV2/PinpointSMSVoiceV2Client.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PinpointSMSVoiceV2Client: ClientRuntime.Client { public static let clientName = "PinpointSMSVoiceV2Client" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: PinpointSMSVoiceV2Client.PinpointSMSVoiceV2ClientConfiguration let serviceName = "Pinpoint SMS Voice V2" @@ -95,6 +96,8 @@ extension PinpointSMSVoiceV2Client { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension PinpointSMSVoiceV2Client { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension PinpointSMSVoiceV2Client { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension PinpointSMSVoiceV2Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension PinpointSMSVoiceV2Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension PinpointSMSVoiceV2Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension PinpointSMSVoiceV2Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension PinpointSMSVoiceV2Client { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension PinpointSMSVoiceV2Client { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -451,6 +472,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -527,6 +550,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -605,6 +630,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -682,6 +709,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -760,6 +789,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -836,6 +867,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -913,6 +946,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -991,6 +1026,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -1067,6 +1104,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -1145,6 +1184,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -1221,6 +1262,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -1297,6 +1340,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -1372,6 +1417,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -1447,6 +1494,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -1522,6 +1571,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -1597,6 +1648,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -1673,6 +1726,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -1747,6 +1802,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -1823,6 +1880,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -1899,6 +1958,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -1975,6 +2036,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -2051,6 +2114,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -2126,6 +2191,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -2202,6 +2269,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -2278,6 +2347,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -2354,6 +2425,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -2429,6 +2502,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -2503,6 +2578,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -2579,6 +2656,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -2653,6 +2732,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -2727,6 +2808,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -2801,6 +2884,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -2876,6 +2961,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -2951,6 +3038,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -3026,6 +3115,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -3101,6 +3192,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -3176,6 +3269,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -3251,6 +3346,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -3326,6 +3423,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -3401,6 +3500,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -3475,6 +3576,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -3550,6 +3653,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -3624,6 +3729,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -3698,6 +3805,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -3773,6 +3882,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -3848,6 +3959,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -3923,6 +4036,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -3997,6 +4112,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -4072,6 +4189,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -4148,6 +4267,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -4225,6 +4346,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -4301,6 +4424,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -4376,6 +4501,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -4451,6 +4578,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -4526,6 +4655,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -4601,6 +4732,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -4676,6 +4809,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -4751,6 +4886,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -4828,6 +4965,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -4903,6 +5042,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -4978,6 +5119,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -5054,6 +5197,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -5131,6 +5276,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -5206,6 +5353,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -5282,6 +5431,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -5358,6 +5509,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -5435,6 +5588,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -5512,6 +5667,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -5590,6 +5747,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -5667,6 +5826,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -5744,6 +5905,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -5821,6 +5984,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -5896,6 +6061,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -5971,6 +6138,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -6046,6 +6215,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -6121,6 +6292,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -6195,6 +6368,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -6269,6 +6444,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -6343,6 +6520,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -6419,6 +6598,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -6495,6 +6676,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -6570,6 +6753,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -6646,6 +6831,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -6722,6 +6909,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -6798,6 +6987,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -6873,6 +7064,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -6948,6 +7141,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -7023,6 +7218,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() @@ -7099,6 +7296,8 @@ extension PinpointSMSVoiceV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms-voice") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSPipes/Package.swift.txt b/Sources/Services/AWSPipes/Package.swift.txt index 765679de2d0..adef37cd25c 100644 --- a/Sources/Services/AWSPipes/Package.swift.txt +++ b/Sources/Services/AWSPipes/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSPipes/Sources/AWSPipes/PipesClient.swift b/Sources/Services/AWSPipes/Sources/AWSPipes/PipesClient.swift index b57494ba3b8..109c08e219f 100644 --- a/Sources/Services/AWSPipes/Sources/AWSPipes/PipesClient.swift +++ b/Sources/Services/AWSPipes/Sources/AWSPipes/PipesClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PipesClient: ClientRuntime.Client { public static let clientName = "PipesClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: PipesClient.PipesClientConfiguration let serviceName = "Pipes" @@ -94,6 +95,8 @@ extension PipesClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension PipesClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension PipesClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension PipesClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension PipesClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension PipesClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension PipesClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension PipesClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension PipesClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension PipesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pipes") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension PipesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pipes") .withSigningRegion(value: config.signingRegion) .build() @@ -516,6 +539,8 @@ extension PipesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pipes") .withSigningRegion(value: config.signingRegion) .build() @@ -585,6 +610,8 @@ extension PipesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pipes") .withSigningRegion(value: config.signingRegion) .build() @@ -655,6 +682,8 @@ extension PipesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pipes") .withSigningRegion(value: config.signingRegion) .build() @@ -726,6 +755,8 @@ extension PipesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pipes") .withSigningRegion(value: config.signingRegion) .build() @@ -797,6 +828,8 @@ extension PipesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pipes") .withSigningRegion(value: config.signingRegion) .build() @@ -866,6 +899,8 @@ extension PipesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pipes") .withSigningRegion(value: config.signingRegion) .build() @@ -938,6 +973,8 @@ extension PipesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pipes") .withSigningRegion(value: config.signingRegion) .build() @@ -1010,6 +1047,8 @@ extension PipesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pipes") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSPolly/Package.swift.txt b/Sources/Services/AWSPolly/Package.swift.txt index 27fdf2349e6..5c85ea2443b 100644 --- a/Sources/Services/AWSPolly/Package.swift.txt +++ b/Sources/Services/AWSPolly/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSPolly/Sources/AWSPolly/Models.swift b/Sources/Services/AWSPolly/Sources/AWSPolly/Models.swift index 912e9ae311a..2a98d0cf32d 100644 --- a/Sources/Services/AWSPolly/Sources/AWSPolly/Models.swift +++ b/Sources/Services/AWSPolly/Sources/AWSPolly/Models.swift @@ -2540,6 +2540,8 @@ extension SynthesizeSpeechInput { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "polly") .withSigningRegion(value: config.signingRegion) .build() @@ -2655,6 +2657,8 @@ extension SynthesizeSpeechInput { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "polly") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSPolly/Sources/AWSPolly/PollyClient.swift b/Sources/Services/AWSPolly/Sources/AWSPolly/PollyClient.swift index 19c5ed490d9..5a79406fe2b 100644 --- a/Sources/Services/AWSPolly/Sources/AWSPolly/PollyClient.swift +++ b/Sources/Services/AWSPolly/Sources/AWSPolly/PollyClient.swift @@ -26,6 +26,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -69,7 +70,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PollyClient: ClientRuntime.Client { public static let clientName = "PollyClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: PollyClient.PollyClientConfiguration let serviceName = "Polly" @@ -99,6 +100,8 @@ extension PollyClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -124,6 +127,8 @@ extension PollyClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -147,6 +152,8 @@ extension PollyClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -173,6 +180,8 @@ extension PollyClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -197,6 +206,8 @@ extension PollyClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -223,6 +234,8 @@ extension PollyClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -247,6 +260,8 @@ extension PollyClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -274,6 +289,8 @@ extension PollyClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -301,6 +318,8 @@ extension PollyClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension PollyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "polly") .withSigningRegion(value: config.signingRegion) .build() @@ -441,6 +462,8 @@ extension PollyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "polly") .withSigningRegion(value: config.signingRegion) .build() @@ -510,6 +533,8 @@ extension PollyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "polly") .withSigningRegion(value: config.signingRegion) .build() @@ -579,6 +604,8 @@ extension PollyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "polly") .withSigningRegion(value: config.signingRegion) .build() @@ -647,6 +674,8 @@ extension PollyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "polly") .withSigningRegion(value: config.signingRegion) .build() @@ -716,6 +745,8 @@ extension PollyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "polly") .withSigningRegion(value: config.signingRegion) .build() @@ -790,6 +821,8 @@ extension PollyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "polly") .withSigningRegion(value: config.signingRegion) .build() @@ -871,6 +904,8 @@ extension PollyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "polly") .withSigningRegion(value: config.signingRegion) .build() @@ -949,6 +984,8 @@ extension PollyClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "polly") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSPricing/Package.swift.txt b/Sources/Services/AWSPricing/Package.swift.txt index 4dfb958bea6..8195561c07a 100644 --- a/Sources/Services/AWSPricing/Package.swift.txt +++ b/Sources/Services/AWSPricing/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSPricing/Sources/AWSPricing/PricingClient.swift b/Sources/Services/AWSPricing/Sources/AWSPricing/PricingClient.swift index 6347f19546a..9ed08730afe 100644 --- a/Sources/Services/AWSPricing/Sources/AWSPricing/PricingClient.swift +++ b/Sources/Services/AWSPricing/Sources/AWSPricing/PricingClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PricingClient: ClientRuntime.Client { public static let clientName = "PricingClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: PricingClient.PricingClientConfiguration let serviceName = "Pricing" @@ -94,6 +95,8 @@ extension PricingClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension PricingClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension PricingClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension PricingClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension PricingClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension PricingClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension PricingClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension PricingClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension PricingClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension PricingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pricing") .withSigningRegion(value: config.signingRegion) .build() @@ -448,6 +469,8 @@ extension PricingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pricing") .withSigningRegion(value: config.signingRegion) .build() @@ -524,6 +547,8 @@ extension PricingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pricing") .withSigningRegion(value: config.signingRegion) .build() @@ -600,6 +625,8 @@ extension PricingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pricing") .withSigningRegion(value: config.signingRegion) .build() @@ -678,6 +705,8 @@ extension PricingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "pricing") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSPrivateNetworks/Package.swift.txt b/Sources/Services/AWSPrivateNetworks/Package.swift.txt index e24b0881679..c9676bf1a64 100644 --- a/Sources/Services/AWSPrivateNetworks/Package.swift.txt +++ b/Sources/Services/AWSPrivateNetworks/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSPrivateNetworks/Sources/AWSPrivateNetworks/PrivateNetworksClient.swift b/Sources/Services/AWSPrivateNetworks/Sources/AWSPrivateNetworks/PrivateNetworksClient.swift index fb85076914a..dddb46385eb 100644 --- a/Sources/Services/AWSPrivateNetworks/Sources/AWSPrivateNetworks/PrivateNetworksClient.swift +++ b/Sources/Services/AWSPrivateNetworks/Sources/AWSPrivateNetworks/PrivateNetworksClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class PrivateNetworksClient: ClientRuntime.Client { public static let clientName = "PrivateNetworksClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: PrivateNetworksClient.PrivateNetworksClientConfiguration let serviceName = "PrivateNetworks" @@ -93,6 +94,8 @@ extension PrivateNetworksClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension PrivateNetworksClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension PrivateNetworksClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension PrivateNetworksClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension PrivateNetworksClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension PrivateNetworksClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension PrivateNetworksClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension PrivateNetworksClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension PrivateNetworksClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -368,6 +387,8 @@ extension PrivateNetworksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "private-networks") .withSigningRegion(value: config.signingRegion) .build() @@ -440,6 +461,8 @@ extension PrivateNetworksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "private-networks") .withSigningRegion(value: config.signingRegion) .build() @@ -512,6 +535,8 @@ extension PrivateNetworksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "private-networks") .withSigningRegion(value: config.signingRegion) .build() @@ -584,6 +609,8 @@ extension PrivateNetworksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "private-networks") .withSigningRegion(value: config.signingRegion) .build() @@ -656,6 +683,8 @@ extension PrivateNetworksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "private-networks") .withSigningRegion(value: config.signingRegion) .build() @@ -728,6 +757,8 @@ extension PrivateNetworksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "private-networks") .withSigningRegion(value: config.signingRegion) .build() @@ -800,6 +831,8 @@ extension PrivateNetworksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "private-networks") .withSigningRegion(value: config.signingRegion) .build() @@ -873,6 +906,8 @@ extension PrivateNetworksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "private-networks") .withSigningRegion(value: config.signingRegion) .build() @@ -944,6 +979,8 @@ extension PrivateNetworksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "private-networks") .withSigningRegion(value: config.signingRegion) .build() @@ -1014,6 +1051,8 @@ extension PrivateNetworksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "private-networks") .withSigningRegion(value: config.signingRegion) .build() @@ -1083,6 +1122,8 @@ extension PrivateNetworksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "private-networks") .withSigningRegion(value: config.signingRegion) .build() @@ -1152,6 +1193,8 @@ extension PrivateNetworksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "private-networks") .withSigningRegion(value: config.signingRegion) .build() @@ -1221,6 +1264,8 @@ extension PrivateNetworksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "private-networks") .withSigningRegion(value: config.signingRegion) .build() @@ -1290,6 +1335,8 @@ extension PrivateNetworksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "private-networks") .withSigningRegion(value: config.signingRegion) .build() @@ -1359,6 +1406,8 @@ extension PrivateNetworksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "private-networks") .withSigningRegion(value: config.signingRegion) .build() @@ -1431,6 +1480,8 @@ extension PrivateNetworksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "private-networks") .withSigningRegion(value: config.signingRegion) .build() @@ -1503,6 +1554,8 @@ extension PrivateNetworksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "private-networks") .withSigningRegion(value: config.signingRegion) .build() @@ -1575,6 +1628,8 @@ extension PrivateNetworksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "private-networks") .withSigningRegion(value: config.signingRegion) .build() @@ -1647,6 +1702,8 @@ extension PrivateNetworksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "private-networks") .withSigningRegion(value: config.signingRegion) .build() @@ -1721,6 +1778,8 @@ extension PrivateNetworksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "private-networks") .withSigningRegion(value: config.signingRegion) .build() @@ -1788,6 +1847,8 @@ extension PrivateNetworksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "private-networks") .withSigningRegion(value: config.signingRegion) .build() @@ -1866,6 +1927,8 @@ extension PrivateNetworksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "private-networks") .withSigningRegion(value: config.signingRegion) .build() @@ -1940,6 +2003,8 @@ extension PrivateNetworksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "private-networks") .withSigningRegion(value: config.signingRegion) .build() @@ -2014,6 +2079,8 @@ extension PrivateNetworksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "private-networks") .withSigningRegion(value: config.signingRegion) .build() @@ -2084,6 +2151,8 @@ extension PrivateNetworksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "private-networks") .withSigningRegion(value: config.signingRegion) .build() @@ -2156,6 +2225,8 @@ extension PrivateNetworksClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "private-networks") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSProton/Package.swift.txt b/Sources/Services/AWSProton/Package.swift.txt index 60e574212fe..b3570832a43 100644 --- a/Sources/Services/AWSProton/Package.swift.txt +++ b/Sources/Services/AWSProton/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSProton/Sources/AWSProton/ProtonClient.swift b/Sources/Services/AWSProton/Sources/AWSProton/ProtonClient.swift index cb932b491b2..cab6aafcc84 100644 --- a/Sources/Services/AWSProton/Sources/AWSProton/ProtonClient.swift +++ b/Sources/Services/AWSProton/Sources/AWSProton/ProtonClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ProtonClient: ClientRuntime.Client { public static let clientName = "ProtonClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ProtonClient.ProtonClientConfiguration let serviceName = "Proton" @@ -94,6 +95,8 @@ extension ProtonClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension ProtonClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension ProtonClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension ProtonClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension ProtonClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension ProtonClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension ProtonClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension ProtonClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension ProtonClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -448,6 +469,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -530,6 +553,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -612,6 +637,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -694,6 +721,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -771,6 +800,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -856,6 +887,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -932,6 +965,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -1013,6 +1048,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -1090,6 +1127,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -1167,6 +1206,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -1244,6 +1285,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -1320,6 +1363,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -1397,6 +1442,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -1473,6 +1520,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -1550,6 +1599,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -1627,6 +1678,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -1703,6 +1756,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -1778,6 +1833,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -1854,6 +1911,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -1930,6 +1989,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -2006,6 +2067,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -2082,6 +2145,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -2158,6 +2223,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -2234,6 +2301,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -2310,6 +2379,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -2386,6 +2457,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -2462,6 +2535,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -2538,6 +2613,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -2613,6 +2690,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -2688,6 +2767,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -2763,6 +2844,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -2838,6 +2921,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -2913,6 +2998,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -2988,6 +3075,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -3063,6 +3152,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -3138,6 +3229,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -3213,6 +3306,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -3287,6 +3382,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -3362,6 +3459,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -3437,6 +3536,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -3512,6 +3613,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -3587,6 +3690,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -3662,6 +3767,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -3737,6 +3844,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -3812,6 +3921,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -3887,6 +3998,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -3962,6 +4075,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -4037,6 +4152,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -4112,6 +4229,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -4186,6 +4305,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -4261,6 +4382,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -4335,6 +4458,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -4410,6 +4535,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -4485,6 +4612,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -4560,6 +4689,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -4634,6 +4765,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -4709,6 +4842,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -4784,6 +4919,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -4858,6 +4995,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -4933,6 +5072,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -5008,6 +5149,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -5083,6 +5226,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -5158,6 +5303,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -5233,6 +5380,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -5308,6 +5457,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -5382,6 +5533,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -5456,6 +5609,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -5531,6 +5686,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -5608,6 +5765,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -5684,6 +5843,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -5760,6 +5921,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -5836,6 +5999,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -5911,6 +6076,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -5988,6 +6155,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -6065,6 +6234,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -6141,6 +6312,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -6217,6 +6390,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -6293,6 +6468,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -6370,6 +6547,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -6446,6 +6625,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -6523,6 +6704,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -6599,6 +6782,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -6675,6 +6860,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -6751,6 +6938,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -6827,6 +7016,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() @@ -6903,6 +7094,8 @@ extension ProtonClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "proton") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSQApps/Package.swift.txt b/Sources/Services/AWSQApps/Package.swift.txt index 1e71529d80a..5e6b88d73c6 100644 --- a/Sources/Services/AWSQApps/Package.swift.txt +++ b/Sources/Services/AWSQApps/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSQApps/Sources/AWSQApps/QAppsClient.swift b/Sources/Services/AWSQApps/Sources/AWSQApps/QAppsClient.swift index be38021add9..27a14558cb3 100644 --- a/Sources/Services/AWSQApps/Sources/AWSQApps/QAppsClient.swift +++ b/Sources/Services/AWSQApps/Sources/AWSQApps/QAppsClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class QAppsClient: ClientRuntime.Client { public static let clientName = "QAppsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: QAppsClient.QAppsClientConfiguration let serviceName = "QApps" @@ -95,6 +96,8 @@ extension QAppsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension QAppsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension QAppsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension QAppsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension QAppsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension QAppsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension QAppsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension QAppsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension QAppsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -375,6 +394,8 @@ extension QAppsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qapps") .withSigningRegion(value: config.signingRegion) .build() @@ -452,6 +473,8 @@ extension QAppsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qapps") .withSigningRegion(value: config.signingRegion) .build() @@ -529,6 +552,8 @@ extension QAppsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qapps") .withSigningRegion(value: config.signingRegion) .build() @@ -606,6 +631,8 @@ extension QAppsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qapps") .withSigningRegion(value: config.signingRegion) .build() @@ -683,6 +710,8 @@ extension QAppsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qapps") .withSigningRegion(value: config.signingRegion) .build() @@ -760,6 +789,8 @@ extension QAppsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qapps") .withSigningRegion(value: config.signingRegion) .build() @@ -835,6 +866,8 @@ extension QAppsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qapps") .withSigningRegion(value: config.signingRegion) .build() @@ -913,6 +946,8 @@ extension QAppsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qapps") .withSigningRegion(value: config.signingRegion) .build() @@ -990,6 +1025,8 @@ extension QAppsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qapps") .withSigningRegion(value: config.signingRegion) .build() @@ -1066,6 +1103,8 @@ extension QAppsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qapps") .withSigningRegion(value: config.signingRegion) .build() @@ -1142,6 +1181,8 @@ extension QAppsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qapps") .withSigningRegion(value: config.signingRegion) .build() @@ -1218,6 +1259,8 @@ extension QAppsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qapps") .withSigningRegion(value: config.signingRegion) .build() @@ -1294,6 +1337,8 @@ extension QAppsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qapps") .withSigningRegion(value: config.signingRegion) .build() @@ -1372,6 +1417,8 @@ extension QAppsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qapps") .withSigningRegion(value: config.signingRegion) .build() @@ -1448,6 +1495,8 @@ extension QAppsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qapps") .withSigningRegion(value: config.signingRegion) .build() @@ -1522,6 +1571,8 @@ extension QAppsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qapps") .withSigningRegion(value: config.signingRegion) .build() @@ -1597,6 +1648,8 @@ extension QAppsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qapps") .withSigningRegion(value: config.signingRegion) .build() @@ -1672,6 +1725,8 @@ extension QAppsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qapps") .withSigningRegion(value: config.signingRegion) .build() @@ -1748,6 +1803,8 @@ extension QAppsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qapps") .withSigningRegion(value: config.signingRegion) .build() @@ -1824,6 +1881,8 @@ extension QAppsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qapps") .withSigningRegion(value: config.signingRegion) .build() @@ -1897,6 +1956,8 @@ extension QAppsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qapps") .withSigningRegion(value: config.signingRegion) .build() @@ -1972,6 +2033,8 @@ extension QAppsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qapps") .withSigningRegion(value: config.signingRegion) .build() @@ -2045,6 +2108,8 @@ extension QAppsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qapps") .withSigningRegion(value: config.signingRegion) .build() @@ -2118,6 +2183,8 @@ extension QAppsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qapps") .withSigningRegion(value: config.signingRegion) .build() @@ -2189,6 +2256,8 @@ extension QAppsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qapps") .withSigningRegion(value: config.signingRegion) .build() @@ -2266,6 +2335,8 @@ extension QAppsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qapps") .withSigningRegion(value: config.signingRegion) .build() @@ -2343,6 +2414,8 @@ extension QAppsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qapps") .withSigningRegion(value: config.signingRegion) .build() @@ -2419,6 +2492,8 @@ extension QAppsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qapps") .withSigningRegion(value: config.signingRegion) .build() @@ -2493,6 +2568,8 @@ extension QAppsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qapps") .withSigningRegion(value: config.signingRegion) .build() @@ -2567,6 +2644,8 @@ extension QAppsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qapps") .withSigningRegion(value: config.signingRegion) .build() @@ -2644,6 +2723,8 @@ extension QAppsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qapps") .withSigningRegion(value: config.signingRegion) .build() @@ -2721,6 +2802,8 @@ extension QAppsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qapps") .withSigningRegion(value: config.signingRegion) .build() @@ -2797,6 +2880,8 @@ extension QAppsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qapps") .withSigningRegion(value: config.signingRegion) .build() @@ -2874,6 +2959,8 @@ extension QAppsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qapps") .withSigningRegion(value: config.signingRegion) .build() @@ -2951,6 +3038,8 @@ extension QAppsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qapps") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSQBusiness/Package.swift.txt b/Sources/Services/AWSQBusiness/Package.swift.txt index 9943da48a95..0e07b795883 100644 --- a/Sources/Services/AWSQBusiness/Package.swift.txt +++ b/Sources/Services/AWSQBusiness/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKEventStreamsAuth", exact: "0.0.1" @@ -36,6 +40,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKEventStreamsAuth", package: "aws-sdk-swift.AWSSDKEventStreamsAuth" diff --git a/Sources/Services/AWSQBusiness/Sources/AWSQBusiness/QBusinessClient.swift b/Sources/Services/AWSQBusiness/Sources/AWSQBusiness/QBusinessClient.swift index cb75716cf6c..4e179062c7e 100644 --- a/Sources/Services/AWSQBusiness/Sources/AWSQBusiness/QBusinessClient.swift +++ b/Sources/Services/AWSQBusiness/Sources/AWSQBusiness/QBusinessClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -68,7 +69,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class QBusinessClient: ClientRuntime.Client { public static let clientName = "QBusinessClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: QBusinessClient.QBusinessClientConfiguration let serviceName = "QBusiness" @@ -98,6 +99,8 @@ extension QBusinessClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -123,6 +126,8 @@ extension QBusinessClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -146,6 +151,8 @@ extension QBusinessClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -172,6 +179,8 @@ extension QBusinessClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -196,6 +205,8 @@ extension QBusinessClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -222,6 +233,8 @@ extension QBusinessClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -246,6 +259,8 @@ extension QBusinessClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -273,6 +288,8 @@ extension QBusinessClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -300,6 +317,8 @@ extension QBusinessClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -377,6 +396,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -452,6 +473,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -537,6 +560,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -614,6 +639,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -694,6 +721,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -772,6 +801,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -849,6 +880,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -926,6 +959,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -1003,6 +1038,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -1080,6 +1117,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -1157,6 +1196,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -1234,6 +1275,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -1311,6 +1354,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -1387,6 +1432,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -1458,6 +1505,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -1530,6 +1579,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -1603,6 +1654,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -1675,6 +1728,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -1747,6 +1802,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -1820,6 +1877,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -1892,6 +1951,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -1964,6 +2025,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -2036,6 +2099,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -2108,6 +2173,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -2180,6 +2247,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -2251,6 +2320,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -2322,6 +2393,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -2394,6 +2467,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -2465,6 +2540,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -2537,6 +2614,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -2609,6 +2688,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -2682,6 +2763,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -2753,6 +2836,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -2824,6 +2909,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -2895,6 +2982,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -2967,6 +3056,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -3038,6 +3129,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -3108,6 +3201,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -3181,6 +3276,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -3254,6 +3351,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -3326,6 +3425,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -3399,6 +3500,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -3471,6 +3574,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -3543,6 +3648,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -3616,6 +3723,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -3688,6 +3797,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -3761,6 +3872,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -3833,6 +3946,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -3904,6 +4019,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -3975,6 +4092,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -4047,6 +4166,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -4119,6 +4240,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -4191,6 +4314,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -4262,6 +4387,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -4334,6 +4461,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -4411,6 +4540,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -4486,6 +4617,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -4562,6 +4695,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -4634,6 +4769,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -4706,6 +4843,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -4780,6 +4919,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -4853,6 +4994,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -4929,6 +5072,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -5005,6 +5150,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -5080,6 +5227,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -5156,6 +5305,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -5232,6 +5383,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -5308,6 +5461,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -5383,6 +5538,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() @@ -5458,6 +5615,8 @@ extension QBusinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qbusiness") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSQConnect/Package.swift.txt b/Sources/Services/AWSQConnect/Package.swift.txt index 8a0b01e522a..ee562038d85 100644 --- a/Sources/Services/AWSQConnect/Package.swift.txt +++ b/Sources/Services/AWSQConnect/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSQConnect/Sources/AWSQConnect/QConnectClient.swift b/Sources/Services/AWSQConnect/Sources/AWSQConnect/QConnectClient.swift index 5322dc9e335..db682c082c0 100644 --- a/Sources/Services/AWSQConnect/Sources/AWSQConnect/QConnectClient.swift +++ b/Sources/Services/AWSQConnect/Sources/AWSQConnect/QConnectClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class QConnectClient: ClientRuntime.Client { public static let clientName = "QConnectClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: QConnectClient.QConnectClientConfiguration let serviceName = "QConnect" @@ -95,6 +96,8 @@ extension QConnectClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension QConnectClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension QConnectClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension QConnectClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension QConnectClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension QConnectClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension QConnectClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension QConnectClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension QConnectClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -447,6 +468,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -523,6 +546,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -599,6 +624,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -675,6 +702,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -751,6 +780,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -827,6 +858,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -901,6 +934,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -976,6 +1011,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -1051,6 +1088,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -1134,6 +1173,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -1216,6 +1257,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -1292,6 +1335,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -1368,6 +1413,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -1443,6 +1490,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -1517,6 +1566,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -1591,6 +1642,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -1666,6 +1719,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -1739,6 +1794,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -1810,6 +1867,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -1881,6 +1940,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -1952,6 +2013,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -2022,6 +2085,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -2093,6 +2158,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -2162,6 +2229,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -2231,6 +2300,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -2300,6 +2371,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -2369,6 +2442,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -2439,6 +2514,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -2509,6 +2586,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -2580,6 +2659,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -2651,6 +2732,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -2720,6 +2803,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -2790,6 +2875,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -2860,6 +2947,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -2930,6 +3019,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -2999,6 +3090,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -3068,6 +3161,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -3137,6 +3232,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -3206,6 +3303,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -3275,6 +3374,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -3344,6 +3445,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -3413,6 +3516,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -3483,6 +3588,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -3552,6 +3659,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -3622,6 +3731,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -3692,6 +3803,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -3762,6 +3875,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -3832,6 +3947,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -3903,6 +4020,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -3974,6 +4093,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -4045,6 +4166,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -4116,6 +4239,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -4187,6 +4312,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -4257,6 +4384,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -4326,6 +4455,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -4396,6 +4527,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -4466,6 +4599,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -4535,6 +4670,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -4604,6 +4741,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -4675,6 +4814,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -4746,6 +4887,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -4816,6 +4959,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -4886,6 +5031,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -4954,6 +5101,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -5023,6 +5172,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -5095,6 +5246,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -5169,6 +5322,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -5242,6 +5397,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -5312,6 +5469,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -5382,6 +5541,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -5454,6 +5615,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -5528,6 +5691,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -5602,6 +5767,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -5675,6 +5842,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -5751,6 +5920,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -5824,6 +5995,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -5900,6 +6073,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -5972,6 +6147,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -6042,6 +6219,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -6114,6 +6293,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -6189,6 +6370,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -6264,6 +6447,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -6338,6 +6523,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -6411,6 +6598,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -6483,6 +6672,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -6557,6 +6748,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -6631,6 +6824,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -6705,6 +6900,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -6777,6 +6974,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -6849,6 +7048,8 @@ extension QConnectClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSQLDB/Package.swift.txt b/Sources/Services/AWSQLDB/Package.swift.txt index 0e7a976a1dc..33cdf2fc32a 100644 --- a/Sources/Services/AWSQLDB/Package.swift.txt +++ b/Sources/Services/AWSQLDB/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSQLDB/Sources/AWSQLDB/QLDBClient.swift b/Sources/Services/AWSQLDB/Sources/AWSQLDB/QLDBClient.swift index e6fc4372657..8ea87b40106 100644 --- a/Sources/Services/AWSQLDB/Sources/AWSQLDB/QLDBClient.swift +++ b/Sources/Services/AWSQLDB/Sources/AWSQLDB/QLDBClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class QLDBClient: ClientRuntime.Client { public static let clientName = "QLDBClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: QLDBClient.QLDBClientConfiguration let serviceName = "QLDB" @@ -94,6 +95,8 @@ extension QLDBClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension QLDBClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension QLDBClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension QLDBClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension QLDBClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension QLDBClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension QLDBClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension QLDBClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension QLDBClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -369,6 +388,8 @@ extension QLDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qldb") .withSigningRegion(value: config.signingRegion) .build() @@ -439,6 +460,8 @@ extension QLDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qldb") .withSigningRegion(value: config.signingRegion) .build() @@ -512,6 +535,8 @@ extension QLDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qldb") .withSigningRegion(value: config.signingRegion) .build() @@ -581,6 +606,8 @@ extension QLDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qldb") .withSigningRegion(value: config.signingRegion) .build() @@ -648,6 +675,8 @@ extension QLDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qldb") .withSigningRegion(value: config.signingRegion) .build() @@ -716,6 +745,8 @@ extension QLDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qldb") .withSigningRegion(value: config.signingRegion) .build() @@ -784,6 +815,8 @@ extension QLDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qldb") .withSigningRegion(value: config.signingRegion) .build() @@ -856,6 +889,8 @@ extension QLDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qldb") .withSigningRegion(value: config.signingRegion) .build() @@ -928,6 +963,8 @@ extension QLDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qldb") .withSigningRegion(value: config.signingRegion) .build() @@ -997,6 +1034,8 @@ extension QLDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qldb") .withSigningRegion(value: config.signingRegion) .build() @@ -1069,6 +1108,8 @@ extension QLDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qldb") .withSigningRegion(value: config.signingRegion) .build() @@ -1132,6 +1173,8 @@ extension QLDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qldb") .withSigningRegion(value: config.signingRegion) .build() @@ -1195,6 +1238,8 @@ extension QLDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qldb") .withSigningRegion(value: config.signingRegion) .build() @@ -1258,6 +1303,8 @@ extension QLDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qldb") .withSigningRegion(value: config.signingRegion) .build() @@ -1327,6 +1374,8 @@ extension QLDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qldb") .withSigningRegion(value: config.signingRegion) .build() @@ -1396,6 +1445,8 @@ extension QLDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qldb") .withSigningRegion(value: config.signingRegion) .build() @@ -1467,6 +1518,8 @@ extension QLDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qldb") .withSigningRegion(value: config.signingRegion) .build() @@ -1538,6 +1591,8 @@ extension QLDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qldb") .withSigningRegion(value: config.signingRegion) .build() @@ -1607,6 +1662,8 @@ extension QLDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qldb") .withSigningRegion(value: config.signingRegion) .build() @@ -1678,6 +1735,8 @@ extension QLDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qldb") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSQLDBSession/Package.swift.txt b/Sources/Services/AWSQLDBSession/Package.swift.txt index fafbe0385fb..71cf53e0015 100644 --- a/Sources/Services/AWSQLDBSession/Package.swift.txt +++ b/Sources/Services/AWSQLDBSession/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSQLDBSession/Sources/AWSQLDBSession/QLDBSessionClient.swift b/Sources/Services/AWSQLDBSession/Sources/AWSQLDBSession/QLDBSessionClient.swift index 4617c4fc651..4810fefc2d7 100644 --- a/Sources/Services/AWSQLDBSession/Sources/AWSQLDBSession/QLDBSessionClient.swift +++ b/Sources/Services/AWSQLDBSession/Sources/AWSQLDBSession/QLDBSessionClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class QLDBSessionClient: ClientRuntime.Client { public static let clientName = "QLDBSessionClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: QLDBSessionClient.QLDBSessionClientConfiguration let serviceName = "QLDB Session" @@ -93,6 +94,8 @@ extension QLDBSessionClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension QLDBSessionClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension QLDBSessionClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension QLDBSessionClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension QLDBSessionClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension QLDBSessionClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension QLDBSessionClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension QLDBSessionClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension QLDBSessionClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -375,6 +394,8 @@ extension QLDBSessionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "qldb") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSQuickSight/Package.swift.txt b/Sources/Services/AWSQuickSight/Package.swift.txt index a6eaa7ea51e..71cb726894f 100644 --- a/Sources/Services/AWSQuickSight/Package.swift.txt +++ b/Sources/Services/AWSQuickSight/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSQuickSight/Sources/AWSQuickSight/QuickSightClient.swift b/Sources/Services/AWSQuickSight/Sources/AWSQuickSight/QuickSightClient.swift index a687eba135c..96ffd7590ca 100644 --- a/Sources/Services/AWSQuickSight/Sources/AWSQuickSight/QuickSightClient.swift +++ b/Sources/Services/AWSQuickSight/Sources/AWSQuickSight/QuickSightClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class QuickSightClient: ClientRuntime.Client { public static let clientName = "QuickSightClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: QuickSightClient.QuickSightClientConfiguration let serviceName = "QuickSight" @@ -94,6 +95,8 @@ extension QuickSightClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension QuickSightClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension QuickSightClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension QuickSightClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension QuickSightClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension QuickSightClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension QuickSightClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension QuickSightClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension QuickSightClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -521,6 +544,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -595,6 +620,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -674,6 +701,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -751,6 +780,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -826,6 +857,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -905,6 +938,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -982,6 +1017,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -1060,6 +1097,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -1138,6 +1177,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -1216,6 +1257,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -1293,6 +1336,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -1368,6 +1413,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -1444,6 +1491,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -1517,6 +1566,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -1593,6 +1644,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -1672,6 +1725,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -1749,6 +1804,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -1825,6 +1882,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -1900,6 +1959,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -1976,6 +2037,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -2053,6 +2116,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -2130,6 +2195,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -2207,6 +2274,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -2284,6 +2353,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -2361,6 +2432,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -2439,6 +2512,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -2513,6 +2588,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -2585,6 +2662,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -2658,6 +2737,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -2730,6 +2811,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -2805,6 +2888,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -2877,6 +2962,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -2949,6 +3036,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -3022,6 +3111,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -3093,6 +3184,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -3164,6 +3257,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -3239,6 +3334,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -3311,6 +3408,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -3384,6 +3483,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -3457,6 +3558,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -3530,6 +3633,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -3601,6 +3706,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -3674,6 +3781,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -3746,6 +3855,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -3819,6 +3930,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -3892,6 +4005,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -3965,6 +4080,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -4037,6 +4154,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -4110,6 +4229,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -4183,6 +4304,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -4255,6 +4378,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -4329,6 +4454,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -4402,6 +4529,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -4475,6 +4604,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -4549,6 +4680,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -4622,6 +4755,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -4711,6 +4846,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -4784,6 +4921,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -4856,6 +4995,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -4928,6 +5069,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -5002,6 +5145,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -5073,6 +5218,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -5142,6 +5289,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -5211,6 +5360,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -5283,6 +5434,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -5356,6 +5509,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -5428,6 +5583,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -5501,6 +5658,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -5573,6 +5732,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -5648,6 +5809,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -5720,6 +5883,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -5791,6 +5956,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -5864,6 +6031,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -5936,6 +6105,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -6007,6 +6178,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -6078,6 +6251,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -6151,6 +6326,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -6222,6 +6399,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -6293,6 +6472,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -6364,6 +6545,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -6437,6 +6620,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -6510,6 +6695,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -6584,6 +6771,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -6658,6 +6847,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -6731,6 +6922,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -6803,6 +6996,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -6875,6 +7070,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -6946,6 +7143,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -7016,6 +7215,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -7089,6 +7290,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -7161,6 +7364,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -7233,6 +7438,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -7305,6 +7512,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -7378,6 +7587,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -7452,6 +7663,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -7523,6 +7736,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -7597,6 +7812,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -7670,6 +7887,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -7743,6 +7962,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -7816,6 +8037,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -7888,6 +8111,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -7959,6 +8184,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -8030,6 +8257,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -8101,6 +8330,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -8175,6 +8406,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -8248,6 +8481,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -8320,6 +8555,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -8403,6 +8640,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -8490,6 +8729,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -8568,6 +8809,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -8662,6 +8905,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -8742,6 +8987,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -8813,6 +9060,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -8885,6 +9134,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -8957,6 +9208,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -9028,6 +9281,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -9102,6 +9357,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -9175,6 +9432,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -9246,6 +9505,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -9318,6 +9579,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -9390,6 +9653,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -9464,6 +9729,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -9538,6 +9805,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -9612,6 +9881,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -9687,6 +9958,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -9762,6 +10035,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -9835,6 +10110,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -9909,6 +10186,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -9981,6 +10260,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -10055,6 +10336,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -10130,6 +10413,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -10203,6 +10488,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -10278,6 +10565,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -10350,6 +10639,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -10421,6 +10712,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -10494,6 +10787,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -10567,6 +10862,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -10641,6 +10938,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -10715,6 +11014,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -10789,6 +11090,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -10864,6 +11167,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -10935,6 +11240,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -11006,6 +11313,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -11080,6 +11389,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -11155,6 +11466,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -11228,6 +11541,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -11299,6 +11614,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -11376,6 +11693,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -11454,6 +11773,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -11531,6 +11852,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -11604,6 +11927,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -11679,6 +12004,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -11754,6 +12081,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -11829,6 +12158,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -11906,6 +12237,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -11983,6 +12316,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -12059,6 +12394,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -12135,6 +12472,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -12211,6 +12550,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -12319,6 +12660,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -12395,6 +12738,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -12471,6 +12816,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -12545,6 +12892,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -12619,6 +12968,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -12695,6 +13046,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -12771,6 +13124,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -12847,6 +13202,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -12923,6 +13280,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -12996,6 +13355,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -13071,6 +13432,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -13146,6 +13509,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -13223,6 +13588,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -13299,6 +13666,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -13375,6 +13744,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -13451,6 +13822,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -13526,6 +13899,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -13598,6 +13973,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -13675,6 +14052,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -13750,6 +14129,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -13826,6 +14207,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -13901,6 +14284,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -13976,6 +14361,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -14054,6 +14441,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -14130,6 +14519,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -14206,6 +14597,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -14282,6 +14675,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -14356,6 +14751,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -14431,6 +14828,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -14504,6 +14903,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -14579,6 +14980,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -14655,6 +15058,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -14730,6 +15135,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -14806,6 +15213,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -14882,6 +15291,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -14956,6 +15367,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -15033,6 +15446,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -15107,6 +15522,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -15183,6 +15600,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -15260,6 +15679,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -15336,6 +15757,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -15454,6 +15877,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -15531,6 +15956,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -15608,6 +16035,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -15685,6 +16114,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -15761,6 +16192,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -15838,6 +16271,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() @@ -15915,6 +16350,8 @@ extension QuickSightClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "quicksight") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSRAM/Package.swift.txt b/Sources/Services/AWSRAM/Package.swift.txt index 454f0e2b4ad..1d645a4bfe3 100644 --- a/Sources/Services/AWSRAM/Package.swift.txt +++ b/Sources/Services/AWSRAM/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSRAM/Sources/AWSRAM/RAMClient.swift b/Sources/Services/AWSRAM/Sources/AWSRAM/RAMClient.swift index 84d65ee4cd7..f148309c056 100644 --- a/Sources/Services/AWSRAM/Sources/AWSRAM/RAMClient.swift +++ b/Sources/Services/AWSRAM/Sources/AWSRAM/RAMClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RAMClient: ClientRuntime.Client { public static let clientName = "RAMClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: RAMClient.RAMClientConfiguration let serviceName = "RAM" @@ -93,6 +94,8 @@ extension RAMClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension RAMClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension RAMClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension RAMClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension RAMClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension RAMClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension RAMClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension RAMClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension RAMClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -375,6 +394,8 @@ extension RAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ram") .withSigningRegion(value: config.signingRegion) .build() @@ -455,6 +476,8 @@ extension RAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ram") .withSigningRegion(value: config.signingRegion) .build() @@ -531,6 +554,8 @@ extension RAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ram") .withSigningRegion(value: config.signingRegion) .build() @@ -610,6 +635,8 @@ extension RAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ram") .withSigningRegion(value: config.signingRegion) .build() @@ -689,6 +716,8 @@ extension RAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ram") .withSigningRegion(value: config.signingRegion) .build() @@ -770,6 +799,8 @@ extension RAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ram") .withSigningRegion(value: config.signingRegion) .build() @@ -846,6 +877,8 @@ extension RAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ram") .withSigningRegion(value: config.signingRegion) .build() @@ -921,6 +954,8 @@ extension RAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ram") .withSigningRegion(value: config.signingRegion) .build() @@ -997,6 +1032,8 @@ extension RAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ram") .withSigningRegion(value: config.signingRegion) .build() @@ -1074,6 +1111,8 @@ extension RAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ram") .withSigningRegion(value: config.signingRegion) .build() @@ -1151,6 +1190,8 @@ extension RAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ram") .withSigningRegion(value: config.signingRegion) .build() @@ -1223,6 +1264,8 @@ extension RAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ram") .withSigningRegion(value: config.signingRegion) .build() @@ -1295,6 +1338,8 @@ extension RAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ram") .withSigningRegion(value: config.signingRegion) .build() @@ -1370,6 +1415,8 @@ extension RAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ram") .withSigningRegion(value: config.signingRegion) .build() @@ -1446,6 +1493,8 @@ extension RAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ram") .withSigningRegion(value: config.signingRegion) .build() @@ -1523,6 +1572,8 @@ extension RAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ram") .withSigningRegion(value: config.signingRegion) .build() @@ -1598,6 +1649,8 @@ extension RAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ram") .withSigningRegion(value: config.signingRegion) .build() @@ -1676,6 +1729,8 @@ extension RAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ram") .withSigningRegion(value: config.signingRegion) .build() @@ -1750,6 +1805,8 @@ extension RAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ram") .withSigningRegion(value: config.signingRegion) .build() @@ -1826,6 +1883,8 @@ extension RAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ram") .withSigningRegion(value: config.signingRegion) .build() @@ -1900,6 +1959,8 @@ extension RAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ram") .withSigningRegion(value: config.signingRegion) .build() @@ -1975,6 +2036,8 @@ extension RAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ram") .withSigningRegion(value: config.signingRegion) .build() @@ -2048,6 +2111,8 @@ extension RAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ram") .withSigningRegion(value: config.signingRegion) .build() @@ -2124,6 +2189,8 @@ extension RAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ram") .withSigningRegion(value: config.signingRegion) .build() @@ -2197,6 +2264,8 @@ extension RAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ram") .withSigningRegion(value: config.signingRegion) .build() @@ -2273,6 +2342,8 @@ extension RAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ram") .withSigningRegion(value: config.signingRegion) .build() @@ -2355,6 +2426,8 @@ extension RAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ram") .withSigningRegion(value: config.signingRegion) .build() @@ -2434,6 +2507,8 @@ extension RAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ram") .withSigningRegion(value: config.signingRegion) .build() @@ -2511,6 +2586,8 @@ extension RAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ram") .withSigningRegion(value: config.signingRegion) .build() @@ -2588,6 +2665,8 @@ extension RAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ram") .withSigningRegion(value: config.signingRegion) .build() @@ -2664,6 +2743,8 @@ extension RAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ram") .withSigningRegion(value: config.signingRegion) .build() @@ -2741,6 +2822,8 @@ extension RAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ram") .withSigningRegion(value: config.signingRegion) .build() @@ -2815,6 +2898,8 @@ extension RAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ram") .withSigningRegion(value: config.signingRegion) .build() @@ -2893,6 +2978,8 @@ extension RAMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ram") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSRDS/Package.swift.txt b/Sources/Services/AWSRDS/Package.swift.txt index 542635e18b8..53e90ffed7b 100644 --- a/Sources/Services/AWSRDS/Package.swift.txt +++ b/Sources/Services/AWSRDS/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSRDS/Sources/AWSRDS/RDSClient.swift b/Sources/Services/AWSRDS/Sources/AWSRDS/RDSClient.swift index 519280144ce..6a6be7345e0 100644 --- a/Sources/Services/AWSRDS/Sources/AWSRDS/RDSClient.swift +++ b/Sources/Services/AWSRDS/Sources/AWSRDS/RDSClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPRequest import class SmithyHTTPAPI.HTTPResponse import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RDSClient: ClientRuntime.Client { public static let clientName = "RDSClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: RDSClient.RDSClientConfiguration let serviceName = "RDS" @@ -93,6 +94,8 @@ extension RDSClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension RDSClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension RDSClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension RDSClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension RDSClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension RDSClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension RDSClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension RDSClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension RDSClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -369,6 +388,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -442,6 +463,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -513,6 +536,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -591,6 +616,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -663,6 +690,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -736,6 +765,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -807,6 +838,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -878,6 +911,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -950,6 +985,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1034,6 +1071,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1106,6 +1145,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1181,6 +1222,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1253,6 +1296,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1333,6 +1378,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1407,6 +1454,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1497,6 +1546,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1583,6 +1634,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1654,6 +1707,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1728,6 +1783,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1819,6 +1876,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1912,6 +1971,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -1983,6 +2044,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2055,6 +2118,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2129,6 +2194,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2201,6 +2268,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2277,6 +2346,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2350,6 +2421,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2424,6 +2497,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2500,6 +2575,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2573,6 +2650,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2648,6 +2727,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2719,6 +2800,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2795,6 +2878,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2866,6 +2951,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -2944,6 +3031,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3019,6 +3108,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3090,6 +3181,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3173,6 +3266,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3244,6 +3339,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3315,6 +3412,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3397,6 +3496,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3468,6 +3569,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3539,6 +3642,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3610,6 +3715,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3681,6 +3788,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3752,6 +3861,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3824,6 +3935,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3895,6 +4008,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -3967,6 +4082,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -4038,6 +4155,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -4109,6 +4228,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -4181,6 +4302,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -4252,6 +4375,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -4324,6 +4449,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -4397,6 +4524,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -4462,6 +4591,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -4532,6 +4663,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -4602,6 +4735,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -4672,6 +4807,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -4743,6 +4880,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -4813,6 +4952,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -4883,6 +5024,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -4953,6 +5096,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -5023,6 +5168,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -5093,6 +5240,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -5163,6 +5312,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -5228,6 +5379,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -5298,6 +5451,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -5368,6 +5523,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -5439,6 +5596,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -5509,6 +5668,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -5579,6 +5740,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -5649,6 +5812,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -5720,6 +5885,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -5792,6 +5959,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -5865,6 +6034,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -5930,6 +6101,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -6000,6 +6173,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -6071,6 +6246,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -6141,6 +6318,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -6211,6 +6390,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -6281,6 +6462,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -6351,6 +6534,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -6416,6 +6601,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -6481,6 +6668,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -6546,6 +6735,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -6616,6 +6807,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -6681,6 +6874,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -6751,6 +6946,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -6821,6 +7018,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -6891,6 +7090,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -6956,6 +7157,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -7026,6 +7229,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -7091,6 +7296,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -7161,6 +7368,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -7231,6 +7440,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -7301,6 +7512,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -7366,6 +7579,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -7436,6 +7651,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -7507,6 +7724,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -7578,6 +7797,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -7650,6 +7871,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -7721,6 +7944,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -7793,6 +8018,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -7877,6 +8104,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -7955,6 +8184,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -8027,6 +8258,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -8104,6 +8337,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -8176,6 +8411,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -8247,6 +8484,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -8331,6 +8570,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -8416,6 +8657,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -8487,6 +8730,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -8559,6 +8804,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -8649,6 +8896,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -8720,6 +8969,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -8792,6 +9043,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -8865,6 +9118,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -8937,6 +9192,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -9002,6 +9259,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -9074,6 +9333,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -9144,6 +9405,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -9216,6 +9479,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -9290,6 +9555,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -9365,6 +9632,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -9439,6 +9708,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -9511,6 +9782,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -9582,6 +9855,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -9658,6 +9933,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -9733,6 +10010,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -9804,6 +10083,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -9876,6 +10157,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -9948,6 +10231,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -10019,6 +10304,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -10090,6 +10377,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -10168,6 +10457,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -10240,6 +10531,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -10312,6 +10605,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -10384,6 +10679,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -10455,6 +10752,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -10533,6 +10832,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -10604,6 +10905,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -10675,6 +10978,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -10759,6 +11064,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -10848,6 +11155,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -10937,6 +11246,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -11030,6 +11341,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -11118,6 +11431,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -11212,6 +11527,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -11284,6 +11601,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -11359,6 +11678,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -11431,6 +11752,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -11511,6 +11834,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -11585,6 +11910,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -11664,6 +11991,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -11738,6 +12067,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -11810,6 +12141,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -11884,6 +12217,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -11955,6 +12290,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -12026,6 +12363,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -12099,6 +12438,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() @@ -12170,6 +12511,8 @@ extension RDSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSRDSData/Package.swift.txt b/Sources/Services/AWSRDSData/Package.swift.txt index 7309501a98d..93c8b5fd5c6 100644 --- a/Sources/Services/AWSRDSData/Package.swift.txt +++ b/Sources/Services/AWSRDSData/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSRDSData/Sources/AWSRDSData/RDSDataClient.swift b/Sources/Services/AWSRDSData/Sources/AWSRDSData/RDSDataClient.swift index 1d371af3c78..e34a7922df6 100644 --- a/Sources/Services/AWSRDSData/Sources/AWSRDSData/RDSDataClient.swift +++ b/Sources/Services/AWSRDSData/Sources/AWSRDSData/RDSDataClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -62,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RDSDataClient: ClientRuntime.Client { public static let clientName = "RDSDataClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: RDSDataClient.RDSDataClientConfiguration let serviceName = "RDS Data" @@ -92,6 +93,8 @@ extension RDSDataClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -117,6 +120,8 @@ extension RDSDataClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -140,6 +145,8 @@ extension RDSDataClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -166,6 +173,8 @@ extension RDSDataClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -190,6 +199,8 @@ extension RDSDataClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -216,6 +227,8 @@ extension RDSDataClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -240,6 +253,8 @@ extension RDSDataClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -267,6 +282,8 @@ extension RDSDataClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -294,6 +311,8 @@ extension RDSDataClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -384,6 +403,8 @@ extension RDSDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds-data") .withSigningRegion(value: config.signingRegion) .build() @@ -473,6 +494,8 @@ extension RDSDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds-data") .withSigningRegion(value: config.signingRegion) .build() @@ -562,6 +585,8 @@ extension RDSDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds-data") .withSigningRegion(value: config.signingRegion) .build() @@ -658,6 +683,8 @@ extension RDSDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds-data") .withSigningRegion(value: config.signingRegion) .build() @@ -747,6 +774,8 @@ extension RDSDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rds-data") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSRUM/Package.swift.txt b/Sources/Services/AWSRUM/Package.swift.txt index f3bc0822c85..390ce7e2abe 100644 --- a/Sources/Services/AWSRUM/Package.swift.txt +++ b/Sources/Services/AWSRUM/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSRUM/Sources/AWSRUM/RUMClient.swift b/Sources/Services/AWSRUM/Sources/AWSRUM/RUMClient.swift index f65fb80f913..df9cea11fe6 100644 --- a/Sources/Services/AWSRUM/Sources/AWSRUM/RUMClient.swift +++ b/Sources/Services/AWSRUM/Sources/AWSRUM/RUMClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RUMClient: ClientRuntime.Client { public static let clientName = "RUMClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: RUMClient.RUMClientConfiguration let serviceName = "RUM" @@ -93,6 +94,8 @@ extension RUMClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension RUMClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension RUMClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension RUMClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension RUMClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension RUMClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension RUMClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension RUMClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension RUMClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -379,6 +398,8 @@ extension RUMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rum") .withSigningRegion(value: config.signingRegion) .build() @@ -454,6 +475,8 @@ extension RUMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rum") .withSigningRegion(value: config.signingRegion) .build() @@ -525,6 +548,8 @@ extension RUMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rum") .withSigningRegion(value: config.signingRegion) .build() @@ -599,6 +624,8 @@ extension RUMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rum") .withSigningRegion(value: config.signingRegion) .build() @@ -674,6 +701,8 @@ extension RUMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rum") .withSigningRegion(value: config.signingRegion) .build() @@ -746,6 +775,8 @@ extension RUMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rum") .withSigningRegion(value: config.signingRegion) .build() @@ -818,6 +849,8 @@ extension RUMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rum") .withSigningRegion(value: config.signingRegion) .build() @@ -889,6 +922,8 @@ extension RUMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rum") .withSigningRegion(value: config.signingRegion) .build() @@ -962,6 +997,8 @@ extension RUMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rum") .withSigningRegion(value: config.signingRegion) .build() @@ -1033,6 +1070,8 @@ extension RUMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rum") .withSigningRegion(value: config.signingRegion) .build() @@ -1103,6 +1142,8 @@ extension RUMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rum") .withSigningRegion(value: config.signingRegion) .build() @@ -1174,6 +1215,8 @@ extension RUMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rum") .withSigningRegion(value: config.signingRegion) .build() @@ -1249,6 +1292,8 @@ extension RUMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rum") .withSigningRegion(value: config.signingRegion) .build() @@ -1321,6 +1366,8 @@ extension RUMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rum") .withSigningRegion(value: config.signingRegion) .build() @@ -1393,6 +1440,8 @@ extension RUMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rum") .withSigningRegion(value: config.signingRegion) .build() @@ -1466,6 +1515,8 @@ extension RUMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rum") .withSigningRegion(value: config.signingRegion) .build() @@ -1542,6 +1593,8 @@ extension RUMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rum") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSRbin/Package.swift.txt b/Sources/Services/AWSRbin/Package.swift.txt index 1578032f555..bf5774b1175 100644 --- a/Sources/Services/AWSRbin/Package.swift.txt +++ b/Sources/Services/AWSRbin/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSRbin/Sources/AWSRbin/RbinClient.swift b/Sources/Services/AWSRbin/Sources/AWSRbin/RbinClient.swift index aa7553d2884..19a480db6be 100644 --- a/Sources/Services/AWSRbin/Sources/AWSRbin/RbinClient.swift +++ b/Sources/Services/AWSRbin/Sources/AWSRbin/RbinClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RbinClient: ClientRuntime.Client { public static let clientName = "RbinClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: RbinClient.RbinClientConfiguration let serviceName = "rbin" @@ -94,6 +95,8 @@ extension RbinClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension RbinClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension RbinClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension RbinClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension RbinClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension RbinClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension RbinClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension RbinClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension RbinClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -376,6 +395,8 @@ extension RbinClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rbin") .withSigningRegion(value: config.signingRegion) .build() @@ -449,6 +470,8 @@ extension RbinClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rbin") .withSigningRegion(value: config.signingRegion) .build() @@ -518,6 +541,8 @@ extension RbinClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rbin") .withSigningRegion(value: config.signingRegion) .build() @@ -586,6 +611,8 @@ extension RbinClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rbin") .withSigningRegion(value: config.signingRegion) .build() @@ -658,6 +685,8 @@ extension RbinClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rbin") .withSigningRegion(value: config.signingRegion) .build() @@ -728,6 +757,8 @@ extension RbinClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rbin") .withSigningRegion(value: config.signingRegion) .build() @@ -801,6 +832,8 @@ extension RbinClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rbin") .withSigningRegion(value: config.signingRegion) .build() @@ -874,6 +907,8 @@ extension RbinClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rbin") .withSigningRegion(value: config.signingRegion) .build() @@ -943,6 +978,8 @@ extension RbinClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rbin") .withSigningRegion(value: config.signingRegion) .build() @@ -1015,6 +1052,8 @@ extension RbinClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rbin") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSRedshift/Package.swift.txt b/Sources/Services/AWSRedshift/Package.swift.txt index 1ce613b41dc..ebea5f95473 100644 --- a/Sources/Services/AWSRedshift/Package.swift.txt +++ b/Sources/Services/AWSRedshift/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSRedshift/Sources/AWSRedshift/RedshiftClient.swift b/Sources/Services/AWSRedshift/Sources/AWSRedshift/RedshiftClient.swift index 7bd495cc175..e1a32ddb26b 100644 --- a/Sources/Services/AWSRedshift/Sources/AWSRedshift/RedshiftClient.swift +++ b/Sources/Services/AWSRedshift/Sources/AWSRedshift/RedshiftClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPRequest import class SmithyHTTPAPI.HTTPResponse import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RedshiftClient: ClientRuntime.Client { public static let clientName = "RedshiftClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: RedshiftClient.RedshiftClientConfiguration let serviceName = "Redshift" @@ -93,6 +94,8 @@ extension RedshiftClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension RedshiftClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension RedshiftClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension RedshiftClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension RedshiftClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension RedshiftClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension RedshiftClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension RedshiftClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension RedshiftClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -445,6 +466,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -516,6 +539,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -589,6 +614,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -659,6 +686,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -734,6 +763,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -810,6 +841,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -880,6 +913,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -951,6 +986,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -1024,6 +1061,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -1099,6 +1138,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -1171,6 +1212,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -1276,6 +1319,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -1349,6 +1394,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -1422,6 +1469,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -1498,6 +1547,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -1575,6 +1626,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -1647,6 +1700,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -1726,6 +1781,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -1806,6 +1863,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -1879,6 +1938,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -1952,6 +2013,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -2030,6 +2093,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -2104,6 +2169,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -2181,6 +2248,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -2256,6 +2325,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -2331,6 +2402,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -2404,6 +2477,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -2480,6 +2555,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -2550,6 +2627,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -2621,6 +2700,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -2695,6 +2776,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -2766,6 +2849,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -2837,6 +2922,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -2908,6 +2995,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -2980,6 +3069,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -3053,6 +3144,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -3127,6 +3220,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -3198,6 +3293,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -3269,6 +3366,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -3340,6 +3439,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -3413,6 +3514,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -3486,6 +3589,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -3559,6 +3664,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -3630,6 +3737,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -3701,6 +3810,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -3772,6 +3883,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -3843,6 +3956,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -3914,6 +4029,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -3985,6 +4102,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -4057,6 +4176,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -4122,6 +4243,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -4193,6 +4316,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -4264,6 +4389,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -4335,6 +4462,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -4405,6 +4534,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -4476,6 +4607,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -4549,6 +4682,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -4620,6 +4755,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -4691,6 +4828,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -4756,6 +4895,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -4827,6 +4968,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -4898,6 +5041,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -4968,6 +5113,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -5038,6 +5185,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -5108,6 +5257,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -5173,6 +5324,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -5245,6 +5398,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -5316,6 +5471,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -5381,6 +5538,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -5452,6 +5611,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -5517,6 +5678,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -5588,6 +5751,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -5659,6 +5824,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -5731,6 +5898,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -5802,6 +5971,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -5873,6 +6044,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -5947,6 +6120,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -6012,6 +6187,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -6084,6 +6261,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -6157,6 +6336,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -6229,6 +6410,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -6301,6 +6484,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -6372,6 +6557,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -6444,6 +6631,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -6515,6 +6704,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -6586,6 +6777,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -6651,6 +6844,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -6716,6 +6911,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -6787,6 +6984,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -6867,6 +7066,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -6946,6 +7147,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -7018,6 +7221,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -7092,6 +7297,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -7163,6 +7370,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -7239,6 +7448,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -7319,6 +7530,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -7392,6 +7605,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -7463,6 +7678,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -7534,6 +7751,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -7611,6 +7830,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -7686,6 +7907,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -7758,6 +7981,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -7829,6 +8054,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -7901,6 +8128,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -7973,6 +8202,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -8075,6 +8306,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -8148,6 +8381,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -8219,6 +8454,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -8290,6 +8527,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -8361,6 +8600,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -8433,6 +8674,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -8505,6 +8748,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -8591,6 +8836,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -8664,6 +8911,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -8739,6 +8988,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -8817,6 +9068,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -8891,6 +9144,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -8964,6 +9219,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -9040,6 +9297,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -9114,6 +9373,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -9186,6 +9447,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -9258,6 +9521,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -9330,6 +9595,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -9403,6 +9670,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -9476,6 +9745,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -9547,6 +9818,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -9619,6 +9892,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -9689,6 +9964,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -9760,6 +10037,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -9863,6 +10142,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -9976,6 +10257,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -10052,6 +10335,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -10125,6 +10410,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -10197,6 +10484,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -10273,6 +10562,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -10346,6 +10637,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -10419,6 +10712,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() @@ -10492,6 +10787,8 @@ extension RedshiftClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSRedshiftData/Package.swift.txt b/Sources/Services/AWSRedshiftData/Package.swift.txt index 221fe7b3aaf..0cb31bb033c 100644 --- a/Sources/Services/AWSRedshiftData/Package.swift.txt +++ b/Sources/Services/AWSRedshiftData/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSRedshiftData/Sources/AWSRedshiftData/RedshiftDataClient.swift b/Sources/Services/AWSRedshiftData/Sources/AWSRedshiftData/RedshiftDataClient.swift index 645ff29d1a9..f032b4ec261 100644 --- a/Sources/Services/AWSRedshiftData/Sources/AWSRedshiftData/RedshiftDataClient.swift +++ b/Sources/Services/AWSRedshiftData/Sources/AWSRedshiftData/RedshiftDataClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RedshiftDataClient: ClientRuntime.Client { public static let clientName = "RedshiftDataClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: RedshiftDataClient.RedshiftDataClientConfiguration let serviceName = "Redshift Data" @@ -95,6 +96,8 @@ extension RedshiftDataClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension RedshiftDataClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension RedshiftDataClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension RedshiftDataClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension RedshiftDataClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension RedshiftDataClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension RedshiftDataClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension RedshiftDataClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension RedshiftDataClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -388,6 +407,8 @@ extension RedshiftDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-data") .withSigningRegion(value: config.signingRegion) .build() @@ -463,6 +484,8 @@ extension RedshiftDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-data") .withSigningRegion(value: config.signingRegion) .build() @@ -536,6 +559,8 @@ extension RedshiftDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-data") .withSigningRegion(value: config.signingRegion) .build() @@ -626,6 +651,8 @@ extension RedshiftDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-data") .withSigningRegion(value: config.signingRegion) .build() @@ -717,6 +744,8 @@ extension RedshiftDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-data") .withSigningRegion(value: config.signingRegion) .build() @@ -791,6 +820,8 @@ extension RedshiftDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-data") .withSigningRegion(value: config.signingRegion) .build() @@ -864,6 +895,8 @@ extension RedshiftDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-data") .withSigningRegion(value: config.signingRegion) .build() @@ -954,6 +987,8 @@ extension RedshiftDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-data") .withSigningRegion(value: config.signingRegion) .build() @@ -1044,6 +1079,8 @@ extension RedshiftDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-data") .withSigningRegion(value: config.signingRegion) .build() @@ -1116,6 +1153,8 @@ extension RedshiftDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-data") .withSigningRegion(value: config.signingRegion) .build() @@ -1206,6 +1245,8 @@ extension RedshiftDataClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-data") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSRedshiftServerless/Package.swift.txt b/Sources/Services/AWSRedshiftServerless/Package.swift.txt index effb3559492..f0951eda34e 100644 --- a/Sources/Services/AWSRedshiftServerless/Package.swift.txt +++ b/Sources/Services/AWSRedshiftServerless/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSRedshiftServerless/Sources/AWSRedshiftServerless/RedshiftServerlessClient.swift b/Sources/Services/AWSRedshiftServerless/Sources/AWSRedshiftServerless/RedshiftServerlessClient.swift index 0197cdde6e8..a916f4c67eb 100644 --- a/Sources/Services/AWSRedshiftServerless/Sources/AWSRedshiftServerless/RedshiftServerlessClient.swift +++ b/Sources/Services/AWSRedshiftServerless/Sources/AWSRedshiftServerless/RedshiftServerlessClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RedshiftServerlessClient: ClientRuntime.Client { public static let clientName = "RedshiftServerlessClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: RedshiftServerlessClient.RedshiftServerlessClientConfiguration let serviceName = "Redshift Serverless" @@ -94,6 +95,8 @@ extension RedshiftServerlessClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension RedshiftServerlessClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension RedshiftServerlessClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension RedshiftServerlessClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension RedshiftServerlessClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension RedshiftServerlessClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension RedshiftServerlessClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension RedshiftServerlessClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension RedshiftServerlessClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -448,6 +469,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -524,6 +547,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -598,6 +623,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -672,6 +699,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -748,6 +777,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -824,6 +855,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -899,6 +932,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -985,6 +1020,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -1061,6 +1098,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -1135,6 +1174,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -1209,6 +1250,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -1282,6 +1325,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -1355,6 +1400,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -1429,6 +1476,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -1504,6 +1553,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -1578,6 +1629,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -1652,6 +1705,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -1725,6 +1780,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -1801,6 +1858,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -1875,6 +1934,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -1948,6 +2009,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -2022,6 +2085,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -2095,6 +2160,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -2168,6 +2235,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -2241,6 +2310,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -2313,6 +2384,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -2387,6 +2460,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -2460,6 +2535,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -2535,6 +2612,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -2609,6 +2688,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -2681,6 +2762,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -2753,6 +2836,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -2825,6 +2910,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -2899,6 +2986,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -2974,6 +3063,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -3047,6 +3138,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -3120,6 +3213,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -3194,6 +3289,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -3269,6 +3366,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -3341,6 +3440,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -3416,6 +3517,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -3490,6 +3593,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -3565,6 +3670,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -3639,6 +3746,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -3713,6 +3822,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -3788,6 +3899,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -3862,6 +3975,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -3938,6 +4053,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -4013,6 +4130,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -4087,6 +4206,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -4161,6 +4282,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -4235,6 +4358,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -4310,6 +4435,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -4384,6 +4511,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() @@ -4469,6 +4598,8 @@ extension RedshiftServerlessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "redshift-serverless") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSRekognition/Package.swift.txt b/Sources/Services/AWSRekognition/Package.swift.txt index 955b633ff0a..70f39327a38 100644 --- a/Sources/Services/AWSRekognition/Package.swift.txt +++ b/Sources/Services/AWSRekognition/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSRekognition/Sources/AWSRekognition/RekognitionClient.swift b/Sources/Services/AWSRekognition/Sources/AWSRekognition/RekognitionClient.swift index 950e61ebcf3..aac0eaa117e 100644 --- a/Sources/Services/AWSRekognition/Sources/AWSRekognition/RekognitionClient.swift +++ b/Sources/Services/AWSRekognition/Sources/AWSRekognition/RekognitionClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RekognitionClient: ClientRuntime.Client { public static let clientName = "RekognitionClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: RekognitionClient.RekognitionClientConfiguration let serviceName = "Rekognition" @@ -95,6 +96,8 @@ extension RekognitionClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension RekognitionClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension RekognitionClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension RekognitionClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension RekognitionClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension RekognitionClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension RekognitionClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension RekognitionClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension RekognitionClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -382,6 +401,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -461,6 +482,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -540,6 +563,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -617,6 +642,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -696,6 +723,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -771,6 +800,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -848,6 +879,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -927,6 +960,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -1012,6 +1047,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -1091,6 +1128,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -1168,6 +1207,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -1246,6 +1287,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -1322,6 +1365,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -1399,6 +1444,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -1476,6 +1523,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -1553,6 +1602,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -1630,6 +1681,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -1708,6 +1761,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -1785,6 +1840,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -1861,6 +1918,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -1938,6 +1997,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -2014,6 +2075,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -2090,6 +2153,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -2174,6 +2239,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -2252,6 +2319,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -2362,6 +2431,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -2446,6 +2517,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -2542,6 +2615,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -2620,6 +2695,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -2698,6 +2775,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -2779,6 +2858,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -2855,6 +2936,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -2932,6 +3015,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -3009,6 +3094,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -3086,6 +3173,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -3162,6 +3251,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -3239,6 +3330,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -3333,6 +3426,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -3409,6 +3504,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -3486,6 +3583,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -3563,6 +3662,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -3640,6 +3741,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -3746,6 +3849,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -3823,6 +3928,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -3905,6 +4012,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -3987,6 +4096,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -4064,6 +4175,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -4140,6 +4253,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -4217,6 +4332,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -4293,6 +4410,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -4369,6 +4488,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -4446,6 +4567,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -4527,6 +4650,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -4605,6 +4730,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -4681,6 +4808,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -4760,6 +4889,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -4836,6 +4967,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -4915,6 +5048,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -4994,6 +5129,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -5073,6 +5210,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -5152,6 +5291,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -5232,6 +5373,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -5311,6 +5454,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -5395,6 +5540,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -5475,6 +5622,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -5553,6 +5702,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -5632,6 +5783,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -5709,6 +5862,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -5788,6 +5943,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -5865,6 +6022,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -5942,6 +6101,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -6019,6 +6180,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -6095,6 +6258,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -6173,6 +6338,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() @@ -6250,6 +6417,8 @@ extension RekognitionClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rekognition") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSRepostspace/Package.swift.txt b/Sources/Services/AWSRepostspace/Package.swift.txt index 81b550ec503..72b7c2a4145 100644 --- a/Sources/Services/AWSRepostspace/Package.swift.txt +++ b/Sources/Services/AWSRepostspace/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSRepostspace/Sources/AWSRepostspace/RepostspaceClient.swift b/Sources/Services/AWSRepostspace/Sources/AWSRepostspace/RepostspaceClient.swift index dd891ccfbb6..1e641666d41 100644 --- a/Sources/Services/AWSRepostspace/Sources/AWSRepostspace/RepostspaceClient.swift +++ b/Sources/Services/AWSRepostspace/Sources/AWSRepostspace/RepostspaceClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RepostspaceClient: ClientRuntime.Client { public static let clientName = "RepostspaceClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: RepostspaceClient.RepostspaceClientConfiguration let serviceName = "repostspace" @@ -94,6 +95,8 @@ extension RepostspaceClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension RepostspaceClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension RepostspaceClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension RepostspaceClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension RepostspaceClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension RepostspaceClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension RepostspaceClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension RepostspaceClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension RepostspaceClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension RepostspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "repostspace") .withSigningRegion(value: config.signingRegion) .build() @@ -445,6 +466,8 @@ extension RepostspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "repostspace") .withSigningRegion(value: config.signingRegion) .build() @@ -521,6 +544,8 @@ extension RepostspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "repostspace") .withSigningRegion(value: config.signingRegion) .build() @@ -595,6 +620,8 @@ extension RepostspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "repostspace") .withSigningRegion(value: config.signingRegion) .build() @@ -666,6 +693,8 @@ extension RepostspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "repostspace") .withSigningRegion(value: config.signingRegion) .build() @@ -737,6 +766,8 @@ extension RepostspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "repostspace") .withSigningRegion(value: config.signingRegion) .build() @@ -807,6 +838,8 @@ extension RepostspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "repostspace") .withSigningRegion(value: config.signingRegion) .build() @@ -879,6 +912,8 @@ extension RepostspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "repostspace") .withSigningRegion(value: config.signingRegion) .build() @@ -950,6 +985,8 @@ extension RepostspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "repostspace") .withSigningRegion(value: config.signingRegion) .build() @@ -1021,6 +1058,8 @@ extension RepostspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "repostspace") .withSigningRegion(value: config.signingRegion) .build() @@ -1095,6 +1134,8 @@ extension RepostspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "repostspace") .withSigningRegion(value: config.signingRegion) .build() @@ -1169,6 +1210,8 @@ extension RepostspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "repostspace") .withSigningRegion(value: config.signingRegion) .build() @@ -1242,6 +1285,8 @@ extension RepostspaceClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "repostspace") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSResiliencehub/Package.swift.txt b/Sources/Services/AWSResiliencehub/Package.swift.txt index e6fb3c375d6..c8910254b56 100644 --- a/Sources/Services/AWSResiliencehub/Package.swift.txt +++ b/Sources/Services/AWSResiliencehub/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSResiliencehub/Sources/AWSResiliencehub/ResiliencehubClient.swift b/Sources/Services/AWSResiliencehub/Sources/AWSResiliencehub/ResiliencehubClient.swift index 905a378584c..cd9716adb9e 100644 --- a/Sources/Services/AWSResiliencehub/Sources/AWSResiliencehub/ResiliencehubClient.swift +++ b/Sources/Services/AWSResiliencehub/Sources/AWSResiliencehub/ResiliencehubClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ResiliencehubClient: ClientRuntime.Client { public static let clientName = "ResiliencehubClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ResiliencehubClient.ResiliencehubClientConfiguration let serviceName = "resiliencehub" @@ -95,6 +96,8 @@ extension ResiliencehubClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension ResiliencehubClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension ResiliencehubClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension ResiliencehubClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension ResiliencehubClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension ResiliencehubClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension ResiliencehubClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension ResiliencehubClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension ResiliencehubClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -448,6 +469,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -522,6 +545,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -598,6 +623,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -675,6 +702,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -758,6 +787,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -835,6 +866,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -911,6 +944,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -986,6 +1021,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -1062,6 +1099,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -1138,6 +1177,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -1218,6 +1259,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -1300,6 +1343,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -1375,6 +1420,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -1451,6 +1498,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -1526,6 +1575,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -1600,6 +1651,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -1674,6 +1727,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -1749,6 +1804,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -1830,6 +1887,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -1904,6 +1963,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -1978,6 +2039,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -2052,6 +2115,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -2126,6 +2191,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -2200,6 +2267,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -2274,6 +2343,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -2350,6 +2421,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -2424,6 +2497,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -2497,6 +2572,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -2570,6 +2647,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -2644,6 +2723,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -2716,6 +2797,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -2790,6 +2873,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -2864,6 +2949,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -2939,6 +3026,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -3013,6 +3102,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -3088,6 +3179,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -3161,6 +3254,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -3234,6 +3329,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -3305,6 +3402,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -3378,6 +3477,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -3450,6 +3551,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -3522,6 +3625,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -3595,6 +3700,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -3669,6 +3776,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -3741,6 +3850,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -3813,6 +3924,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -3888,6 +4001,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -3963,6 +4078,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -4038,6 +4155,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -4112,6 +4231,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -4187,6 +4308,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -4262,6 +4385,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -4338,6 +4463,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -4414,6 +4541,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -4490,6 +4619,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -4564,6 +4695,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -4638,6 +4771,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -4711,6 +4846,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -4786,6 +4923,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -4861,6 +5000,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -4943,6 +5084,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() @@ -5018,6 +5161,8 @@ extension ResiliencehubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resiliencehub") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSResourceExplorer2/Package.swift.txt b/Sources/Services/AWSResourceExplorer2/Package.swift.txt index b0e50408b5e..c4e47401830 100644 --- a/Sources/Services/AWSResourceExplorer2/Package.swift.txt +++ b/Sources/Services/AWSResourceExplorer2/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSResourceExplorer2/Sources/AWSResourceExplorer2/ResourceExplorer2Client.swift b/Sources/Services/AWSResourceExplorer2/Sources/AWSResourceExplorer2/ResourceExplorer2Client.swift index 1633c11e392..0e114fa62b0 100644 --- a/Sources/Services/AWSResourceExplorer2/Sources/AWSResourceExplorer2/ResourceExplorer2Client.swift +++ b/Sources/Services/AWSResourceExplorer2/Sources/AWSResourceExplorer2/ResourceExplorer2Client.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ResourceExplorer2Client: ClientRuntime.Client { public static let clientName = "ResourceExplorer2Client" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ResourceExplorer2Client.ResourceExplorer2ClientConfiguration let serviceName = "Resource Explorer 2" @@ -95,6 +96,8 @@ extension ResourceExplorer2Client { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension ResourceExplorer2Client { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension ResourceExplorer2Client { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension ResourceExplorer2Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension ResourceExplorer2Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension ResourceExplorer2Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension ResourceExplorer2Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension ResourceExplorer2Client { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension ResourceExplorer2Client { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension ResourceExplorer2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-explorer-2") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension ResourceExplorer2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-explorer-2") .withSigningRegion(value: config.signingRegion) .build() @@ -524,6 +547,8 @@ extension ResourceExplorer2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-explorer-2") .withSigningRegion(value: config.signingRegion) .build() @@ -601,6 +626,8 @@ extension ResourceExplorer2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-explorer-2") .withSigningRegion(value: config.signingRegion) .build() @@ -676,6 +703,8 @@ extension ResourceExplorer2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-explorer-2") .withSigningRegion(value: config.signingRegion) .build() @@ -751,6 +780,8 @@ extension ResourceExplorer2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-explorer-2") .withSigningRegion(value: config.signingRegion) .build() @@ -825,6 +856,8 @@ extension ResourceExplorer2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-explorer-2") .withSigningRegion(value: config.signingRegion) .build() @@ -895,6 +928,8 @@ extension ResourceExplorer2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-explorer-2") .withSigningRegion(value: config.signingRegion) .build() @@ -966,6 +1001,8 @@ extension ResourceExplorer2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-explorer-2") .withSigningRegion(value: config.signingRegion) .build() @@ -1037,6 +1074,8 @@ extension ResourceExplorer2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-explorer-2") .withSigningRegion(value: config.signingRegion) .build() @@ -1109,6 +1148,8 @@ extension ResourceExplorer2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-explorer-2") .withSigningRegion(value: config.signingRegion) .build() @@ -1184,6 +1225,8 @@ extension ResourceExplorer2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-explorer-2") .withSigningRegion(value: config.signingRegion) .build() @@ -1257,6 +1300,8 @@ extension ResourceExplorer2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-explorer-2") .withSigningRegion(value: config.signingRegion) .build() @@ -1330,6 +1375,8 @@ extension ResourceExplorer2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-explorer-2") .withSigningRegion(value: config.signingRegion) .build() @@ -1404,6 +1451,8 @@ extension ResourceExplorer2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-explorer-2") .withSigningRegion(value: config.signingRegion) .build() @@ -1479,6 +1528,8 @@ extension ResourceExplorer2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-explorer-2") .withSigningRegion(value: config.signingRegion) .build() @@ -1552,6 +1603,8 @@ extension ResourceExplorer2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-explorer-2") .withSigningRegion(value: config.signingRegion) .build() @@ -1627,6 +1680,8 @@ extension ResourceExplorer2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-explorer-2") .withSigningRegion(value: config.signingRegion) .build() @@ -1697,6 +1752,8 @@ extension ResourceExplorer2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-explorer-2") .withSigningRegion(value: config.signingRegion) .build() @@ -1772,6 +1829,8 @@ extension ResourceExplorer2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-explorer-2") .withSigningRegion(value: config.signingRegion) .build() @@ -1847,6 +1906,8 @@ extension ResourceExplorer2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-explorer-2") .withSigningRegion(value: config.signingRegion) .build() @@ -1922,6 +1983,8 @@ extension ResourceExplorer2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-explorer-2") .withSigningRegion(value: config.signingRegion) .build() @@ -2000,6 +2063,8 @@ extension ResourceExplorer2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-explorer-2") .withSigningRegion(value: config.signingRegion) .build() @@ -2075,6 +2140,8 @@ extension ResourceExplorer2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-explorer-2") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSResourceGroups/Package.swift.txt b/Sources/Services/AWSResourceGroups/Package.swift.txt index d9a433c9584..45565204aad 100644 --- a/Sources/Services/AWSResourceGroups/Package.swift.txt +++ b/Sources/Services/AWSResourceGroups/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSResourceGroups/Sources/AWSResourceGroups/ResourceGroupsClient.swift b/Sources/Services/AWSResourceGroups/Sources/AWSResourceGroups/ResourceGroupsClient.swift index fcb3834983f..ba37adf8335 100644 --- a/Sources/Services/AWSResourceGroups/Sources/AWSResourceGroups/ResourceGroupsClient.swift +++ b/Sources/Services/AWSResourceGroups/Sources/AWSResourceGroups/ResourceGroupsClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ResourceGroupsClient: ClientRuntime.Client { public static let clientName = "ResourceGroupsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ResourceGroupsClient.ResourceGroupsClientConfiguration let serviceName = "Resource Groups" @@ -94,6 +95,8 @@ extension ResourceGroupsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension ResourceGroupsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension ResourceGroupsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension ResourceGroupsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension ResourceGroupsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension ResourceGroupsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension ResourceGroupsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension ResourceGroupsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension ResourceGroupsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -376,6 +395,8 @@ extension ResourceGroupsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-groups") .withSigningRegion(value: config.signingRegion) .build() @@ -452,6 +473,8 @@ extension ResourceGroupsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-groups") .withSigningRegion(value: config.signingRegion) .build() @@ -529,6 +552,8 @@ extension ResourceGroupsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-groups") .withSigningRegion(value: config.signingRegion) .build() @@ -603,6 +628,8 @@ extension ResourceGroupsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-groups") .withSigningRegion(value: config.signingRegion) .build() @@ -677,6 +704,8 @@ extension ResourceGroupsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-groups") .withSigningRegion(value: config.signingRegion) .build() @@ -754,6 +783,8 @@ extension ResourceGroupsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-groups") .withSigningRegion(value: config.signingRegion) .build() @@ -831,6 +862,8 @@ extension ResourceGroupsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-groups") .withSigningRegion(value: config.signingRegion) .build() @@ -909,6 +942,8 @@ extension ResourceGroupsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-groups") .withSigningRegion(value: config.signingRegion) .build() @@ -986,6 +1021,8 @@ extension ResourceGroupsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-groups") .withSigningRegion(value: config.signingRegion) .build() @@ -1069,6 +1106,8 @@ extension ResourceGroupsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-groups") .withSigningRegion(value: config.signingRegion) .build() @@ -1153,6 +1192,8 @@ extension ResourceGroupsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-groups") .withSigningRegion(value: config.signingRegion) .build() @@ -1227,6 +1268,8 @@ extension ResourceGroupsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-groups") .withSigningRegion(value: config.signingRegion) .build() @@ -1303,6 +1346,8 @@ extension ResourceGroupsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-groups") .withSigningRegion(value: config.signingRegion) .build() @@ -1381,6 +1426,8 @@ extension ResourceGroupsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-groups") .withSigningRegion(value: config.signingRegion) .build() @@ -1458,6 +1505,8 @@ extension ResourceGroupsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-groups") .withSigningRegion(value: config.signingRegion) .build() @@ -1541,6 +1590,8 @@ extension ResourceGroupsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-groups") .withSigningRegion(value: config.signingRegion) .build() @@ -1623,6 +1674,8 @@ extension ResourceGroupsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-groups") .withSigningRegion(value: config.signingRegion) .build() @@ -1700,6 +1753,8 @@ extension ResourceGroupsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-groups") .withSigningRegion(value: config.signingRegion) .build() @@ -1777,6 +1832,8 @@ extension ResourceGroupsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-groups") .withSigningRegion(value: config.signingRegion) .build() @@ -1854,6 +1911,8 @@ extension ResourceGroupsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-groups") .withSigningRegion(value: config.signingRegion) .build() @@ -1928,6 +1987,8 @@ extension ResourceGroupsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-groups") .withSigningRegion(value: config.signingRegion) .build() @@ -2005,6 +2066,8 @@ extension ResourceGroupsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-groups") .withSigningRegion(value: config.signingRegion) .build() @@ -2082,6 +2145,8 @@ extension ResourceGroupsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "resource-groups") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSResourceGroupsTaggingAPI/Package.swift.txt b/Sources/Services/AWSResourceGroupsTaggingAPI/Package.swift.txt index 96764c24369..f1d50f04f14 100644 --- a/Sources/Services/AWSResourceGroupsTaggingAPI/Package.swift.txt +++ b/Sources/Services/AWSResourceGroupsTaggingAPI/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSResourceGroupsTaggingAPI/Sources/AWSResourceGroupsTaggingAPI/ResourceGroupsTaggingAPIClient.swift b/Sources/Services/AWSResourceGroupsTaggingAPI/Sources/AWSResourceGroupsTaggingAPI/ResourceGroupsTaggingAPIClient.swift index 16bbc629072..e100e6782a8 100644 --- a/Sources/Services/AWSResourceGroupsTaggingAPI/Sources/AWSResourceGroupsTaggingAPI/ResourceGroupsTaggingAPIClient.swift +++ b/Sources/Services/AWSResourceGroupsTaggingAPI/Sources/AWSResourceGroupsTaggingAPI/ResourceGroupsTaggingAPIClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ResourceGroupsTaggingAPIClient: ClientRuntime.Client { public static let clientName = "ResourceGroupsTaggingAPIClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ResourceGroupsTaggingAPIClient.ResourceGroupsTaggingAPIClientConfiguration let serviceName = "Resource Groups Tagging API" @@ -93,6 +94,8 @@ extension ResourceGroupsTaggingAPIClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension ResourceGroupsTaggingAPIClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension ResourceGroupsTaggingAPIClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension ResourceGroupsTaggingAPIClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension ResourceGroupsTaggingAPIClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension ResourceGroupsTaggingAPIClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension ResourceGroupsTaggingAPIClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension ResourceGroupsTaggingAPIClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension ResourceGroupsTaggingAPIClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -385,6 +404,8 @@ extension ResourceGroupsTaggingAPIClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tagging") .withSigningRegion(value: config.signingRegion) .build() @@ -475,6 +496,8 @@ extension ResourceGroupsTaggingAPIClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tagging") .withSigningRegion(value: config.signingRegion) .build() @@ -566,6 +589,8 @@ extension ResourceGroupsTaggingAPIClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tagging") .withSigningRegion(value: config.signingRegion) .build() @@ -650,6 +675,8 @@ extension ResourceGroupsTaggingAPIClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tagging") .withSigningRegion(value: config.signingRegion) .build() @@ -734,6 +761,8 @@ extension ResourceGroupsTaggingAPIClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tagging") .withSigningRegion(value: config.signingRegion) .build() @@ -825,6 +854,8 @@ extension ResourceGroupsTaggingAPIClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tagging") .withSigningRegion(value: config.signingRegion) .build() @@ -923,6 +954,8 @@ extension ResourceGroupsTaggingAPIClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tagging") .withSigningRegion(value: config.signingRegion) .build() @@ -1017,6 +1050,8 @@ extension ResourceGroupsTaggingAPIClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tagging") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSRoboMaker/Package.swift.txt b/Sources/Services/AWSRoboMaker/Package.swift.txt index cd8c81c8e47..8e456075572 100644 --- a/Sources/Services/AWSRoboMaker/Package.swift.txt +++ b/Sources/Services/AWSRoboMaker/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSRoboMaker/Sources/AWSRoboMaker/RoboMakerClient.swift b/Sources/Services/AWSRoboMaker/Sources/AWSRoboMaker/RoboMakerClient.swift index 07b47378085..20033e879a3 100644 --- a/Sources/Services/AWSRoboMaker/Sources/AWSRoboMaker/RoboMakerClient.swift +++ b/Sources/Services/AWSRoboMaker/Sources/AWSRoboMaker/RoboMakerClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RoboMakerClient: ClientRuntime.Client { public static let clientName = "RoboMakerClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: RoboMakerClient.RoboMakerClientConfiguration let serviceName = "RoboMaker" @@ -95,6 +96,8 @@ extension RoboMakerClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension RoboMakerClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension RoboMakerClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension RoboMakerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension RoboMakerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension RoboMakerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension RoboMakerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension RoboMakerClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension RoboMakerClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -443,6 +464,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -517,6 +540,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -590,6 +615,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -663,6 +690,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -736,6 +765,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -809,6 +840,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -886,6 +919,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -961,6 +996,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1036,6 +1073,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1111,6 +1150,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1185,6 +1226,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1260,6 +1303,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1334,6 +1379,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1410,6 +1457,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1486,6 +1535,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1563,6 +1614,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1639,6 +1692,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1712,6 +1767,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1785,6 +1842,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1857,6 +1916,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1929,6 +1990,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2002,6 +2065,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2076,6 +2141,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2150,6 +2217,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2224,6 +2293,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2298,6 +2369,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2371,6 +2444,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2444,6 +2519,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2517,6 +2594,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2589,6 +2668,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2662,6 +2743,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2735,6 +2818,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2808,6 +2893,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2881,6 +2968,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2954,6 +3043,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -3028,6 +3119,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -3102,6 +3195,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -3174,6 +3269,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -3248,6 +3345,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -3320,6 +3419,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -3391,6 +3492,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -3463,6 +3566,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -3536,6 +3641,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -3605,6 +3712,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -3677,6 +3786,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -3749,6 +3860,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -3821,6 +3934,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -3896,6 +4011,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -3970,6 +4087,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -4044,6 +4163,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -4122,6 +4243,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -4196,6 +4319,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -4269,6 +4394,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -4341,6 +4468,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -4415,6 +4544,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() @@ -4488,6 +4619,8 @@ extension RoboMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "robomaker") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSRolesAnywhere/Package.swift.txt b/Sources/Services/AWSRolesAnywhere/Package.swift.txt index c64b227f893..1354b4cf923 100644 --- a/Sources/Services/AWSRolesAnywhere/Package.swift.txt +++ b/Sources/Services/AWSRolesAnywhere/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSRolesAnywhere/Sources/AWSRolesAnywhere/RolesAnywhereClient.swift b/Sources/Services/AWSRolesAnywhere/Sources/AWSRolesAnywhere/RolesAnywhereClient.swift index 55e584e3786..754d9b87600 100644 --- a/Sources/Services/AWSRolesAnywhere/Sources/AWSRolesAnywhere/RolesAnywhereClient.swift +++ b/Sources/Services/AWSRolesAnywhere/Sources/AWSRolesAnywhere/RolesAnywhereClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class RolesAnywhereClient: ClientRuntime.Client { public static let clientName = "RolesAnywhereClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: RolesAnywhereClient.RolesAnywhereClientConfiguration let serviceName = "RolesAnywhere" @@ -94,6 +95,8 @@ extension RolesAnywhereClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension RolesAnywhereClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension RolesAnywhereClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension RolesAnywhereClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension RolesAnywhereClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension RolesAnywhereClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension RolesAnywhereClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension RolesAnywhereClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension RolesAnywhereClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -368,6 +387,8 @@ extension RolesAnywhereClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rolesanywhere") .withSigningRegion(value: config.signingRegion) .build() @@ -439,6 +460,8 @@ extension RolesAnywhereClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rolesanywhere") .withSigningRegion(value: config.signingRegion) .build() @@ -511,6 +534,8 @@ extension RolesAnywhereClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rolesanywhere") .withSigningRegion(value: config.signingRegion) .build() @@ -580,6 +605,8 @@ extension RolesAnywhereClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rolesanywhere") .withSigningRegion(value: config.signingRegion) .build() @@ -648,6 +675,8 @@ extension RolesAnywhereClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rolesanywhere") .withSigningRegion(value: config.signingRegion) .build() @@ -716,6 +745,8 @@ extension RolesAnywhereClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rolesanywhere") .withSigningRegion(value: config.signingRegion) .build() @@ -784,6 +815,8 @@ extension RolesAnywhereClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rolesanywhere") .withSigningRegion(value: config.signingRegion) .build() @@ -852,6 +885,8 @@ extension RolesAnywhereClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rolesanywhere") .withSigningRegion(value: config.signingRegion) .build() @@ -920,6 +955,8 @@ extension RolesAnywhereClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rolesanywhere") .withSigningRegion(value: config.signingRegion) .build() @@ -988,6 +1025,8 @@ extension RolesAnywhereClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rolesanywhere") .withSigningRegion(value: config.signingRegion) .build() @@ -1056,6 +1095,8 @@ extension RolesAnywhereClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rolesanywhere") .withSigningRegion(value: config.signingRegion) .build() @@ -1124,6 +1165,8 @@ extension RolesAnywhereClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rolesanywhere") .withSigningRegion(value: config.signingRegion) .build() @@ -1191,6 +1234,8 @@ extension RolesAnywhereClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rolesanywhere") .withSigningRegion(value: config.signingRegion) .build() @@ -1259,6 +1304,8 @@ extension RolesAnywhereClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rolesanywhere") .withSigningRegion(value: config.signingRegion) .build() @@ -1327,6 +1374,8 @@ extension RolesAnywhereClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rolesanywhere") .withSigningRegion(value: config.signingRegion) .build() @@ -1396,6 +1445,8 @@ extension RolesAnywhereClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rolesanywhere") .withSigningRegion(value: config.signingRegion) .build() @@ -1464,6 +1515,8 @@ extension RolesAnywhereClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rolesanywhere") .withSigningRegion(value: config.signingRegion) .build() @@ -1535,6 +1588,8 @@ extension RolesAnywhereClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rolesanywhere") .withSigningRegion(value: config.signingRegion) .build() @@ -1604,6 +1659,8 @@ extension RolesAnywhereClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rolesanywhere") .withSigningRegion(value: config.signingRegion) .build() @@ -1673,6 +1730,8 @@ extension RolesAnywhereClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rolesanywhere") .withSigningRegion(value: config.signingRegion) .build() @@ -1743,6 +1802,8 @@ extension RolesAnywhereClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rolesanywhere") .withSigningRegion(value: config.signingRegion) .build() @@ -1812,6 +1873,8 @@ extension RolesAnywhereClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rolesanywhere") .withSigningRegion(value: config.signingRegion) .build() @@ -1882,6 +1945,8 @@ extension RolesAnywhereClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rolesanywhere") .withSigningRegion(value: config.signingRegion) .build() @@ -1954,6 +2019,8 @@ extension RolesAnywhereClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rolesanywhere") .withSigningRegion(value: config.signingRegion) .build() @@ -2026,6 +2093,8 @@ extension RolesAnywhereClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rolesanywhere") .withSigningRegion(value: config.signingRegion) .build() @@ -2099,6 +2168,8 @@ extension RolesAnywhereClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rolesanywhere") .withSigningRegion(value: config.signingRegion) .build() @@ -2171,6 +2242,8 @@ extension RolesAnywhereClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rolesanywhere") .withSigningRegion(value: config.signingRegion) .build() @@ -2243,6 +2316,8 @@ extension RolesAnywhereClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rolesanywhere") .withSigningRegion(value: config.signingRegion) .build() @@ -2315,6 +2390,8 @@ extension RolesAnywhereClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rolesanywhere") .withSigningRegion(value: config.signingRegion) .build() @@ -2387,6 +2464,8 @@ extension RolesAnywhereClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "rolesanywhere") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSRoute53/Package.swift.txt b/Sources/Services/AWSRoute53/Package.swift.txt index fd87d33891d..0c29a489b2c 100644 --- a/Sources/Services/AWSRoute53/Package.swift.txt +++ b/Sources/Services/AWSRoute53/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSRoute53/Sources/AWSRoute53/Route53Client.swift b/Sources/Services/AWSRoute53/Sources/AWSRoute53/Route53Client.swift index a2cc8f01f35..56bf288abc5 100644 --- a/Sources/Services/AWSRoute53/Sources/AWSRoute53/Route53Client.swift +++ b/Sources/Services/AWSRoute53/Sources/AWSRoute53/Route53Client.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyXML.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Route53Client: ClientRuntime.Client { public static let clientName = "Route53Client" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: Route53Client.Route53ClientConfiguration let serviceName = "Route 53" @@ -94,6 +95,8 @@ extension Route53Client { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension Route53Client { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension Route53Client { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension Route53Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension Route53Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension Route53Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension Route53Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension Route53Client { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension Route53Client { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -462,6 +483,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -542,6 +565,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -625,6 +650,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -700,6 +727,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -773,6 +802,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -855,6 +886,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -957,6 +990,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -1036,6 +1071,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -1162,6 +1199,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -1259,6 +1298,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -1332,6 +1373,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -1406,6 +1449,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -1480,6 +1525,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -1554,6 +1601,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -1631,6 +1680,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -1702,6 +1753,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -1771,6 +1824,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -1846,6 +1901,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -1919,6 +1976,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -1989,6 +2048,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -2059,6 +2120,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -2136,6 +2199,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -2205,6 +2270,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -2276,6 +2343,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -2354,6 +2423,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -2446,6 +2517,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -2525,6 +2598,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -2593,6 +2668,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -2665,6 +2742,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -2727,6 +2806,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -2796,6 +2877,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -2865,6 +2948,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -2935,6 +3020,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -2997,6 +3084,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -3065,6 +3154,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -3133,6 +3224,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -3201,6 +3294,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -3269,6 +3364,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -3338,6 +3435,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -3407,6 +3506,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -3476,6 +3577,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -3545,6 +3648,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -3614,6 +3719,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -3682,6 +3789,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -3744,6 +3853,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -3813,6 +3924,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -3881,6 +3994,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -3950,6 +4065,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -4018,6 +4135,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -4087,6 +4206,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -4157,6 +4278,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -4234,6 +4357,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -4319,6 +4444,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -4389,6 +4516,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -4458,6 +4587,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -4527,6 +4658,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -4599,6 +4732,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -4670,6 +4805,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -4740,6 +4877,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -4809,6 +4948,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -4879,6 +5020,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -4949,6 +5092,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -5018,6 +5163,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -5088,6 +5235,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -5158,6 +5307,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -5228,6 +5379,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -5300,6 +5453,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -5373,6 +5528,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() @@ -5453,6 +5610,8 @@ extension Route53Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSRoute53Domains/Package.swift.txt b/Sources/Services/AWSRoute53Domains/Package.swift.txt index 0f2b77985bb..e83eadc1d34 100644 --- a/Sources/Services/AWSRoute53Domains/Package.swift.txt +++ b/Sources/Services/AWSRoute53Domains/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSRoute53Domains/Sources/AWSRoute53Domains/Route53DomainsClient.swift b/Sources/Services/AWSRoute53Domains/Sources/AWSRoute53Domains/Route53DomainsClient.swift index a97467e1c9d..163efadb1c5 100644 --- a/Sources/Services/AWSRoute53Domains/Sources/AWSRoute53Domains/Route53DomainsClient.swift +++ b/Sources/Services/AWSRoute53Domains/Sources/AWSRoute53Domains/Route53DomainsClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Route53DomainsClient: ClientRuntime.Client { public static let clientName = "Route53DomainsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: Route53DomainsClient.Route53DomainsClientConfiguration let serviceName = "Route 53 Domains" @@ -94,6 +95,8 @@ extension Route53DomainsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension Route53DomainsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension Route53DomainsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension Route53DomainsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension Route53DomainsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension Route53DomainsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension Route53DomainsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension Route53DomainsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension Route53DomainsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension Route53DomainsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53domains") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension Route53DomainsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53domains") .withSigningRegion(value: config.signingRegion) .build() @@ -519,6 +542,8 @@ extension Route53DomainsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53domains") .withSigningRegion(value: config.signingRegion) .build() @@ -591,6 +616,8 @@ extension Route53DomainsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53domains") .withSigningRegion(value: config.signingRegion) .build() @@ -663,6 +690,8 @@ extension Route53DomainsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53domains") .withSigningRegion(value: config.signingRegion) .build() @@ -743,6 +772,8 @@ extension Route53DomainsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53domains") .withSigningRegion(value: config.signingRegion) .build() @@ -816,6 +847,8 @@ extension Route53DomainsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53domains") .withSigningRegion(value: config.signingRegion) .build() @@ -888,6 +921,8 @@ extension Route53DomainsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53domains") .withSigningRegion(value: config.signingRegion) .build() @@ -963,6 +998,8 @@ extension Route53DomainsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53domains") .withSigningRegion(value: config.signingRegion) .build() @@ -1038,6 +1075,8 @@ extension Route53DomainsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53domains") .withSigningRegion(value: config.signingRegion) .build() @@ -1111,6 +1150,8 @@ extension Route53DomainsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53domains") .withSigningRegion(value: config.signingRegion) .build() @@ -1186,6 +1227,8 @@ extension Route53DomainsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53domains") .withSigningRegion(value: config.signingRegion) .build() @@ -1259,6 +1302,8 @@ extension Route53DomainsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53domains") .withSigningRegion(value: config.signingRegion) .build() @@ -1331,6 +1376,8 @@ extension Route53DomainsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53domains") .withSigningRegion(value: config.signingRegion) .build() @@ -1403,6 +1450,8 @@ extension Route53DomainsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53domains") .withSigningRegion(value: config.signingRegion) .build() @@ -1474,6 +1523,8 @@ extension Route53DomainsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53domains") .withSigningRegion(value: config.signingRegion) .build() @@ -1545,6 +1596,8 @@ extension Route53DomainsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53domains") .withSigningRegion(value: config.signingRegion) .build() @@ -1616,6 +1669,8 @@ extension Route53DomainsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53domains") .withSigningRegion(value: config.signingRegion) .build() @@ -1698,6 +1753,8 @@ extension Route53DomainsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53domains") .withSigningRegion(value: config.signingRegion) .build() @@ -1771,6 +1828,8 @@ extension Route53DomainsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53domains") .withSigningRegion(value: config.signingRegion) .build() @@ -1846,6 +1905,8 @@ extension Route53DomainsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53domains") .withSigningRegion(value: config.signingRegion) .build() @@ -1932,6 +1993,8 @@ extension Route53DomainsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53domains") .withSigningRegion(value: config.signingRegion) .build() @@ -2005,6 +2068,8 @@ extension Route53DomainsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53domains") .withSigningRegion(value: config.signingRegion) .build() @@ -2080,6 +2145,8 @@ extension Route53DomainsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53domains") .withSigningRegion(value: config.signingRegion) .build() @@ -2153,6 +2220,8 @@ extension Route53DomainsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53domains") .withSigningRegion(value: config.signingRegion) .build() @@ -2224,6 +2293,8 @@ extension Route53DomainsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53domains") .withSigningRegion(value: config.signingRegion) .build() @@ -2296,6 +2367,8 @@ extension Route53DomainsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53domains") .withSigningRegion(value: config.signingRegion) .build() @@ -2381,6 +2454,8 @@ extension Route53DomainsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53domains") .withSigningRegion(value: config.signingRegion) .build() @@ -2464,6 +2539,8 @@ extension Route53DomainsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53domains") .withSigningRegion(value: config.signingRegion) .build() @@ -2539,6 +2616,8 @@ extension Route53DomainsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53domains") .withSigningRegion(value: config.signingRegion) .build() @@ -2614,6 +2693,8 @@ extension Route53DomainsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53domains") .withSigningRegion(value: config.signingRegion) .build() @@ -2689,6 +2770,8 @@ extension Route53DomainsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53domains") .withSigningRegion(value: config.signingRegion) .build() @@ -2762,6 +2845,8 @@ extension Route53DomainsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53domains") .withSigningRegion(value: config.signingRegion) .build() @@ -2833,6 +2918,8 @@ extension Route53DomainsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53domains") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSRoute53Profiles/Package.swift.txt b/Sources/Services/AWSRoute53Profiles/Package.swift.txt index fcf10502ce8..9c3f93a7262 100644 --- a/Sources/Services/AWSRoute53Profiles/Package.swift.txt +++ b/Sources/Services/AWSRoute53Profiles/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSRoute53Profiles/Sources/AWSRoute53Profiles/Route53ProfilesClient.swift b/Sources/Services/AWSRoute53Profiles/Sources/AWSRoute53Profiles/Route53ProfilesClient.swift index c61fac13968..78113e429b4 100644 --- a/Sources/Services/AWSRoute53Profiles/Sources/AWSRoute53Profiles/Route53ProfilesClient.swift +++ b/Sources/Services/AWSRoute53Profiles/Sources/AWSRoute53Profiles/Route53ProfilesClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Route53ProfilesClient: ClientRuntime.Client { public static let clientName = "Route53ProfilesClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: Route53ProfilesClient.Route53ProfilesClientConfiguration let serviceName = "Route53Profiles" @@ -94,6 +95,8 @@ extension Route53ProfilesClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension Route53ProfilesClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension Route53ProfilesClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension Route53ProfilesClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension Route53ProfilesClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension Route53ProfilesClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension Route53ProfilesClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension Route53ProfilesClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension Route53ProfilesClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension Route53ProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53profiles") .withSigningRegion(value: config.signingRegion) .build() @@ -451,6 +472,8 @@ extension Route53ProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53profiles") .withSigningRegion(value: config.signingRegion) .build() @@ -525,6 +548,8 @@ extension Route53ProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53profiles") .withSigningRegion(value: config.signingRegion) .build() @@ -600,6 +625,8 @@ extension Route53ProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53profiles") .withSigningRegion(value: config.signingRegion) .build() @@ -672,6 +699,8 @@ extension Route53ProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53profiles") .withSigningRegion(value: config.signingRegion) .build() @@ -746,6 +775,8 @@ extension Route53ProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53profiles") .withSigningRegion(value: config.signingRegion) .build() @@ -816,6 +847,8 @@ extension Route53ProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53profiles") .withSigningRegion(value: config.signingRegion) .build() @@ -886,6 +919,8 @@ extension Route53ProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53profiles") .withSigningRegion(value: config.signingRegion) .build() @@ -957,6 +992,8 @@ extension Route53ProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53profiles") .withSigningRegion(value: config.signingRegion) .build() @@ -1028,6 +1065,8 @@ extension Route53ProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53profiles") .withSigningRegion(value: config.signingRegion) .build() @@ -1102,6 +1141,8 @@ extension Route53ProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53profiles") .withSigningRegion(value: config.signingRegion) .build() @@ -1174,6 +1215,8 @@ extension Route53ProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53profiles") .withSigningRegion(value: config.signingRegion) .build() @@ -1246,6 +1289,8 @@ extension Route53ProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53profiles") .withSigningRegion(value: config.signingRegion) .build() @@ -1316,6 +1361,8 @@ extension Route53ProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53profiles") .withSigningRegion(value: config.signingRegion) .build() @@ -1390,6 +1437,8 @@ extension Route53ProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53profiles") .withSigningRegion(value: config.signingRegion) .build() @@ -1465,6 +1514,8 @@ extension Route53ProfilesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53profiles") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSRoute53RecoveryCluster/Package.swift.txt b/Sources/Services/AWSRoute53RecoveryCluster/Package.swift.txt index dd4b04700e9..3815ef134e9 100644 --- a/Sources/Services/AWSRoute53RecoveryCluster/Package.swift.txt +++ b/Sources/Services/AWSRoute53RecoveryCluster/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSRoute53RecoveryCluster/Sources/AWSRoute53RecoveryCluster/Route53RecoveryClusterClient.swift b/Sources/Services/AWSRoute53RecoveryCluster/Sources/AWSRoute53RecoveryCluster/Route53RecoveryClusterClient.swift index 474613fdb9a..17a51588bf2 100644 --- a/Sources/Services/AWSRoute53RecoveryCluster/Sources/AWSRoute53RecoveryCluster/Route53RecoveryClusterClient.swift +++ b/Sources/Services/AWSRoute53RecoveryCluster/Sources/AWSRoute53RecoveryCluster/Route53RecoveryClusterClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Route53RecoveryClusterClient: ClientRuntime.Client { public static let clientName = "Route53RecoveryClusterClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: Route53RecoveryClusterClient.Route53RecoveryClusterClientConfiguration let serviceName = "Route53 Recovery Cluster" @@ -93,6 +94,8 @@ extension Route53RecoveryClusterClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension Route53RecoveryClusterClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension Route53RecoveryClusterClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension Route53RecoveryClusterClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension Route53RecoveryClusterClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension Route53RecoveryClusterClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension Route53RecoveryClusterClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension Route53RecoveryClusterClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension Route53RecoveryClusterClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -375,6 +394,8 @@ extension Route53RecoveryClusterClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-cluster") .withSigningRegion(value: config.signingRegion) .build() @@ -455,6 +476,8 @@ extension Route53RecoveryClusterClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-cluster") .withSigningRegion(value: config.signingRegion) .build() @@ -536,6 +559,8 @@ extension Route53RecoveryClusterClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-cluster") .withSigningRegion(value: config.signingRegion) .build() @@ -618,6 +643,8 @@ extension Route53RecoveryClusterClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-cluster") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSRoute53RecoveryControlConfig/Package.swift.txt b/Sources/Services/AWSRoute53RecoveryControlConfig/Package.swift.txt index 4ea2ff5c73a..9b82e1fe1ee 100644 --- a/Sources/Services/AWSRoute53RecoveryControlConfig/Package.swift.txt +++ b/Sources/Services/AWSRoute53RecoveryControlConfig/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSRoute53RecoveryControlConfig/Sources/AWSRoute53RecoveryControlConfig/Route53RecoveryControlConfigClient.swift b/Sources/Services/AWSRoute53RecoveryControlConfig/Sources/AWSRoute53RecoveryControlConfig/Route53RecoveryControlConfigClient.swift index 3b08318a521..da2c355f918 100644 --- a/Sources/Services/AWSRoute53RecoveryControlConfig/Sources/AWSRoute53RecoveryControlConfig/Route53RecoveryControlConfigClient.swift +++ b/Sources/Services/AWSRoute53RecoveryControlConfig/Sources/AWSRoute53RecoveryControlConfig/Route53RecoveryControlConfigClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Route53RecoveryControlConfigClient: ClientRuntime.Client { public static let clientName = "Route53RecoveryControlConfigClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: Route53RecoveryControlConfigClient.Route53RecoveryControlConfigClientConfiguration let serviceName = "Route53 Recovery Control Config" @@ -94,6 +95,8 @@ extension Route53RecoveryControlConfigClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension Route53RecoveryControlConfigClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension Route53RecoveryControlConfigClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension Route53RecoveryControlConfigClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension Route53RecoveryControlConfigClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension Route53RecoveryControlConfigClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension Route53RecoveryControlConfigClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension Route53RecoveryControlConfigClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension Route53RecoveryControlConfigClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension Route53RecoveryControlConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-control-config") .withSigningRegion(value: config.signingRegion) .build() @@ -450,6 +471,8 @@ extension Route53RecoveryControlConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-control-config") .withSigningRegion(value: config.signingRegion) .build() @@ -527,6 +550,8 @@ extension Route53RecoveryControlConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-control-config") .withSigningRegion(value: config.signingRegion) .build() @@ -599,6 +624,8 @@ extension Route53RecoveryControlConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-control-config") .withSigningRegion(value: config.signingRegion) .build() @@ -675,6 +702,8 @@ extension Route53RecoveryControlConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-control-config") .withSigningRegion(value: config.signingRegion) .build() @@ -747,6 +776,8 @@ extension Route53RecoveryControlConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-control-config") .withSigningRegion(value: config.signingRegion) .build() @@ -819,6 +850,8 @@ extension Route53RecoveryControlConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-control-config") .withSigningRegion(value: config.signingRegion) .build() @@ -888,6 +921,8 @@ extension Route53RecoveryControlConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-control-config") .withSigningRegion(value: config.signingRegion) .build() @@ -960,6 +995,8 @@ extension Route53RecoveryControlConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-control-config") .withSigningRegion(value: config.signingRegion) .build() @@ -1032,6 +1069,8 @@ extension Route53RecoveryControlConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-control-config") .withSigningRegion(value: config.signingRegion) .build() @@ -1104,6 +1143,8 @@ extension Route53RecoveryControlConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-control-config") .withSigningRegion(value: config.signingRegion) .build() @@ -1172,6 +1213,8 @@ extension Route53RecoveryControlConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-control-config") .withSigningRegion(value: config.signingRegion) .build() @@ -1240,6 +1283,8 @@ extension Route53RecoveryControlConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-control-config") .withSigningRegion(value: config.signingRegion) .build() @@ -1309,6 +1354,8 @@ extension Route53RecoveryControlConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-control-config") .withSigningRegion(value: config.signingRegion) .build() @@ -1381,6 +1428,8 @@ extension Route53RecoveryControlConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-control-config") .withSigningRegion(value: config.signingRegion) .build() @@ -1453,6 +1502,8 @@ extension Route53RecoveryControlConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-control-config") .withSigningRegion(value: config.signingRegion) .build() @@ -1525,6 +1576,8 @@ extension Route53RecoveryControlConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-control-config") .withSigningRegion(value: config.signingRegion) .build() @@ -1597,6 +1650,8 @@ extension Route53RecoveryControlConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-control-config") .withSigningRegion(value: config.signingRegion) .build() @@ -1667,6 +1722,8 @@ extension Route53RecoveryControlConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-control-config") .withSigningRegion(value: config.signingRegion) .build() @@ -1736,6 +1793,8 @@ extension Route53RecoveryControlConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-control-config") .withSigningRegion(value: config.signingRegion) .build() @@ -1808,6 +1867,8 @@ extension Route53RecoveryControlConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-control-config") .withSigningRegion(value: config.signingRegion) .build() @@ -1881,6 +1942,8 @@ extension Route53RecoveryControlConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-control-config") .withSigningRegion(value: config.signingRegion) .build() @@ -1956,6 +2019,8 @@ extension Route53RecoveryControlConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-control-config") .withSigningRegion(value: config.signingRegion) .build() @@ -2028,6 +2093,8 @@ extension Route53RecoveryControlConfigClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-control-config") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSRoute53RecoveryReadiness/Package.swift.txt b/Sources/Services/AWSRoute53RecoveryReadiness/Package.swift.txt index 37266be18f0..8d346555b25 100644 --- a/Sources/Services/AWSRoute53RecoveryReadiness/Package.swift.txt +++ b/Sources/Services/AWSRoute53RecoveryReadiness/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSRoute53RecoveryReadiness/Sources/AWSRoute53RecoveryReadiness/Route53RecoveryReadinessClient.swift b/Sources/Services/AWSRoute53RecoveryReadiness/Sources/AWSRoute53RecoveryReadiness/Route53RecoveryReadinessClient.swift index 54ee44b3297..cbaf1c080fc 100644 --- a/Sources/Services/AWSRoute53RecoveryReadiness/Sources/AWSRoute53RecoveryReadiness/Route53RecoveryReadinessClient.swift +++ b/Sources/Services/AWSRoute53RecoveryReadiness/Sources/AWSRoute53RecoveryReadiness/Route53RecoveryReadinessClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Route53RecoveryReadinessClient: ClientRuntime.Client { public static let clientName = "Route53RecoveryReadinessClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: Route53RecoveryReadinessClient.Route53RecoveryReadinessClientConfiguration let serviceName = "Route53 Recovery Readiness" @@ -94,6 +95,8 @@ extension Route53RecoveryReadinessClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension Route53RecoveryReadinessClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension Route53RecoveryReadinessClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension Route53RecoveryReadinessClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension Route53RecoveryReadinessClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension Route53RecoveryReadinessClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension Route53RecoveryReadinessClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension Route53RecoveryReadinessClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension Route53RecoveryReadinessClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension Route53RecoveryReadinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-readiness") .withSigningRegion(value: config.signingRegion) .build() @@ -445,6 +466,8 @@ extension Route53RecoveryReadinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-readiness") .withSigningRegion(value: config.signingRegion) .build() @@ -519,6 +542,8 @@ extension Route53RecoveryReadinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-readiness") .withSigningRegion(value: config.signingRegion) .build() @@ -593,6 +618,8 @@ extension Route53RecoveryReadinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-readiness") .withSigningRegion(value: config.signingRegion) .build() @@ -667,6 +694,8 @@ extension Route53RecoveryReadinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-readiness") .withSigningRegion(value: config.signingRegion) .build() @@ -741,6 +770,8 @@ extension Route53RecoveryReadinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-readiness") .withSigningRegion(value: config.signingRegion) .build() @@ -811,6 +842,8 @@ extension Route53RecoveryReadinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-readiness") .withSigningRegion(value: config.signingRegion) .build() @@ -882,6 +915,8 @@ extension Route53RecoveryReadinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-readiness") .withSigningRegion(value: config.signingRegion) .build() @@ -953,6 +988,8 @@ extension Route53RecoveryReadinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-readiness") .withSigningRegion(value: config.signingRegion) .build() @@ -1024,6 +1061,8 @@ extension Route53RecoveryReadinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-readiness") .withSigningRegion(value: config.signingRegion) .build() @@ -1095,6 +1134,8 @@ extension Route53RecoveryReadinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-readiness") .withSigningRegion(value: config.signingRegion) .build() @@ -1167,6 +1208,8 @@ extension Route53RecoveryReadinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-readiness") .withSigningRegion(value: config.signingRegion) .build() @@ -1238,6 +1281,8 @@ extension Route53RecoveryReadinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-readiness") .withSigningRegion(value: config.signingRegion) .build() @@ -1310,6 +1355,8 @@ extension Route53RecoveryReadinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-readiness") .withSigningRegion(value: config.signingRegion) .build() @@ -1381,6 +1428,8 @@ extension Route53RecoveryReadinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-readiness") .withSigningRegion(value: config.signingRegion) .build() @@ -1453,6 +1502,8 @@ extension Route53RecoveryReadinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-readiness") .withSigningRegion(value: config.signingRegion) .build() @@ -1525,6 +1576,8 @@ extension Route53RecoveryReadinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-readiness") .withSigningRegion(value: config.signingRegion) .build() @@ -1596,6 +1649,8 @@ extension Route53RecoveryReadinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-readiness") .withSigningRegion(value: config.signingRegion) .build() @@ -1668,6 +1723,8 @@ extension Route53RecoveryReadinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-readiness") .withSigningRegion(value: config.signingRegion) .build() @@ -1738,6 +1795,8 @@ extension Route53RecoveryReadinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-readiness") .withSigningRegion(value: config.signingRegion) .build() @@ -1809,6 +1868,8 @@ extension Route53RecoveryReadinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-readiness") .withSigningRegion(value: config.signingRegion) .build() @@ -1880,6 +1941,8 @@ extension Route53RecoveryReadinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-readiness") .withSigningRegion(value: config.signingRegion) .build() @@ -1951,6 +2014,8 @@ extension Route53RecoveryReadinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-readiness") .withSigningRegion(value: config.signingRegion) .build() @@ -2022,6 +2087,8 @@ extension Route53RecoveryReadinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-readiness") .withSigningRegion(value: config.signingRegion) .build() @@ -2093,6 +2160,8 @@ extension Route53RecoveryReadinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-readiness") .withSigningRegion(value: config.signingRegion) .build() @@ -2163,6 +2232,8 @@ extension Route53RecoveryReadinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-readiness") .withSigningRegion(value: config.signingRegion) .build() @@ -2232,6 +2303,8 @@ extension Route53RecoveryReadinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-readiness") .withSigningRegion(value: config.signingRegion) .build() @@ -2304,6 +2377,8 @@ extension Route53RecoveryReadinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-readiness") .withSigningRegion(value: config.signingRegion) .build() @@ -2376,6 +2451,8 @@ extension Route53RecoveryReadinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-readiness") .withSigningRegion(value: config.signingRegion) .build() @@ -2450,6 +2527,8 @@ extension Route53RecoveryReadinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-readiness") .withSigningRegion(value: config.signingRegion) .build() @@ -2524,6 +2603,8 @@ extension Route53RecoveryReadinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-readiness") .withSigningRegion(value: config.signingRegion) .build() @@ -2598,6 +2679,8 @@ extension Route53RecoveryReadinessClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53-recovery-readiness") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSRoute53Resolver/Package.swift.txt b/Sources/Services/AWSRoute53Resolver/Package.swift.txt index 2c805abad4a..45576909c9f 100644 --- a/Sources/Services/AWSRoute53Resolver/Package.swift.txt +++ b/Sources/Services/AWSRoute53Resolver/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSRoute53Resolver/Sources/AWSRoute53Resolver/Route53ResolverClient.swift b/Sources/Services/AWSRoute53Resolver/Sources/AWSRoute53Resolver/Route53ResolverClient.swift index 717ba45438c..8cee7f42339 100644 --- a/Sources/Services/AWSRoute53Resolver/Sources/AWSRoute53Resolver/Route53ResolverClient.swift +++ b/Sources/Services/AWSRoute53Resolver/Sources/AWSRoute53Resolver/Route53ResolverClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class Route53ResolverClient: ClientRuntime.Client { public static let clientName = "Route53ResolverClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: Route53ResolverClient.Route53ResolverClientConfiguration let serviceName = "Route53Resolver" @@ -94,6 +95,8 @@ extension Route53ResolverClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension Route53ResolverClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension Route53ResolverClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension Route53ResolverClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension Route53ResolverClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension Route53ResolverClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension Route53ResolverClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension Route53ResolverClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension Route53ResolverClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -451,6 +472,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -529,6 +552,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -607,6 +632,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -682,6 +709,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -759,6 +788,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -835,6 +866,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -912,6 +945,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -994,6 +1029,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -1072,6 +1109,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -1152,6 +1191,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -1227,6 +1268,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -1302,6 +1345,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -1378,6 +1423,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -1454,6 +1501,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -1533,6 +1582,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -1609,6 +1660,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -1684,6 +1737,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -1760,6 +1815,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -1836,6 +1893,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -1916,6 +1975,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -1990,6 +2051,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -2065,6 +2128,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -2139,6 +2204,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -2213,6 +2280,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -2287,6 +2356,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -2362,6 +2433,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -2437,6 +2510,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -2513,6 +2588,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -2589,6 +2666,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -2663,6 +2742,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -2739,6 +2820,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -2815,6 +2898,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -2890,6 +2975,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -2964,6 +3051,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -3038,6 +3127,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -3112,6 +3203,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -3195,6 +3288,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -3269,6 +3364,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -3343,6 +3440,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -3418,6 +3517,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -3492,6 +3593,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -3566,6 +3669,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -3641,6 +3746,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -3716,6 +3823,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -3793,6 +3902,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -3869,6 +3980,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -3944,6 +4057,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -4019,6 +4134,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -4095,6 +4212,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -4171,6 +4290,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -4246,6 +4367,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -4321,6 +4444,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -4397,6 +4522,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -4472,6 +4599,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -4548,6 +4677,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -4623,6 +4754,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -4700,6 +4833,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -4775,6 +4910,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -4850,6 +4987,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -4927,6 +5066,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -5003,6 +5144,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -5079,6 +5222,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -5156,6 +5301,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -5235,6 +5382,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -5311,6 +5460,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -5387,6 +5538,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() @@ -5465,6 +5618,8 @@ extension Route53ResolverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "route53resolver") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSS3/Package.swift.txt b/Sources/Services/AWSS3/Package.swift.txt index 9f16a001086..6847e3d18fe 100644 --- a/Sources/Services/AWSS3/Package.swift.txt +++ b/Sources/Services/AWSS3/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSS3/Sources/AWSS3/Models.swift b/Sources/Services/AWSS3/Sources/AWSS3/Models.swift index c103f75ad67..6b8a28e6b23 100644 --- a/Sources/Services/AWSS3/Sources/AWSS3/Models.swift +++ b/Sources/Services/AWSS3/Sources/AWSS3/Models.swift @@ -657,17 +657,48 @@ extension S3ClientTypes { } } +extension S3ClientTypes { + + public enum ChecksumType: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case composite + case fullObject + case sdkUnknown(Swift.String) + + public static var allCases: [ChecksumType] { + return [ + .composite, + .fullObject + ] + } + + 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 .composite: return "COMPOSITE" + case .fullObject: return "FULL_OBJECT" + case let .sdkUnknown(s): return s + } + } + } +} + extension S3ClientTypes { /// Details of the parts that were uploaded. public struct CompletedPart: Swift.Sendable { - /// The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. + /// The Base64 encoded, 32-bit CRC-32 checksum of the part. This checksum is present if the multipart upload request was created with the CRC-32 checksum algorithm. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumCRC32: Swift.String? - /// The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. + /// The Base64 encoded, 32-bit CRC-32C checksum of the part. This checksum is present if the multipart upload request was created with the CRC-32C checksum algorithm. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumCRC32C: Swift.String? - /// The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. + /// The Base64 encoded, 64-bit CRC-64NVME checksum of the part. This checksum is present if the multipart upload request was created with the CRC-64NVME checksum algorithm to the uploaded object). For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + public var checksumCRC64NVME: Swift.String? + /// The Base64 encoded, 160-bit SHA-1 checksum of the part. This checksum is present if the multipart upload request was created with the SHA-1 checksum algorithm. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumSHA1: Swift.String? - /// The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. + /// The Base64 encoded, 256-bit SHA-256 checksum of the part. This checksum is present if the multipart upload request was created with the SHA-256 checksum algorithm. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumSHA256: Swift.String? /// Entity tag returned when the part was uploaded. public var eTag: Swift.String? @@ -681,6 +712,7 @@ extension S3ClientTypes { public init( checksumCRC32: Swift.String? = nil, checksumCRC32C: Swift.String? = nil, + checksumCRC64NVME: Swift.String? = nil, checksumSHA1: Swift.String? = nil, checksumSHA256: Swift.String? = nil, eTag: Swift.String? = nil, @@ -688,6 +720,7 @@ extension S3ClientTypes { ) { self.checksumCRC32 = checksumCRC32 self.checksumCRC32C = checksumCRC32C + self.checksumCRC64NVME = checksumCRC64NVME self.checksumSHA1 = checksumSHA1 self.checksumSHA256 = checksumSHA256 self.eTag = eTag @@ -715,14 +748,18 @@ public struct CompleteMultipartUploadInput: Swift.Sendable { /// Name of the bucket to which the multipart upload was initiated. Directory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format Bucket-name.s3express-zone-id.region-code.amazonaws.com. Path-style requests are not supported. Directory bucket names must be unique in the chosen Zone (Availability Zone or Local Zone). Bucket names must follow the format bucket-base-name--zone-id--x-s3 (for example, DOC-EXAMPLE-BUCKET--usw2-az1--x-s3). For information about bucket naming restrictions, see [Directory bucket naming rules](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html) in the Amazon S3 User Guide. Access points - When you use this action with an access point, you must provide the alias of the access point in place of the bucket name or specify the access point ARN. When using the access point ARN, you must direct requests to the access point hostname. The access point hostname takes the form AccessPointName-AccountId.s3-accesspoint.Region.amazonaws.com. When using this action with an access point through the Amazon Web Services SDKs, you provide the access point ARN in place of the bucket name. For more information about access point ARNs, see [Using access points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html) in the Amazon S3 User Guide. Access points and Object Lambda access points are not supported by directory buckets. S3 on Outposts - When you use this action with Amazon S3 on Outposts, you must direct requests to the S3 on Outposts hostname. The S3 on Outposts hostname takes the form AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com. When you use this action with S3 on Outposts through the Amazon Web Services SDKs, you provide the Outposts access point ARN in place of the bucket name. For more information about S3 on Outposts ARNs, see [What is S3 on Outposts?](https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html) in the Amazon S3 User Guide. /// This member is required. public var bucket: Swift.String? - /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 32-bit CRC-32 checksum of the object. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the Base64 encoded, 32-bit CRC-32 checksum of the object. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumCRC32: Swift.String? - /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 32-bit CRC-32C checksum of the object. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the Base64 encoded, 32-bit CRC-32C checksum of the object. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumCRC32C: Swift.String? - /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 160-bit SHA-1 digest of the object. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the Base64 encoded, 64-bit CRC-64NVME checksum of the object. The CRC-64NVME checksum is always a full object checksum. For more information, see [Checking object integrity in the Amazon S3 User Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + public var checksumCRC64NVME: Swift.String? + /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the Base64 encoded, 160-bit SHA-1 digest of the object. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumSHA1: Swift.String? - /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 256-bit SHA-256 digest of the object. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the Base64 encoded, 256-bit SHA-256 digest of the object. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumSHA256: Swift.String? + /// This header specifies the checksum type of the object, which determines how part-level checksums are combined to create an object-level checksum for multipart objects. You can use this header as a data integrity check to verify that the checksum type that is received is the same checksum that was specified. If the checksum type doesn’t match the checksum type that was specified for the object during the CreateMultipartUpload request, it’ll result in a BadDigest error. For more information, see Checking object integrity in the Amazon S3 User Guide. + public var checksumType: S3ClientTypes.ChecksumType? /// The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied). public var expectedBucketOwner: Swift.String? /// Uploads the object only if the ETag (entity tag) value provided during the WRITE operation matches the ETag of the object in S3. If the ETag values do not match, the operation returns a 412 Precondition Failed error. If a conflicting operation occurs during the upload S3 returns a 409 ConditionalRequestConflict response. On a 409 failure you should fetch the object's ETag, re-initiate the multipart upload with CreateMultipartUpload, and re-upload each part. Expects the ETag value as a string. For more information about conditional requests, see [RFC 7232](https://tools.ietf.org/html/rfc7232), or [Conditional requests](https://docs.aws.amazon.com/AmazonS3/latest/userguide/conditional-requests.html) in the Amazon S3 User Guide. @@ -732,6 +769,8 @@ public struct CompleteMultipartUploadInput: Swift.Sendable { /// Object key for which the multipart upload was initiated. /// This member is required. public var key: Swift.String? + /// The expected total object size of the multipart upload request. If there’s a mismatch between the specified object size value and the actual object size value, it results in an HTTP 400 InvalidRequest error. + public var mpuObjectSize: Swift.String? /// The container for the multipart upload request information. public var multipartUpload: S3ClientTypes.CompletedMultipartUpload? /// 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. @@ -750,12 +789,15 @@ public struct CompleteMultipartUploadInput: Swift.Sendable { bucket: Swift.String? = nil, checksumCRC32: Swift.String? = nil, checksumCRC32C: Swift.String? = nil, + checksumCRC64NVME: Swift.String? = nil, checksumSHA1: Swift.String? = nil, checksumSHA256: Swift.String? = nil, + checksumType: S3ClientTypes.ChecksumType? = nil, expectedBucketOwner: Swift.String? = nil, ifMatch: Swift.String? = nil, ifNoneMatch: Swift.String? = nil, key: Swift.String? = nil, + mpuObjectSize: Swift.String? = nil, multipartUpload: S3ClientTypes.CompletedMultipartUpload? = nil, requestPayer: S3ClientTypes.RequestPayer? = nil, sseCustomerAlgorithm: Swift.String? = nil, @@ -766,12 +808,15 @@ public struct CompleteMultipartUploadInput: Swift.Sendable { self.bucket = bucket self.checksumCRC32 = checksumCRC32 self.checksumCRC32C = checksumCRC32C + self.checksumCRC64NVME = checksumCRC64NVME self.checksumSHA1 = checksumSHA1 self.checksumSHA256 = checksumSHA256 + self.checksumType = checksumType self.expectedBucketOwner = expectedBucketOwner self.ifMatch = ifMatch self.ifNoneMatch = ifNoneMatch self.key = key + self.mpuObjectSize = mpuObjectSize self.multipartUpload = multipartUpload self.requestPayer = requestPayer self.sseCustomerAlgorithm = sseCustomerAlgorithm @@ -783,7 +828,7 @@ public struct CompleteMultipartUploadInput: Swift.Sendable { extension CompleteMultipartUploadInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "CompleteMultipartUploadInput(bucket: \(Swift.String(describing: bucket)), checksumCRC32: \(Swift.String(describing: checksumCRC32)), checksumCRC32C: \(Swift.String(describing: checksumCRC32C)), checksumSHA1: \(Swift.String(describing: checksumSHA1)), checksumSHA256: \(Swift.String(describing: checksumSHA256)), expectedBucketOwner: \(Swift.String(describing: expectedBucketOwner)), ifMatch: \(Swift.String(describing: ifMatch)), ifNoneMatch: \(Swift.String(describing: ifNoneMatch)), key: \(Swift.String(describing: key)), multipartUpload: \(Swift.String(describing: multipartUpload)), requestPayer: \(Swift.String(describing: requestPayer)), sseCustomerAlgorithm: \(Swift.String(describing: sseCustomerAlgorithm)), sseCustomerKeyMD5: \(Swift.String(describing: sseCustomerKeyMD5)), uploadId: \(Swift.String(describing: uploadId)), sseCustomerKey: \"CONTENT_REDACTED\")"} + "CompleteMultipartUploadInput(bucket: \(Swift.String(describing: bucket)), checksumCRC32: \(Swift.String(describing: checksumCRC32)), checksumCRC32C: \(Swift.String(describing: checksumCRC32C)), checksumCRC64NVME: \(Swift.String(describing: checksumCRC64NVME)), checksumSHA1: \(Swift.String(describing: checksumSHA1)), checksumSHA256: \(Swift.String(describing: checksumSHA256)), checksumType: \(Swift.String(describing: checksumType)), expectedBucketOwner: \(Swift.String(describing: expectedBucketOwner)), ifMatch: \(Swift.String(describing: ifMatch)), ifNoneMatch: \(Swift.String(describing: ifNoneMatch)), key: \(Swift.String(describing: key)), mpuObjectSize: \(Swift.String(describing: mpuObjectSize)), multipartUpload: \(Swift.String(describing: multipartUpload)), requestPayer: \(Swift.String(describing: requestPayer)), sseCustomerAlgorithm: \(Swift.String(describing: sseCustomerAlgorithm)), sseCustomerKeyMD5: \(Swift.String(describing: sseCustomerKeyMD5)), uploadId: \(Swift.String(describing: uploadId)), sseCustomerKey: \"CONTENT_REDACTED\")"} } extension S3ClientTypes { @@ -823,14 +868,18 @@ public struct CompleteMultipartUploadOutput: Swift.Sendable { public var bucket: Swift.String? /// Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS). public var bucketKeyEnabled: Swift.Bool? - /// The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. + /// The Base64 encoded, 32-bit CRC-32 checksum of the object. This checksum is only be present if the checksum was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. public var checksumCRC32: Swift.String? - /// The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. + /// The Base64 encoded, 32-bit CRC-32C checksum of the object. This checksum is only present if the checksum was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. public var checksumCRC32C: Swift.String? - /// The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. + /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the Base64 encoded, 64-bit CRC-64NVME checksum of the object. The CRC-64NVME checksum is always a full object checksum. For more information, see [Checking object integrity in the Amazon S3 User Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + public var checksumCRC64NVME: Swift.String? + /// The Base64 encoded, 160-bit SHA-1 digest of the object. This will only be present if the object was uploaded with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. public var checksumSHA1: Swift.String? - /// The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. + /// The Base64 encoded, 256-bit SHA-256 digest of the object. This will only be present if the object was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. public var checksumSHA256: Swift.String? + /// The checksum type, which determines how part-level checksums are combined to create an object-level checksum for multipart objects. You can use this header as a data integrity check to verify that the checksum type that is received is the same checksum type that was specified during the CreateMultipartUpload request. For more information, see [Checking object integrity in the Amazon S3 User Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + public var checksumType: S3ClientTypes.ChecksumType? /// Entity tag that identifies the newly created object's data. Objects with different object data will have different entity tags. The entity tag is an opaque string. The entity tag may or may not be an MD5 digest of the object data. If the entity tag is not an MD5 digest of the object data, it will contain one or more nonhexadecimal characters and/or will consist of less than 32 or more than 32 hexadecimal digits. For more information about how the entity tag is calculated, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var eTag: Swift.String? /// If the object expiration is configured, this will contain the expiration date (expiry-date) and rule ID (rule-id). The value of rule-id is URL-encoded. This functionality is not supported for directory buckets. @@ -853,8 +902,10 @@ public struct CompleteMultipartUploadOutput: Swift.Sendable { bucketKeyEnabled: Swift.Bool? = nil, checksumCRC32: Swift.String? = nil, checksumCRC32C: Swift.String? = nil, + checksumCRC64NVME: Swift.String? = nil, checksumSHA1: Swift.String? = nil, checksumSHA256: Swift.String? = nil, + checksumType: S3ClientTypes.ChecksumType? = nil, eTag: Swift.String? = nil, expiration: Swift.String? = nil, key: Swift.String? = nil, @@ -868,8 +919,10 @@ public struct CompleteMultipartUploadOutput: Swift.Sendable { self.bucketKeyEnabled = bucketKeyEnabled self.checksumCRC32 = checksumCRC32 self.checksumCRC32C = checksumCRC32C + self.checksumCRC64NVME = checksumCRC64NVME self.checksumSHA1 = checksumSHA1 self.checksumSHA256 = checksumSHA256 + self.checksumType = checksumType self.eTag = eTag self.expiration = expiration self.key = key @@ -883,7 +936,7 @@ public struct CompleteMultipartUploadOutput: Swift.Sendable { extension CompleteMultipartUploadOutput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "CompleteMultipartUploadOutput(bucket: \(Swift.String(describing: bucket)), 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)), key: \(Swift.String(describing: key)), location: \(Swift.String(describing: location)), requestCharged: \(Swift.String(describing: requestCharged)), serverSideEncryption: \(Swift.String(describing: serverSideEncryption)), versionId: \(Swift.String(describing: versionId)), ssekmsKeyId: \"CONTENT_REDACTED\")"} + "CompleteMultipartUploadOutput(bucket: \(Swift.String(describing: bucket)), bucketKeyEnabled: \(Swift.String(describing: bucketKeyEnabled)), checksumCRC32: \(Swift.String(describing: checksumCRC32)), checksumCRC32C: \(Swift.String(describing: checksumCRC32C)), checksumCRC64NVME: \(Swift.String(describing: checksumCRC64NVME)), checksumSHA1: \(Swift.String(describing: checksumSHA1)), checksumSHA256: \(Swift.String(describing: checksumSHA256)), checksumType: \(Swift.String(describing: checksumType)), eTag: \(Swift.String(describing: eTag)), expiration: \(Swift.String(describing: expiration)), key: \(Swift.String(describing: key)), location: \(Swift.String(describing: location)), requestCharged: \(Swift.String(describing: requestCharged)), serverSideEncryption: \(Swift.String(describing: serverSideEncryption)), versionId: \(Swift.String(describing: versionId)), ssekmsKeyId: \"CONTENT_REDACTED\")"} } /// The source object of the COPY action is not in the active tier and is only stored in Amazon S3 Glacier. @@ -949,6 +1002,7 @@ extension S3ClientTypes { public enum ChecksumAlgorithm: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { case crc32 case crc32c + case crc64nvme case sha1 case sha256 case sdkUnknown(Swift.String) @@ -957,6 +1011,7 @@ extension S3ClientTypes { return [ .crc32, .crc32c, + .crc64nvme, .sha1, .sha256 ] @@ -971,6 +1026,7 @@ extension S3ClientTypes { switch self { case .crc32: return "CRC32" case .crc32c: return "CRC32C" + case .crc64nvme: return "CRC64NVME" case .sha1: return "SHA1" case .sha256: return "SHA256" case let .sdkUnknown(s): return s @@ -1445,14 +1501,18 @@ extension S3ClientTypes { /// Container for all response elements. public struct CopyObjectResult: Swift.Sendable { - /// The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded with the object. For more information, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + /// The Base64 encoded, 32-bit CRC-32 checksum of the object. This checksum is only present if the object was uploaded with the object. For more information, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumCRC32: Swift.String? - /// The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded with the object. For more information, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + /// The Base64 encoded, 32-bit CRC-32C checksum of the object. This will only be present if the object was uploaded with the object. For more information, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumCRC32C: Swift.String? - /// The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. For more information, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + /// The Base64 encoded, 64-bit CRC-64NVME checksum of the object. This checksum is present if the object being copied was uploaded with the CRC-64NVME checksum algorithm, or if the object was uploaded without a checksum (and Amazon S3 added the default checksum, CRC-64NVME, to the uploaded object). For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + public var checksumCRC64NVME: Swift.String? + /// The Base64 encoded, 160-bit SHA-1 digest of the object. This will only be present if the object was uploaded with the object. For more information, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumSHA1: Swift.String? - /// The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded with the object. For more information, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + /// The Base64 encoded, 256-bit SHA-256 digest of the object. This will only be present if the object was uploaded with the object. For more information, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumSHA256: Swift.String? + /// The checksum type that is used to calculate the object’s checksum value. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + public var checksumType: S3ClientTypes.ChecksumType? /// Returns the ETag of the new object. The ETag reflects only changes to the contents of an object, not its metadata. public var eTag: Swift.String? /// Creation date of the object. @@ -1461,15 +1521,19 @@ extension S3ClientTypes { public init( checksumCRC32: Swift.String? = nil, checksumCRC32C: Swift.String? = nil, + checksumCRC64NVME: Swift.String? = nil, checksumSHA1: Swift.String? = nil, checksumSHA256: Swift.String? = nil, + checksumType: S3ClientTypes.ChecksumType? = nil, eTag: Swift.String? = nil, lastModified: Foundation.Date? = nil ) { self.checksumCRC32 = checksumCRC32 self.checksumCRC32C = checksumCRC32C + self.checksumCRC64NVME = checksumCRC64NVME self.checksumSHA1 = checksumSHA1 self.checksumSHA256 = checksumSHA256 + self.checksumType = checksumType self.eTag = eTag self.lastModified = lastModified } @@ -1493,7 +1557,7 @@ public struct CopyObjectOutput: Swift.Sendable { public var sseCustomerAlgorithm: Swift.String? /// If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide the round-trip message integrity verification of the customer-provided encryption key. This functionality is not supported for directory buckets. public var sseCustomerKeyMD5: Swift.String? - /// If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value pairs. + /// If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this header is a Base64 encoded UTF-8 string holding JSON with the encryption context key-value pairs. public var ssekmsEncryptionContext: Swift.String? /// If present, indicates the ID of the KMS key that was used for object encryption. public var ssekmsKeyId: Swift.String? @@ -1700,7 +1764,7 @@ extension S3ClientTypes { extension S3ClientTypes { - /// Specifies the location where the bucket will be created. For directory buckets, the location type is Availability Zone or Local Zone. For more information about directory buckets, see [Working with directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html) in the Amazon S3 User Guide. This functionality is only supported by directory buckets. + /// Specifies the location where the bucket will be created. For directory buckets, the location type is Availability Zone or Local Zone. For more information about directory buckets, see [Directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html) in the Amazon S3 User Guide. This functionality is only supported by directory buckets. public struct LocationInfo: Swift.Sendable { /// The name of the location where the bucket will be created. For directory buckets, the name of the location is the Zone ID of the Availability Zone (AZ) or Local Zone (LZ) where the bucket will be created. An example AZ ID value is usw2-az1. public var name: Swift.String? @@ -1830,9 +1894,9 @@ extension S3ClientTypes { public struct CreateBucketConfiguration: Swift.Sendable { /// Specifies the information about the bucket that will be created. This functionality is only supported by directory buckets. public var bucket: S3ClientTypes.BucketInfo? - /// Specifies the location where the bucket will be created. Directory buckets - The location type is Availability Zone or Local Zone. To use the Local Zone location type, your account must be enabled for Dedicated Local Zones. Otherwise, you get an HTTP 403 Forbidden error with the error code AccessDenied. To learn more, see [Enable accounts for Dedicated Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/opt-in-directory-bucket-lz.html) in the Amazon S3 User Guide. This functionality is only supported by directory buckets. + /// Specifies the location where the bucket will be created. Directory buckets - The location type is Availability Zone or Local Zone. When the location type is Local Zone, your Local Zone must be in opt-in status. Otherwise, you get an HTTP 400 Bad Request error with the error code Access denied. To learn more about opt-in Local Zones, see [Opt-in Dedicated Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/opt-in-directory-bucket-lz.html)in the Amazon S3 User Guide. This functionality is only supported by directory buckets. public var location: S3ClientTypes.LocationInfo? - /// Specifies the Region where the bucket will be created. You might choose a Region to optimize latency, minimize costs, or address regulatory requirements. For example, if you reside in Europe, you will probably find it advantageous to create buckets in the Europe (Ireland) Region. If you don't specify a Region, the bucket is created in the US East (N. Virginia) Region (us-east-1) by default. For a list of the valid values for all of the Amazon Web Services Regions, see [Regions and Endpoints](https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region). This functionality is not supported for directory buckets. + /// Specifies the Region where the bucket will be created. You might choose a Region to optimize latency, minimize costs, or address regulatory requirements. For example, if you reside in Europe, you will probably find it advantageous to create buckets in the Europe (Ireland) Region. For more information, see [Accessing a bucket](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html#access-bucket-intro) in the Amazon S3 User Guide. If you don't specify a Region, the bucket is created in the US East (N. Virginia) Region (us-east-1) by default. This functionality is not supported for directory buckets. public var locationConstraint: S3ClientTypes.BucketLocationConstraint? public init( @@ -2021,6 +2085,8 @@ public struct CreateMultipartUploadInput: Swift.Sendable { public var cacheControl: Swift.String? /// Indicates the algorithm that you want Amazon S3 to use to create the checksum for the object. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumAlgorithm: S3ClientTypes.ChecksumAlgorithm? + /// Indicates the checksum type that you want Amazon S3 to use to calculate the object’s checksum value. For more information, see [Checking object integrity in the Amazon S3 User Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + public var checksumType: S3ClientTypes.ChecksumType? /// Specifies presentational information for the object. public var contentDisposition: Swift.String? /// Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. For directory buckets, only the aws-chunked value is supported in this header field. @@ -2192,7 +2258,7 @@ public struct CreateMultipartUploadInput: Swift.Sendable { public var sseCustomerKey: Swift.String? /// Specifies the 128-bit MD5 digest of the customer-provided encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure that the encryption key was transmitted without error. This functionality is not supported for directory buckets. public var sseCustomerKeyMD5: Swift.String? - /// Specifies the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this header is a Base64-encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs. Directory buckets - You can optionally provide an explicit encryption context value. The value must match the default encryption context - the bucket Amazon Resource Name (ARN). An additional encryption context value is not supported. + /// Specifies the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this header is a Base64 encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs. Directory buckets - You can optionally provide an explicit encryption context value. The value must match the default encryption context - the bucket Amazon Resource Name (ARN). An additional encryption context value is not supported. public var ssekmsEncryptionContext: Swift.String? /// Specifies the KMS key ID (Key ID, Key ARN, or Key Alias) to use for object encryption. If the KMS key doesn't exist in the same account that's issuing the command, you must use the full Key ARN not the Key ID. General purpose buckets - If you specify x-amz-server-side-encryption with aws:kms or aws:kms:dsse, this header specifies the ID (Key ID, Key ARN, or Key Alias) of the KMS key to use. If you specify x-amz-server-side-encryption:aws:kms or x-amz-server-side-encryption:aws:kms:dsse, but do not provide x-amz-server-side-encryption-aws-kms-key-id, Amazon S3 uses the Amazon Web Services managed key (aws/s3) to protect the data. Directory buckets - If you specify x-amz-server-side-encryption with aws:kms, the x-amz-server-side-encryption-aws-kms-key-id header is implicitly assigned the ID of the KMS symmetric encryption customer managed key that's configured for your directory bucket's default encryption setting. If you want to specify the x-amz-server-side-encryption-aws-kms-key-id header explicitly, you can only specify it with the ID (Key ID or Key ARN) of the KMS customer managed key that's configured for your directory bucket's default encryption setting. Otherwise, you get an HTTP 400 Bad Request error. Only use the key ID or key ARN. The key alias format of the KMS key isn't supported. Your SSE-KMS configuration can only support 1 [customer managed key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk) per directory bucket for the lifetime of the bucket. The [Amazon Web Services managed key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk) (aws/s3) isn't supported. public var ssekmsKeyId: Swift.String? @@ -2213,6 +2279,7 @@ public struct CreateMultipartUploadInput: Swift.Sendable { bucketKeyEnabled: Swift.Bool? = nil, cacheControl: Swift.String? = nil, checksumAlgorithm: S3ClientTypes.ChecksumAlgorithm? = nil, + checksumType: S3ClientTypes.ChecksumType? = nil, contentDisposition: Swift.String? = nil, contentEncoding: Swift.String? = nil, contentLanguage: Swift.String? = nil, @@ -2244,6 +2311,7 @@ public struct CreateMultipartUploadInput: Swift.Sendable { self.bucketKeyEnabled = bucketKeyEnabled self.cacheControl = cacheControl self.checksumAlgorithm = checksumAlgorithm + self.checksumType = checksumType self.contentDisposition = contentDisposition self.contentEncoding = contentEncoding self.contentLanguage = contentLanguage @@ -2274,7 +2342,7 @@ public struct CreateMultipartUploadInput: Swift.Sendable { 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)), 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\")"} + "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)), checksumType: \(Swift.String(describing: checksumType)), 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: Swift.Sendable { @@ -2288,6 +2356,8 @@ public struct CreateMultipartUploadOutput: Swift.Sendable { public var bucketKeyEnabled: Swift.Bool? /// The algorithm that was used to create a checksum of the object. public var checksumAlgorithm: S3ClientTypes.ChecksumAlgorithm? + /// Indicates the checksum type that you want Amazon S3 to use to calculate the object’s checksum value. For more information, see [Checking object integrity in the Amazon S3 User Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + public var checksumType: S3ClientTypes.ChecksumType? /// Object key for which the multipart upload was initiated. public var key: Swift.String? /// If present, indicates that the requester was successfully charged for the request. This functionality is not supported for directory buckets. @@ -2298,7 +2368,7 @@ public struct CreateMultipartUploadOutput: Swift.Sendable { public var sseCustomerAlgorithm: Swift.String? /// If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide the round-trip message integrity verification of the customer-provided encryption key. This functionality is not supported for directory buckets. public var sseCustomerKeyMD5: Swift.String? - /// If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this header is a Base64-encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs. + /// If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this header is a Base64 encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs. public var ssekmsEncryptionContext: Swift.String? /// If present, indicates the ID of the KMS key that was used for object encryption. public var ssekmsKeyId: Swift.String? @@ -2311,6 +2381,7 @@ public struct CreateMultipartUploadOutput: Swift.Sendable { bucket: Swift.String? = nil, bucketKeyEnabled: Swift.Bool? = nil, checksumAlgorithm: S3ClientTypes.ChecksumAlgorithm? = nil, + checksumType: S3ClientTypes.ChecksumType? = nil, key: Swift.String? = nil, requestCharged: S3ClientTypes.RequestCharged? = nil, serverSideEncryption: S3ClientTypes.ServerSideEncryption? = nil, @@ -2325,6 +2396,7 @@ public struct CreateMultipartUploadOutput: Swift.Sendable { self.bucket = bucket self.bucketKeyEnabled = bucketKeyEnabled self.checksumAlgorithm = checksumAlgorithm + self.checksumType = checksumType self.key = key self.requestCharged = requestCharged self.serverSideEncryption = serverSideEncryption @@ -2338,7 +2410,7 @@ public struct CreateMultipartUploadOutput: Swift.Sendable { 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)), 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\")"} + "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)), checksumType: \(Swift.String(describing: checksumType)), 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. @@ -2394,7 +2466,7 @@ public struct CreateSessionInput: Swift.Sendable { public var serverSideEncryption: S3ClientTypes.ServerSideEncryption? /// Specifies the mode of the session that will be created, either ReadWrite or ReadOnly. By default, a ReadWrite session is created. A ReadWrite session is capable of executing all the Zonal endpoint API operations on a directory bucket. A ReadOnly session is constrained to execute the following Zonal endpoint API operations: GetObject, HeadObject, ListObjectsV2, GetObjectAttributes, ListParts, and ListMultipartUploads. public var sessionMode: S3ClientTypes.SessionMode? - /// Specifies the Amazon Web Services KMS Encryption Context as an additional encryption context to use for object encryption. The value of this header is a Base64-encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs. This value is stored as object metadata and automatically gets passed on to Amazon Web Services KMS for future GetObject operations on this object. General purpose buckets - This value must be explicitly added during CopyObject operations if you want an additional encryption context for your object. For more information, see [Encryption context](https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html#encryption-context) in the Amazon S3 User Guide. Directory buckets - You can optionally provide an explicit encryption context value. The value must match the default encryption context - the bucket Amazon Resource Name (ARN). An additional encryption context value is not supported. + /// Specifies the Amazon Web Services KMS Encryption Context as an additional encryption context to use for object encryption. The value of this header is a Base64 encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs. This value is stored as object metadata and automatically gets passed on to Amazon Web Services KMS for future GetObject operations on this object. General purpose buckets - This value must be explicitly added during CopyObject operations if you want an additional encryption context for your object. For more information, see [Encryption context](https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html#encryption-context) in the Amazon S3 User Guide. Directory buckets - You can optionally provide an explicit encryption context value. The value must match the default encryption context - the bucket Amazon Resource Name (ARN). An additional encryption context value is not supported. public var ssekmsEncryptionContext: Swift.String? /// If you specify x-amz-server-side-encryption with aws:kms, you must specify the x-amz-server-side-encryption-aws-kms-key-id header with the ID (Key ID or Key ARN) of the KMS symmetric encryption customer managed key to use. Otherwise, you get an HTTP 400 Bad Request error. Only use the key ID or key ARN. The key alias format of the KMS key isn't supported. Also, if the KMS key doesn't exist in the same account that't issuing the command, you must use the full Key ARN not the Key ID. Your SSE-KMS configuration can only support 1 [customer managed key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk) per directory bucket for the lifetime of the bucket. The [Amazon Web Services managed key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk) (aws/s3) isn't supported. public var ssekmsKeyId: Swift.String? @@ -2465,7 +2537,7 @@ public struct CreateSessionOutput: Swift.Sendable { public var credentials: S3ClientTypes.SessionCredentials? /// The server-side encryption algorithm used when you store objects in the directory bucket. public var serverSideEncryption: S3ClientTypes.ServerSideEncryption? - /// If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this header is a Base64-encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs. This value is stored as object metadata and automatically gets passed on to Amazon Web Services KMS for future GetObject operations on this object. + /// If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this header is a Base64 encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs. This value is stored as object metadata and automatically gets passed on to Amazon Web Services KMS for future GetObject operations on this object. public var ssekmsEncryptionContext: Swift.String? /// If you specify x-amz-server-side-encryption with aws:kms, this header indicates the ID of the KMS symmetric encryption customer managed key that was used for object encryption. public var ssekmsKeyId: Swift.String? @@ -2858,16 +2930,18 @@ public struct DeleteObjectsInput: Swift.Sendable { public var bypassGovernanceRetention: Swift.Bool? /// Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum-algorithm or x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For the x-amz-checksum-algorithm header, replace algorithm with the supported algorithm from the following list: /// - /// * CRC32 + /// * CRC-32 /// - /// * CRC32C + /// * CRC-32C /// - /// * SHA1 + /// * CRC-64NVME /// - /// * SHA256 + /// * SHA-1 /// + /// * SHA-256 /// - /// For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. If the individual checksum value you provide through x-amz-checksum-algorithm doesn't match the checksum algorithm you set through x-amz-sdk-checksum-algorithm, Amazon S3 ignores any provided ChecksumAlgorithm parameter and uses the checksum algorithm that matches the provided value in x-amz-checksum-algorithm . If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm parameter. + /// + /// For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. If the individual checksum value you provide through x-amz-checksum-algorithm doesn't match the checksum algorithm you set through x-amz-sdk-checksum-algorithm, Amazon S3 fails the request with a BadDigest error. If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm parameter. public var checksumAlgorithm: S3ClientTypes.ChecksumAlgorithm? /// Container for the request. /// This member is required. @@ -5430,7 +5504,7 @@ extension S3ClientTypes { public struct GetBucketLifecycleConfigurationOutput: Swift.Sendable { /// Container for a lifecycle rule. public var rules: [S3ClientTypes.LifecycleRule]? - /// Indicates which default minimum object size behavior is applied to the lifecycle configuration. This parameter applies to general purpose buckets only. It is not supported for directory bucket lifecycle configurations. + /// Indicates which default minimum object size behavior is applied to the lifecycle configuration. This parameter applies to general purpose buckets only. It isn't supported for directory bucket lifecycle configurations. /// /// * all_storage_classes_128K - Objects smaller than 128 KB will not transition to any storage class by default. /// @@ -7496,14 +7570,18 @@ public struct GetObjectOutput: Swift.Sendable { public var bucketKeyEnabled: Swift.Bool? /// Specifies caching behavior along the request/reply chain. public var cacheControl: Swift.String? - /// The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded with the object. For more information, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + /// The Base64 encoded, 32-bit CRC-32 checksum of the object. This checksum is only present if the object was uploaded with the object. For more information, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumCRC32: Swift.String? - /// The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded with the object. For more information, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + /// The Base64 encoded, 32-bit CRC-32C checksum of the object. This will only be present if the object was uploaded with the object. For more information, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumCRC32C: Swift.String? - /// The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. For more information, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + /// The Base64 encoded, 64-bit CRC-64NVME checksum of the object. For more information, see [Checking object integrity in the Amazon S3 User Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + public var checksumCRC64NVME: Swift.String? + /// The Base64 encoded, 160-bit SHA-1 digest of the object. This will only be present if the object was uploaded with the object. For more information, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumSHA1: Swift.String? - /// The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded with the object. For more information, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + /// The Base64 encoded, 256-bit SHA-256 digest of the object. This will only be present if the object was uploaded with the object. For more information, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumSHA256: Swift.String? + /// The checksum type, which determines how part-level checksums are combined to create an object-level checksum for multipart objects. You can use this header response to verify that the checksum type that is received is the same checksum type that was specified in the CreateMultipartUpload request. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + public var checksumType: S3ClientTypes.ChecksumType? /// Specifies presentational information for the object. public var contentDisposition: Swift.String? /// Indicates what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. @@ -7572,8 +7650,10 @@ public struct GetObjectOutput: Swift.Sendable { cacheControl: Swift.String? = nil, checksumCRC32: Swift.String? = nil, checksumCRC32C: Swift.String? = nil, + checksumCRC64NVME: Swift.String? = nil, checksumSHA1: Swift.String? = nil, checksumSHA256: Swift.String? = nil, + checksumType: S3ClientTypes.ChecksumType? = nil, contentDisposition: Swift.String? = nil, contentEncoding: Swift.String? = nil, contentLanguage: Swift.String? = nil, @@ -7609,8 +7689,10 @@ public struct GetObjectOutput: Swift.Sendable { self.cacheControl = cacheControl self.checksumCRC32 = checksumCRC32 self.checksumCRC32C = checksumCRC32C + self.checksumCRC64NVME = checksumCRC64NVME self.checksumSHA1 = checksumSHA1 self.checksumSHA256 = checksumSHA256 + self.checksumType = checksumType self.contentDisposition = contentDisposition self.contentEncoding = contentEncoding self.contentLanguage = contentLanguage @@ -7644,7 +7726,7 @@ public struct GetObjectOutput: Swift.Sendable { 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)), 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\")"} + "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)), checksumCRC64NVME: \(Swift.String(describing: checksumCRC64NVME)), checksumSHA1: \(Swift.String(describing: checksumSHA1)), checksumSHA256: \(Swift.String(describing: checksumSHA256)), checksumType: \(Swift.String(describing: checksumType)), 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: Swift.Sendable { @@ -7796,25 +7878,33 @@ extension S3ClientTypes { /// Contains all the possible checksum or digest values for an object. public struct Checksum: Swift.Sendable { - /// The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. + /// The Base64 encoded, 32-bit CRC-32 checksum of the object. This checksum is only be present if the checksum was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. public var checksumCRC32: Swift.String? - /// The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. + /// The Base64 encoded, 32-bit CRC-32C checksum of the object. This checksum is only present if the checksum was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. public var checksumCRC32C: Swift.String? - /// The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. + /// The Base64 encoded, 64-bit CRC-64NVME checksum of the object. This checksum is present if the object was uploaded with the CRC-64NVME checksum algorithm, or if the object was uploaded without a checksum (and Amazon S3 added the default checksum, CRC-64NVME, to the uploaded object). For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + public var checksumCRC64NVME: Swift.String? + /// The Base64 encoded, 160-bit SHA-1 digest of the object. This will only be present if the object was uploaded with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. public var checksumSHA1: Swift.String? - /// The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. + /// The Base64 encoded, 256-bit SHA-256 digest of the object. This will only be present if the object was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. public var checksumSHA256: Swift.String? + /// The checksum type that is used to calculate the object’s checksum value. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + public var checksumType: S3ClientTypes.ChecksumType? public init( checksumCRC32: Swift.String? = nil, checksumCRC32C: Swift.String? = nil, + checksumCRC64NVME: Swift.String? = nil, checksumSHA1: Swift.String? = nil, - checksumSHA256: Swift.String? = nil + checksumSHA256: Swift.String? = nil, + checksumType: S3ClientTypes.ChecksumType? = nil ) { self.checksumCRC32 = checksumCRC32 self.checksumCRC32C = checksumCRC32C + self.checksumCRC64NVME = checksumCRC64NVME self.checksumSHA1 = checksumSHA1 self.checksumSHA256 = checksumSHA256 + self.checksumType = checksumType } } } @@ -7823,13 +7913,15 @@ extension S3ClientTypes { /// A container for elements related to an individual part. public struct ObjectPart: Swift.Sendable { - /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 32-bit CRC-32 checksum of the object. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + /// The Base64 encoded, 32-bit CRC-32 checksum of the part. This checksum is present if the multipart upload request was created with the CRC-32 checksum algorithm. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumCRC32: Swift.String? - /// The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. + /// The Base64 encoded, 32-bit CRC-32C checksum of the part. This checksum is present if the multipart upload request was created with the CRC-32C checksum algorithm. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumCRC32C: Swift.String? - /// The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. + /// The Base64 encoded, 64-bit CRC-64NVME checksum of the part. This checksum is present if the multipart upload request was created with the CRC-64NVME checksum algorithm, or if the object was uploaded without a checksum (and Amazon S3 added the default checksum, CRC-64NVME, to the uploaded object). For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + public var checksumCRC64NVME: Swift.String? + /// The Base64 encoded, 160-bit SHA-1 checksum of the part. This checksum is present if the multipart upload request was created with the SHA-1 checksum algorithm. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumSHA1: Swift.String? - /// The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. + /// The Base64 encoded, 256-bit SHA-256 checksum of the part. This checksum is present if the multipart upload request was created with the SHA-256 checksum algorithm. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumSHA256: Swift.String? /// The part number identifying the part. This value is a positive integer between 1 and 10,000. public var partNumber: Swift.Int? @@ -7839,6 +7931,7 @@ extension S3ClientTypes { public init( checksumCRC32: Swift.String? = nil, checksumCRC32C: Swift.String? = nil, + checksumCRC64NVME: Swift.String? = nil, checksumSHA1: Swift.String? = nil, checksumSHA256: Swift.String? = nil, partNumber: Swift.Int? = nil, @@ -7846,6 +7939,7 @@ extension S3ClientTypes { ) { self.checksumCRC32 = checksumCRC32 self.checksumCRC32C = checksumCRC32C + self.checksumCRC64NVME = checksumCRC64NVME self.checksumSHA1 = checksumSHA1 self.checksumSHA256 = checksumSHA256 self.partNumber = partNumber @@ -8558,14 +8652,18 @@ public struct HeadObjectOutput: Swift.Sendable { public var bucketKeyEnabled: Swift.Bool? /// Specifies caching behavior along the request/reply chain. public var cacheControl: Swift.String? - /// The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. + /// The Base64 encoded, 32-bit CRC-32 checksum of the object. This checksum is only be present if the checksum was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. public var checksumCRC32: Swift.String? - /// The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. + /// The Base64 encoded, 32-bit CRC-32C checksum of the object. This checksum is only present if the checksum was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. public var checksumCRC32C: Swift.String? - /// The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. + /// The Base64 encoded, 64-bit CRC-64NVME checksum of the object. For more information, see [Checking object integrity in the Amazon S3 User Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + public var checksumCRC64NVME: Swift.String? + /// The Base64 encoded, 160-bit SHA-1 digest of the object. This will only be present if the object was uploaded with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. public var checksumSHA1: Swift.String? - /// The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. + /// The Base64 encoded, 256-bit SHA-256 digest of the object. This will only be present if the object was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. public var checksumSHA256: Swift.String? + /// The checksum type, which determines how part-level checksums are combined to create an object-level checksum for multipart objects. You can use this header response to verify that the checksum type that is received is the same checksum type that was specified in CreateMultipartUpload request. For more information, see [Checking object integrity in the Amazon S3 User Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + public var checksumType: S3ClientTypes.ChecksumType? /// Specifies presentational information for the object. public var contentDisposition: Swift.String? /// Indicates what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. @@ -8635,8 +8733,10 @@ public struct HeadObjectOutput: Swift.Sendable { cacheControl: Swift.String? = nil, checksumCRC32: Swift.String? = nil, checksumCRC32C: Swift.String? = nil, + checksumCRC64NVME: Swift.String? = nil, checksumSHA1: Swift.String? = nil, checksumSHA256: Swift.String? = nil, + checksumType: S3ClientTypes.ChecksumType? = nil, contentDisposition: Swift.String? = nil, contentEncoding: Swift.String? = nil, contentLanguage: Swift.String? = nil, @@ -8670,8 +8770,10 @@ public struct HeadObjectOutput: Swift.Sendable { self.cacheControl = cacheControl self.checksumCRC32 = checksumCRC32 self.checksumCRC32C = checksumCRC32C + self.checksumCRC64NVME = checksumCRC64NVME self.checksumSHA1 = checksumSHA1 self.checksumSHA256 = checksumSHA256 + self.checksumType = checksumType self.contentDisposition = contentDisposition self.contentEncoding = contentEncoding self.contentLanguage = contentLanguage @@ -8703,7 +8805,7 @@ public struct HeadObjectOutput: Swift.Sendable { 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)), 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\")"} + "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)), checksumCRC64NVME: \(Swift.String(describing: checksumCRC64NVME)), checksumSHA1: \(Swift.String(describing: checksumSHA1)), checksumSHA256: \(Swift.String(describing: checksumSHA256)), checksumType: \(Swift.String(describing: checksumType)), 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: Swift.Sendable { @@ -9088,6 +9190,8 @@ extension S3ClientTypes { public struct MultipartUpload: Swift.Sendable { /// The algorithm that was used to create a checksum of the object. public var checksumAlgorithm: S3ClientTypes.ChecksumAlgorithm? + /// The checksum type that is used to calculate the object’s checksum value. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + public var checksumType: S3ClientTypes.ChecksumType? /// Date and time at which the multipart upload was initiated. public var initiated: Foundation.Date? /// Identifies who initiated the multipart upload. @@ -9103,6 +9207,7 @@ extension S3ClientTypes { public init( checksumAlgorithm: S3ClientTypes.ChecksumAlgorithm? = nil, + checksumType: S3ClientTypes.ChecksumType? = nil, initiated: Foundation.Date? = nil, initiator: S3ClientTypes.Initiator? = nil, key: Swift.String? = nil, @@ -9111,6 +9216,7 @@ extension S3ClientTypes { uploadId: Swift.String? = nil ) { self.checksumAlgorithm = checksumAlgorithm + self.checksumType = checksumType self.initiated = initiated self.initiator = initiator self.key = key @@ -9331,6 +9437,8 @@ extension S3ClientTypes { public struct Object: Swift.Sendable { /// The algorithm that was used to create a checksum of the object. public var checksumAlgorithm: [S3ClientTypes.ChecksumAlgorithm]? + /// The checksum type that is used to calculate the object’s checksum value. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + public var checksumType: S3ClientTypes.ChecksumType? /// The entity tag is a hash of the object. The ETag reflects changes only to the contents of an object, not its metadata. The ETag may or may not be an MD5 digest of the object data. Whether or not it is depends on how the object was created and how it is encrypted as described below: /// /// * Objects created by the PUT Object, POST Object, or Copy operation, or through the Amazon Web Services Management Console, and are encrypted by SSE-S3 or plaintext, have ETags that are an MD5 digest of their object data. @@ -9357,6 +9465,7 @@ extension S3ClientTypes { public init( checksumAlgorithm: [S3ClientTypes.ChecksumAlgorithm]? = nil, + checksumType: S3ClientTypes.ChecksumType? = nil, eTag: Swift.String? = nil, key: Swift.String? = nil, lastModified: Foundation.Date? = nil, @@ -9366,6 +9475,7 @@ extension S3ClientTypes { storageClass: S3ClientTypes.ObjectStorageClass? = nil ) { self.checksumAlgorithm = checksumAlgorithm + self.checksumType = checksumType self.eTag = eTag self.key = key self.lastModified = lastModified @@ -9658,6 +9768,8 @@ extension S3ClientTypes { public struct ObjectVersion: Swift.Sendable { /// The algorithm that was used to create a checksum of the object. public var checksumAlgorithm: [S3ClientTypes.ChecksumAlgorithm]? + /// The checksum type that is used to calculate the object’s checksum value. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + public var checksumType: S3ClientTypes.ChecksumType? /// The entity tag is an MD5 hash of that version of the object. public var eTag: Swift.String? /// Specifies whether the object is (true) or is not (false) the latest version of an object. @@ -9679,6 +9791,7 @@ extension S3ClientTypes { public init( checksumAlgorithm: [S3ClientTypes.ChecksumAlgorithm]? = nil, + checksumType: S3ClientTypes.ChecksumType? = nil, eTag: Swift.String? = nil, isLatest: Swift.Bool? = nil, key: Swift.String? = nil, @@ -9690,6 +9803,7 @@ extension S3ClientTypes { versionId: Swift.String? = nil ) { self.checksumAlgorithm = checksumAlgorithm + self.checksumType = checksumType self.eTag = eTag self.isLatest = isLatest self.key = key @@ -9825,13 +9939,15 @@ extension S3ClientTypes { /// Container for elements related to a part. public struct Part: Swift.Sendable { - /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 32-bit CRC-32 checksum of the object. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + /// The Base64 encoded, 32-bit CRC-32 checksum of the part. This checksum is present if the object was uploaded with the CRC-32 checksum algorithm. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumCRC32: Swift.String? - /// The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. + /// The Base64 encoded, 32-bit CRC-32C checksum of the part. This checksum is present if the object was uploaded with the CRC-32C checksum algorithm. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumCRC32C: Swift.String? - /// The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. + /// The Base64 encoded, 64-bit CRC-64NVME checksum of the part. This checksum is present if the multipart upload request was created with the CRC-64NVME checksum algorithm, or if the object was uploaded without a checksum (and Amazon S3 added the default checksum, CRC-64NVME, to the uploaded object). For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + public var checksumCRC64NVME: Swift.String? + /// The Base64 encoded, 160-bit SHA-1 checksum of the part. This checksum is present if the object was uploaded with the SHA-1 checksum algorithm. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumSHA1: Swift.String? - /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 256-bit SHA-256 digest of the object. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + /// The Base64 encoded, 256-bit SHA-256 checksum of the part. This checksum is present if the object was uploaded with the SHA-256 checksum algorithm. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumSHA256: Swift.String? /// Entity tag returned when the part was uploaded. public var eTag: Swift.String? @@ -9845,6 +9961,7 @@ extension S3ClientTypes { public init( checksumCRC32: Swift.String? = nil, checksumCRC32C: Swift.String? = nil, + checksumCRC64NVME: Swift.String? = nil, checksumSHA1: Swift.String? = nil, checksumSHA256: Swift.String? = nil, eTag: Swift.String? = nil, @@ -9854,6 +9971,7 @@ extension S3ClientTypes { ) { self.checksumCRC32 = checksumCRC32 self.checksumCRC32C = checksumCRC32C + self.checksumCRC64NVME = checksumCRC64NVME self.checksumSHA1 = checksumSHA1 self.checksumSHA256 = checksumSHA256 self.eTag = eTag @@ -9873,6 +9991,8 @@ public struct ListPartsOutput: Swift.Sendable { public var bucket: Swift.String? /// The algorithm that was used to create a checksum of the object. public var checksumAlgorithm: S3ClientTypes.ChecksumAlgorithm? + /// The checksum type, which determines how part-level checksums are combined to create an object-level checksum for multipart objects. You can use this header response to verify that the checksum type that is received is the same checksum type that was specified in CreateMultipartUpload request. For more information, see [Checking object integrity in the Amazon S3 User Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + public var checksumType: S3ClientTypes.ChecksumType? /// Container element that identifies who initiated the multipart upload. If the initiator is an Amazon Web Services account, this element provides the same information as the Owner element. If the initiator is an IAM User, this element provides the user ARN and display name. public var initiator: S3ClientTypes.Initiator? /// Indicates whether the returned list of parts is truncated. A true value indicates that the list was truncated. A list can be truncated if the number of parts exceeds the limit returned in the MaxParts element. @@ -9901,6 +10021,7 @@ public struct ListPartsOutput: Swift.Sendable { abortRuleId: Swift.String? = nil, bucket: Swift.String? = nil, checksumAlgorithm: S3ClientTypes.ChecksumAlgorithm? = nil, + checksumType: S3ClientTypes.ChecksumType? = nil, initiator: S3ClientTypes.Initiator? = nil, isTruncated: Swift.Bool? = nil, key: Swift.String? = nil, @@ -9917,6 +10038,7 @@ public struct ListPartsOutput: Swift.Sendable { self.abortRuleId = abortRuleId self.bucket = bucket self.checksumAlgorithm = checksumAlgorithm + self.checksumType = checksumType self.initiator = initiator self.isTruncated = isTruncated self.key = key @@ -9966,7 +10088,7 @@ public struct PutBucketAclInput: Swift.Sendable { public var bucket: Swift.String? /// Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum or x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm parameter. public var checksumAlgorithm: S3ClientTypes.ChecksumAlgorithm? - /// The base64-encoded 128-bit MD5 digest of the data. This header must be used as a message integrity check to verify that the request body was not corrupted in transit. For more information, go to [RFC 1864.](http://www.ietf.org/rfc/rfc1864.txt) For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically. + /// The Base64 encoded 128-bit MD5 digest of the data. This header must be used as a message integrity check to verify that the request body was not corrupted in transit. For more information, go to [RFC 1864.](http://www.ietf.org/rfc/rfc1864.txt) For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically. public var contentMD5: Swift.String? /// The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied). public var expectedBucketOwner: Swift.String? @@ -10056,7 +10178,7 @@ public struct PutBucketCorsInput: Swift.Sendable { public var bucket: Swift.String? /// Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum or x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm parameter. public var checksumAlgorithm: S3ClientTypes.ChecksumAlgorithm? - /// The base64-encoded 128-bit MD5 digest of the data. This header must be used as a message integrity check to verify that the request body was not corrupted in transit. For more information, go to [RFC 1864.](http://www.ietf.org/rfc/rfc1864.txt) For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically. + /// The Base64 encoded 128-bit MD5 digest of the data. This header must be used as a message integrity check to verify that the request body was not corrupted in transit. For more information, go to [RFC 1864.](http://www.ietf.org/rfc/rfc1864.txt) For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically. public var contentMD5: Swift.String? /// Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more information, see [Enabling Cross-Origin Resource Sharing](https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html) in the Amazon S3 User Guide. /// This member is required. @@ -10085,7 +10207,7 @@ public struct PutBucketEncryptionInput: Swift.Sendable { public var bucket: Swift.String? /// Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum or x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm parameter. For directory buckets, when you use Amazon Web Services SDKs, CRC32 is the default checksum algorithm that's used for performance. public var checksumAlgorithm: S3ClientTypes.ChecksumAlgorithm? - /// The base64-encoded 128-bit MD5 digest of the server-side encryption configuration. For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically. This functionality is not supported for directory buckets. + /// The Base64 encoded 128-bit MD5 digest of the server-side encryption configuration. For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically. This functionality is not supported for directory buckets. public var contentMD5: Swift.String? /// The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied). For directory buckets, this header is not supported in this API operation. If you specify this header, the request fails with the HTTP status code 501 Not Implemented. public var expectedBucketOwner: Swift.String? @@ -10378,16 +10500,18 @@ public struct PutBucketPolicyInput: Swift.Sendable { public var bucket: Swift.String? /// Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum-algorithm or x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For the x-amz-checksum-algorithm header, replace algorithm with the supported algorithm from the following list: /// - /// * CRC32 + /// * CRC-32 /// - /// * CRC32C + /// * CRC-32C /// - /// * SHA1 + /// * CRC-64NVME /// - /// * SHA256 + /// * SHA-1 /// + /// * SHA-256 /// - /// For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. If the individual checksum value you provide through x-amz-checksum-algorithm doesn't match the checksum algorithm you set through x-amz-sdk-checksum-algorithm, Amazon S3 ignores any provided ChecksumAlgorithm parameter and uses the checksum algorithm that matches the provided value in x-amz-checksum-algorithm . For directory buckets, when you use Amazon Web Services SDKs, CRC32 is the default checksum algorithm that's used for performance. + /// + /// For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. If the individual checksum value you provide through x-amz-checksum-algorithm doesn't match the checksum algorithm you set through x-amz-sdk-checksum-algorithm, Amazon S3 fails the request with a BadDigest error. For directory buckets, when you use Amazon Web Services SDKs, CRC32 is the default checksum algorithm that's used for performance. public var checksumAlgorithm: S3ClientTypes.ChecksumAlgorithm? /// Set this parameter to true to confirm that you want to remove your permissions to change this bucket policy in the future. This functionality is not supported for directory buckets. public var confirmRemoveSelfBucketAccess: Swift.Bool? @@ -10422,7 +10546,7 @@ public struct PutBucketReplicationInput: Swift.Sendable { public var bucket: Swift.String? /// Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum or x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm parameter. public var checksumAlgorithm: S3ClientTypes.ChecksumAlgorithm? - /// The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message integrity check to verify that the request body was not corrupted in transit. For more information, see [RFC 1864](http://www.ietf.org/rfc/rfc1864.txt). For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically. + /// The Base64 encoded 128-bit MD5 digest of the data. You must use this header as a message integrity check to verify that the request body was not corrupted in transit. For more information, see [RFC 1864](http://www.ietf.org/rfc/rfc1864.txt). For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically. public var contentMD5: Swift.String? /// The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied). public var expectedBucketOwner: Swift.String? @@ -10471,7 +10595,7 @@ public struct PutBucketRequestPaymentInput: Swift.Sendable { public var bucket: Swift.String? /// Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum or x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm parameter. public var checksumAlgorithm: S3ClientTypes.ChecksumAlgorithm? - /// The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message integrity check to verify that the request body was not corrupted in transit. For more information, see [RFC 1864](http://www.ietf.org/rfc/rfc1864.txt). For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically. + /// The Base64 encoded 128-bit MD5 digest of the data. You must use this header as a message integrity check to verify that the request body was not corrupted in transit. For more information, see [RFC 1864](http://www.ietf.org/rfc/rfc1864.txt). For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically. public var contentMD5: Swift.String? /// The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied). public var expectedBucketOwner: Swift.String? @@ -10516,7 +10640,7 @@ public struct PutBucketTaggingInput: Swift.Sendable { public var bucket: Swift.String? /// Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum or x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm parameter. public var checksumAlgorithm: S3ClientTypes.ChecksumAlgorithm? - /// The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message integrity check to verify that the request body was not corrupted in transit. For more information, see [RFC 1864](http://www.ietf.org/rfc/rfc1864.txt). For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically. + /// The Base64 encoded 128-bit MD5 digest of the data. You must use this header as a message integrity check to verify that the request body was not corrupted in transit. For more information, see [RFC 1864](http://www.ietf.org/rfc/rfc1864.txt). For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically. public var contentMD5: Swift.String? /// The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied). public var expectedBucketOwner: Swift.String? @@ -10593,7 +10717,7 @@ public struct PutBucketVersioningInput: Swift.Sendable { public var bucket: Swift.String? /// Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum or x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm parameter. public var checksumAlgorithm: S3ClientTypes.ChecksumAlgorithm? - /// >The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message integrity check to verify that the request body was not corrupted in transit. For more information, see [RFC 1864](http://www.ietf.org/rfc/rfc1864.txt). For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically. + /// >The Base64 encoded 128-bit MD5 digest of the data. You must use this header as a message integrity check to verify that the request body was not corrupted in transit. For more information, see [RFC 1864](http://www.ietf.org/rfc/rfc1864.txt). For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically. public var contentMD5: Swift.String? /// The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied). public var expectedBucketOwner: Swift.String? @@ -10653,7 +10777,7 @@ public struct PutBucketWebsiteInput: Swift.Sendable { public var bucket: Swift.String? /// Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum or x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm parameter. public var checksumAlgorithm: S3ClientTypes.ChecksumAlgorithm? - /// The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message integrity check to verify that the request body was not corrupted in transit. For more information, see [RFC 1864](http://www.ietf.org/rfc/rfc1864.txt). For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically. + /// The Base64 encoded 128-bit MD5 digest of the data. You must use this header as a message integrity check to verify that the request body was not corrupted in transit. For more information, see [RFC 1864](http://www.ietf.org/rfc/rfc1864.txt). For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically. public var contentMD5: Swift.String? /// The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied). public var expectedBucketOwner: Swift.String? @@ -10756,24 +10880,28 @@ public struct PutObjectInput: Swift.Sendable { public var cacheControl: Swift.String? /// Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum-algorithm or x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For the x-amz-checksum-algorithm header, replace algorithm with the supported algorithm from the following list: /// - /// * CRC32 + /// * CRC-32 + /// + /// * CRC-32C /// - /// * CRC32C + /// * CRC-64NVME /// - /// * SHA1 + /// * SHA-1 /// - /// * SHA256 + /// * SHA-256 /// /// - /// For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. If the individual checksum value you provide through x-amz-checksum-algorithm doesn't match the checksum algorithm you set through x-amz-sdk-checksum-algorithm, Amazon S3 ignores any provided ChecksumAlgorithm parameter and uses the checksum algorithm that matches the provided value in x-amz-checksum-algorithm . The Content-MD5 or x-amz-sdk-checksum-algorithm header is required for any request to upload an object with a retention period configured using Amazon S3 Object Lock. For more information, see [Uploading objects to an Object Lock enabled bucket ](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-managing.html#object-lock-put-object) in the Amazon S3 User Guide. For directory buckets, when you use Amazon Web Services SDKs, CRC32 is the default checksum algorithm that's used for performance. + /// For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. If the individual checksum value you provide through x-amz-checksum-algorithm doesn't match the checksum algorithm you set through x-amz-sdk-checksum-algorithm, Amazon S3 fails the request with a BadDigest error. The Content-MD5 or x-amz-sdk-checksum-algorithm header is required for any request to upload an object with a retention period configured using Amazon S3 Object Lock. For more information, see [Uploading objects to an Object Lock enabled bucket ](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-managing.html#object-lock-put-object) in the Amazon S3 User Guide. For directory buckets, when you use Amazon Web Services SDKs, CRC32 is the default checksum algorithm that's used for performance. public var checksumAlgorithm: S3ClientTypes.ChecksumAlgorithm? - /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 32-bit CRC-32 checksum of the object. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the Base64 encoded, 32-bit CRC-32 checksum of the object. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumCRC32: Swift.String? - /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 32-bit CRC-32C checksum of the object. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the Base64 encoded, 32-bit CRC-32C checksum of the object. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumCRC32C: Swift.String? - /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 160-bit SHA-1 digest of the object. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the Base64 encoded, 64-bit CRC-64NVME checksum of the object. The CRC-64NVME checksum is always a full object checksum. For more information, see [Checking object integrity in the Amazon S3 User Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + public var checksumCRC64NVME: Swift.String? + /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the Base64 encoded, 160-bit SHA-1 digest of the object. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumSHA1: Swift.String? - /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 256-bit SHA-256 digest of the object. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the Base64 encoded, 256-bit SHA-256 digest of the object. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumSHA256: Swift.String? /// Specifies presentational information for the object. For more information, see [https://www.rfc-editor.org/rfc/rfc6266#section-4](https://www.rfc-editor.org/rfc/rfc6266#section-4). public var contentDisposition: Swift.String? @@ -10783,7 +10911,7 @@ public struct PutObjectInput: Swift.Sendable { public var contentLanguage: Swift.String? /// Size of the body in bytes. This parameter is useful when the size of the body cannot be determined automatically. For more information, see [https://www.rfc-editor.org/rfc/rfc9110.html#name-content-length](https://www.rfc-editor.org/rfc/rfc9110.html#name-content-length). public var contentLength: Swift.Int? - /// The base64-encoded 128-bit MD5 digest of the message (without the headers) according to RFC 1864. This header can be used as a message integrity check to verify that the data is the same data that was originally sent. Although it is optional, we recommend using the Content-MD5 mechanism as an end-to-end integrity check. For more information about REST request authentication, see [REST Authentication](https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html). The Content-MD5 or x-amz-sdk-checksum-algorithm header is required for any request to upload an object with a retention period configured using Amazon S3 Object Lock. For more information, see [Uploading objects to an Object Lock enabled bucket ](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-managing.html#object-lock-put-object) in the Amazon S3 User Guide. This functionality is not supported for directory buckets. + /// The Base64 encoded 128-bit MD5 digest of the message (without the headers) according to RFC 1864. This header can be used as a message integrity check to verify that the data is the same data that was originally sent. Although it is optional, we recommend using the Content-MD5 mechanism as an end-to-end integrity check. For more information about REST request authentication, see [REST Authentication](https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html). The Content-MD5 or x-amz-sdk-checksum-algorithm header is required for any request to upload an object with a retention period configured using Amazon S3 Object Lock. For more information, see [Uploading objects to an Object Lock enabled bucket ](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock-managing.html#object-lock-put-object) in the Amazon S3 User Guide. This functionality is not supported for directory buckets. public var contentMD5: Swift.String? /// A standard MIME type describing the format of the contents. For more information, see [https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type](https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type). public var contentType: Swift.String? @@ -10844,7 +10972,7 @@ public struct PutObjectInput: Swift.Sendable { public var sseCustomerKey: Swift.String? /// Specifies the 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure that the encryption key was transmitted without error. This functionality is not supported for directory buckets. public var sseCustomerKeyMD5: Swift.String? - /// Specifies the Amazon Web Services KMS Encryption Context as an additional encryption context to use for object encryption. The value of this header is a Base64-encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs. This value is stored as object metadata and automatically gets passed on to Amazon Web Services KMS for future GetObject operations on this object. General purpose buckets - This value must be explicitly added during CopyObject operations if you want an additional encryption context for your object. For more information, see [Encryption context](https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html#encryption-context) in the Amazon S3 User Guide. Directory buckets - You can optionally provide an explicit encryption context value. The value must match the default encryption context - the bucket Amazon Resource Name (ARN). An additional encryption context value is not supported. + /// Specifies the Amazon Web Services KMS Encryption Context as an additional encryption context to use for object encryption. The value of this header is a Base64 encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs. This value is stored as object metadata and automatically gets passed on to Amazon Web Services KMS for future GetObject operations on this object. General purpose buckets - This value must be explicitly added during CopyObject operations if you want an additional encryption context for your object. For more information, see [Encryption context](https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html#encryption-context) in the Amazon S3 User Guide. Directory buckets - You can optionally provide an explicit encryption context value. The value must match the default encryption context - the bucket Amazon Resource Name (ARN). An additional encryption context value is not supported. public var ssekmsEncryptionContext: Swift.String? /// Specifies the KMS key ID (Key ID, Key ARN, or Key Alias) to use for object encryption. If the KMS key doesn't exist in the same account that's issuing the command, you must use the full Key ARN not the Key ID. General purpose buckets - If you specify x-amz-server-side-encryption with aws:kms or aws:kms:dsse, this header specifies the ID (Key ID, Key ARN, or Key Alias) of the KMS key to use. If you specify x-amz-server-side-encryption:aws:kms or x-amz-server-side-encryption:aws:kms:dsse, but do not provide x-amz-server-side-encryption-aws-kms-key-id, Amazon S3 uses the Amazon Web Services managed key (aws/s3) to protect the data. Directory buckets - If you specify x-amz-server-side-encryption with aws:kms, the x-amz-server-side-encryption-aws-kms-key-id header is implicitly assigned the ID of the KMS symmetric encryption customer managed key that's configured for your directory bucket's default encryption setting. If you want to specify the x-amz-server-side-encryption-aws-kms-key-id header explicitly, you can only specify it with the ID (Key ID or Key ARN) of the KMS customer managed key that's configured for your directory bucket's default encryption setting. Otherwise, you get an HTTP 400 Bad Request error. Only use the key ID or key ARN. The key alias format of the KMS key isn't supported. Your SSE-KMS configuration can only support 1 [customer managed key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk) per directory bucket for the lifetime of the bucket. The [Amazon Web Services managed key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk) (aws/s3) isn't supported. public var ssekmsKeyId: Swift.String? @@ -10870,6 +10998,7 @@ public struct PutObjectInput: Swift.Sendable { checksumAlgorithm: S3ClientTypes.ChecksumAlgorithm? = nil, checksumCRC32: Swift.String? = nil, checksumCRC32C: Swift.String? = nil, + checksumCRC64NVME: Swift.String? = nil, checksumSHA1: Swift.String? = nil, checksumSHA256: Swift.String? = nil, contentDisposition: Swift.String? = nil, @@ -10911,6 +11040,7 @@ public struct PutObjectInput: Swift.Sendable { self.checksumAlgorithm = checksumAlgorithm self.checksumCRC32 = checksumCRC32 self.checksumCRC32C = checksumCRC32C + self.checksumCRC64NVME = checksumCRC64NVME self.checksumSHA1 = checksumSHA1 self.checksumSHA256 = checksumSHA256 self.contentDisposition = contentDisposition @@ -10948,20 +11078,24 @@ public struct PutObjectInput: Swift.Sendable { 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)), ifMatch: \(Swift.String(describing: ifMatch)), ifNoneMatch: \(Swift.String(describing: ifNoneMatch)), 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)), writeOffsetBytes: \(Swift.String(describing: writeOffsetBytes)), 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)), checksumCRC64NVME: \(Swift.String(describing: checksumCRC64NVME)), 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)), ifMatch: \(Swift.String(describing: ifMatch)), ifNoneMatch: \(Swift.String(describing: ifNoneMatch)), 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)), writeOffsetBytes: \(Swift.String(describing: writeOffsetBytes)), sseCustomerKey: \"CONTENT_REDACTED\", ssekmsEncryptionContext: \"CONTENT_REDACTED\", ssekmsKeyId: \"CONTENT_REDACTED\")"} } public struct PutObjectOutput: Swift.Sendable { /// Indicates whether the uploaded object uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS). public var bucketKeyEnabled: Swift.Bool? - /// The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. + /// The Base64 encoded, 32-bit CRC-32 checksum of the object. This checksum is only be present if the checksum was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. public var checksumCRC32: Swift.String? - /// The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. + /// The Base64 encoded, 32-bit CRC-32C checksum of the object. This checksum is only present if the checksum was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. public var checksumCRC32C: Swift.String? - /// The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. + /// The Base64 encoded, 64-bit CRC-64NVME checksum of the object. This header is present if the object was uploaded with the CRC-64NVME checksum algorithm, or if it was uploaded without a checksum (and Amazon S3 added the default checksum, CRC-64NVME, to the uploaded object). For more information about how checksums are calculated with multipart uploads, see [Checking object integrity in the Amazon S3 User Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html). + public var checksumCRC64NVME: Swift.String? + /// The Base64 encoded, 160-bit SHA-1 digest of the object. This will only be present if the object was uploaded with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. public var checksumSHA1: Swift.String? - /// The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. + /// The Base64 encoded, 256-bit SHA-256 digest of the object. This will only be present if the object was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. public var checksumSHA256: Swift.String? + /// This header specifies the checksum type of the object, which determines how part-level checksums are combined to create an object-level checksum for multipart objects. For PutObject uploads, the checksum type is always FULL_OBJECT. You can use this header as a data integrity check to verify that the checksum type that is received is the same checksum that was specified. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + public var checksumType: S3ClientTypes.ChecksumType? /// Entity tag for the uploaded object. General purpose buckets - To ensure that data is not corrupted traversing the network, for objects where the ETag is the MD5 digest of the object, you can calculate the MD5 while putting an object to Amazon S3 and compare the returned ETag to the calculated MD5 value. Directory buckets - The ETag for the object in a directory bucket isn't the MD5 digest of the object. public var eTag: Swift.String? /// If the expiration is configured for the object (see [PutBucketLifecycleConfiguration](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html)) in the Amazon S3 User Guide, the response includes this header. It includes the expiry-date and rule-id key-value pairs that provide information about object expiration. The value of the rule-id is URL-encoded. Object expiration information is not returned in directory buckets and this header returns the value "NotImplemented" in all responses for directory buckets. @@ -10970,13 +11104,13 @@ public struct PutObjectOutput: Swift.Sendable { public var requestCharged: S3ClientTypes.RequestCharged? /// The server-side encryption algorithm used when you store this object in Amazon S3. public var serverSideEncryption: S3ClientTypes.ServerSideEncryption? - /// The size of the object in bytes. This will only be present if you append to an object. This functionality is only supported for objects in the Amazon S3 Express One Zone storage class in directory buckets. + /// The size of the object in bytes. This value is only be present if you append to an object. This functionality is only supported for objects in the Amazon S3 Express One Zone storage class in directory buckets. public var size: Swift.Int? /// If server-side encryption with a customer-provided encryption key was requested, the response will include this header to confirm the encryption algorithm that's used. This functionality is not supported for directory buckets. public var sseCustomerAlgorithm: Swift.String? /// If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide the round-trip message integrity verification of the customer-provided encryption key. This functionality is not supported for directory buckets. public var sseCustomerKeyMD5: Swift.String? - /// If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this header is a Base64-encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs. This value is stored as object metadata and automatically gets passed on to Amazon Web Services KMS for future GetObject operations on this object. + /// If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this header is a Base64 encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs. This value is stored as object metadata and automatically gets passed on to Amazon Web Services KMS for future GetObject operations on this object. public var ssekmsEncryptionContext: Swift.String? /// If present, indicates the ID of the KMS key that was used for object encryption. public var ssekmsKeyId: Swift.String? @@ -10987,8 +11121,10 @@ public struct PutObjectOutput: Swift.Sendable { bucketKeyEnabled: Swift.Bool? = nil, checksumCRC32: Swift.String? = nil, checksumCRC32C: Swift.String? = nil, + checksumCRC64NVME: Swift.String? = nil, checksumSHA1: Swift.String? = nil, checksumSHA256: Swift.String? = nil, + checksumType: S3ClientTypes.ChecksumType? = nil, eTag: Swift.String? = nil, expiration: Swift.String? = nil, requestCharged: S3ClientTypes.RequestCharged? = nil, @@ -11003,8 +11139,10 @@ public struct PutObjectOutput: Swift.Sendable { self.bucketKeyEnabled = bucketKeyEnabled self.checksumCRC32 = checksumCRC32 self.checksumCRC32C = checksumCRC32C + self.checksumCRC64NVME = checksumCRC64NVME self.checksumSHA1 = checksumSHA1 self.checksumSHA256 = checksumSHA256 + self.checksumType = checksumType self.eTag = eTag self.expiration = expiration self.requestCharged = requestCharged @@ -11020,7 +11158,7 @@ public struct PutObjectOutput: Swift.Sendable { 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)), serverSideEncryption: \(Swift.String(describing: serverSideEncryption)), size: \(Swift.String(describing: size)), sseCustomerAlgorithm: \(Swift.String(describing: sseCustomerAlgorithm)), sseCustomerKeyMD5: \(Swift.String(describing: sseCustomerKeyMD5)), 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)), checksumCRC64NVME: \(Swift.String(describing: checksumCRC64NVME)), checksumSHA1: \(Swift.String(describing: checksumSHA1)), checksumSHA256: \(Swift.String(describing: checksumSHA256)), checksumType: \(Swift.String(describing: checksumType)), eTag: \(Swift.String(describing: eTag)), expiration: \(Swift.String(describing: expiration)), requestCharged: \(Swift.String(describing: requestCharged)), serverSideEncryption: \(Swift.String(describing: serverSideEncryption)), size: \(Swift.String(describing: size)), sseCustomerAlgorithm: \(Swift.String(describing: sseCustomerAlgorithm)), sseCustomerKeyMD5: \(Swift.String(describing: sseCustomerKeyMD5)), versionId: \(Swift.String(describing: versionId)), ssekmsEncryptionContext: \"CONTENT_REDACTED\", ssekmsKeyId: \"CONTENT_REDACTED\")"} } public struct PutObjectAclInput: Swift.Sendable { @@ -11033,7 +11171,7 @@ public struct PutObjectAclInput: Swift.Sendable { public var bucket: Swift.String? /// Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum or x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm parameter. public var checksumAlgorithm: S3ClientTypes.ChecksumAlgorithm? - /// The base64-encoded 128-bit MD5 digest of the data. This header must be used as a message integrity check to verify that the request body was not corrupted in transit. For more information, go to [RFC 1864.>](http://www.ietf.org/rfc/rfc1864.txt) For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically. + /// The Base64 encoded 128-bit MD5 digest of the data. This header must be used as a message integrity check to verify that the request body was not corrupted in transit. For more information, go to [RFC 1864.>](http://www.ietf.org/rfc/rfc1864.txt) For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically. public var contentMD5: Swift.String? /// The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied). public var expectedBucketOwner: Swift.String? @@ -12220,17 +12358,19 @@ public struct UploadPartInput: Swift.Sendable { public var bucket: Swift.String? /// Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum or x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm parameter. This checksum algorithm must be the same for all parts and it match the checksum value supplied in the CreateMultipartUpload request. public var checksumAlgorithm: S3ClientTypes.ChecksumAlgorithm? - /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 32-bit CRC-32 checksum of the object. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the Base64 encoded, 32-bit CRC-32 checksum of the object. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumCRC32: Swift.String? - /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 32-bit CRC-32C checksum of the object. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the Base64 encoded, 32-bit CRC-32C checksum of the object. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumCRC32C: Swift.String? - /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 160-bit SHA-1 digest of the object. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the Base64 encoded, 64-bit CRC-64NVME checksum of the part. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + public var checksumCRC64NVME: Swift.String? + /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the Base64 encoded, 160-bit SHA-1 digest of the object. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumSHA1: Swift.String? - /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the base64-encoded, 256-bit SHA-256 digest of the object. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the Base64 encoded, 256-bit SHA-256 digest of the object. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumSHA256: Swift.String? /// Size of the body in bytes. This parameter is useful when the size of the body cannot be determined automatically. public var contentLength: Swift.Int? - /// The base64-encoded 128-bit MD5 digest of the part data. This parameter is auto-populated when using the command from the CLI. This parameter is required if object lock parameters are specified. This functionality is not supported for directory buckets. + /// The Base64 encoded 128-bit MD5 digest of the part data. This parameter is auto-populated when using the command from the CLI. This parameter is required if object lock parameters are specified. This functionality is not supported for directory buckets. public var contentMD5: Swift.String? /// The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied). public var expectedBucketOwner: Swift.String? @@ -12258,6 +12398,7 @@ public struct UploadPartInput: Swift.Sendable { checksumAlgorithm: S3ClientTypes.ChecksumAlgorithm? = nil, checksumCRC32: Swift.String? = nil, checksumCRC32C: Swift.String? = nil, + checksumCRC64NVME: Swift.String? = nil, checksumSHA1: Swift.String? = nil, checksumSHA256: Swift.String? = nil, contentLength: Swift.Int? = nil, @@ -12276,6 +12417,7 @@ public struct UploadPartInput: Swift.Sendable { self.checksumAlgorithm = checksumAlgorithm self.checksumCRC32 = checksumCRC32 self.checksumCRC32C = checksumCRC32C + self.checksumCRC64NVME = checksumCRC64NVME self.checksumSHA1 = checksumSHA1 self.checksumSHA256 = checksumSHA256 self.contentLength = contentLength @@ -12293,19 +12435,21 @@ public struct UploadPartInput: Swift.Sendable { extension UploadPartInput: Swift.CustomDebugStringConvertible { public var debugDescription: Swift.String { - "UploadPartInput(body: \(Swift.String(describing: body)), bucket: \(Swift.String(describing: bucket)), 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)), contentLength: \(Swift.String(describing: contentLength)), contentMD5: \(Swift.String(describing: contentMD5)), expectedBucketOwner: \(Swift.String(describing: expectedBucketOwner)), key: \(Swift.String(describing: key)), partNumber: \(Swift.String(describing: partNumber)), requestPayer: \(Swift.String(describing: requestPayer)), sseCustomerAlgorithm: \(Swift.String(describing: sseCustomerAlgorithm)), sseCustomerKeyMD5: \(Swift.String(describing: sseCustomerKeyMD5)), uploadId: \(Swift.String(describing: uploadId)), sseCustomerKey: \"CONTENT_REDACTED\")"} + "UploadPartInput(body: \(Swift.String(describing: body)), bucket: \(Swift.String(describing: bucket)), checksumAlgorithm: \(Swift.String(describing: checksumAlgorithm)), checksumCRC32: \(Swift.String(describing: checksumCRC32)), checksumCRC32C: \(Swift.String(describing: checksumCRC32C)), checksumCRC64NVME: \(Swift.String(describing: checksumCRC64NVME)), checksumSHA1: \(Swift.String(describing: checksumSHA1)), checksumSHA256: \(Swift.String(describing: checksumSHA256)), contentLength: \(Swift.String(describing: contentLength)), contentMD5: \(Swift.String(describing: contentMD5)), expectedBucketOwner: \(Swift.String(describing: expectedBucketOwner)), key: \(Swift.String(describing: key)), partNumber: \(Swift.String(describing: partNumber)), requestPayer: \(Swift.String(describing: requestPayer)), sseCustomerAlgorithm: \(Swift.String(describing: sseCustomerAlgorithm)), sseCustomerKeyMD5: \(Swift.String(describing: sseCustomerKeyMD5)), uploadId: \(Swift.String(describing: uploadId)), sseCustomerKey: \"CONTENT_REDACTED\")"} } public struct UploadPartOutput: Swift.Sendable { /// Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS). public var bucketKeyEnabled: Swift.Bool? - /// The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. + /// The Base64 encoded, 32-bit CRC-32 checksum of the object. This checksum is only be present if the checksum was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. public var checksumCRC32: Swift.String? - /// The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. + /// The Base64 encoded, 32-bit CRC-32C checksum of the object. This checksum is only present if the checksum was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. public var checksumCRC32C: Swift.String? - /// The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. + /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the Base64 encoded, 64-bit CRC-64NVME checksum of the part. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + public var checksumCRC64NVME: Swift.String? + /// The Base64 encoded, 160-bit SHA-1 digest of the object. This will only be present if the object was uploaded with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. public var checksumSHA1: Swift.String? - /// The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. + /// The Base64 encoded, 256-bit SHA-256 digest of the object. This will only be present if the object was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. public var checksumSHA256: Swift.String? /// Entity tag for the uploaded object. public var eTag: Swift.String? @@ -12324,6 +12468,7 @@ public struct UploadPartOutput: Swift.Sendable { bucketKeyEnabled: Swift.Bool? = nil, checksumCRC32: Swift.String? = nil, checksumCRC32C: Swift.String? = nil, + checksumCRC64NVME: Swift.String? = nil, checksumSHA1: Swift.String? = nil, checksumSHA256: Swift.String? = nil, eTag: Swift.String? = nil, @@ -12336,6 +12481,7 @@ public struct UploadPartOutput: Swift.Sendable { self.bucketKeyEnabled = bucketKeyEnabled self.checksumCRC32 = checksumCRC32 self.checksumCRC32C = checksumCRC32C + self.checksumCRC64NVME = checksumCRC64NVME self.checksumSHA1 = checksumSHA1 self.checksumSHA256 = checksumSHA256 self.eTag = eTag @@ -12349,7 +12495,7 @@ public struct UploadPartOutput: Swift.Sendable { 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)), serverSideEncryption: \(Swift.String(describing: serverSideEncryption)), sseCustomerAlgorithm: \(Swift.String(describing: sseCustomerAlgorithm)), sseCustomerKeyMD5: \(Swift.String(describing: sseCustomerKeyMD5)), ssekmsKeyId: \"CONTENT_REDACTED\")"} + "UploadPartOutput(bucketKeyEnabled: \(Swift.String(describing: bucketKeyEnabled)), checksumCRC32: \(Swift.String(describing: checksumCRC32)), checksumCRC32C: \(Swift.String(describing: checksumCRC32C)), checksumCRC64NVME: \(Swift.String(describing: checksumCRC64NVME)), 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: Swift.Sendable { @@ -12463,13 +12609,15 @@ extension S3ClientTypes { /// Container for all response elements. public struct CopyPartResult: Swift.Sendable { - /// The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. + /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the Base64 encoded, 32-bit CRC-32 checksum of the part. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumCRC32: Swift.String? - /// The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. + /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the Base64 encoded, 32-bit CRC-32C checksum of the part. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumCRC32C: Swift.String? - /// The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. + /// The Base64 encoded, 64-bit CRC-64NVME checksum of the part. This checksum is present if the multipart upload request was created with the CRC-64NVME checksum algorithm to the uploaded object). For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + public var checksumCRC64NVME: Swift.String? + /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the Base64 encoded, 160-bit SHA-1 checksum of the part. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumSHA1: Swift.String? - /// The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see [ Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums) in the Amazon S3 User Guide. + /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the Base64 encoded, 256-bit SHA-256 checksum of the part. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. public var checksumSHA256: Swift.String? /// Entity tag of the object. public var eTag: Swift.String? @@ -12479,6 +12627,7 @@ extension S3ClientTypes { public init( checksumCRC32: Swift.String? = nil, checksumCRC32C: Swift.String? = nil, + checksumCRC64NVME: Swift.String? = nil, checksumSHA1: Swift.String? = nil, checksumSHA256: Swift.String? = nil, eTag: Swift.String? = nil, @@ -12486,6 +12635,7 @@ extension S3ClientTypes { ) { self.checksumCRC32 = checksumCRC32 self.checksumCRC32C = checksumCRC32C + self.checksumCRC64NVME = checksumCRC64NVME self.checksumSHA1 = checksumSHA1 self.checksumSHA256 = checksumSHA256 self.eTag = eTag @@ -12547,13 +12697,15 @@ public struct WriteGetObjectResponseInput: Swift.Sendable { public var bucketKeyEnabled: Swift.Bool? /// Specifies caching behavior along the request/reply chain. public var cacheControl: Swift.String? - /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This specifies the base64-encoded, 32-bit CRC-32 checksum of the object returned by the Object Lambda function. This may not match the checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values only when the original GetObject request required checksum validation. For more information about checksums, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. Only one checksum header can be specified at a time. If you supply multiple checksum headers, this request will fail. + /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This specifies the Base64 encoded, 32-bit CRC-32 checksum of the object returned by the Object Lambda function. This may not match the checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values only when the original GetObject request required checksum validation. For more information about checksums, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. Only one checksum header can be specified at a time. If you supply multiple checksum headers, this request will fail. public var checksumCRC32: Swift.String? - /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This specifies the base64-encoded, 32-bit CRC-32C checksum of the object returned by the Object Lambda function. This may not match the checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values only when the original GetObject request required checksum validation. For more information about checksums, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. Only one checksum header can be specified at a time. If you supply multiple checksum headers, this request will fail. + /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This specifies the Base64 encoded, 32-bit CRC-32C checksum of the object returned by the Object Lambda function. This may not match the checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values only when the original GetObject request required checksum validation. For more information about checksums, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. Only one checksum header can be specified at a time. If you supply multiple checksum headers, this request will fail. public var checksumCRC32C: Swift.String? - /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This specifies the base64-encoded, 160-bit SHA-1 digest of the object returned by the Object Lambda function. This may not match the checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values only when the original GetObject request required checksum validation. For more information about checksums, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. Only one checksum header can be specified at a time. If you supply multiple checksum headers, this request will fail. + /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This header specifies the Base64 encoded, 64-bit CRC-64NVME checksum of the part. For more information, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. + public var checksumCRC64NVME: Swift.String? + /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This specifies the Base64 encoded, 160-bit SHA-1 digest of the object returned by the Object Lambda function. This may not match the checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values only when the original GetObject request required checksum validation. For more information about checksums, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. Only one checksum header can be specified at a time. If you supply multiple checksum headers, this request will fail. public var checksumSHA1: Swift.String? - /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This specifies the base64-encoded, 256-bit SHA-256 digest of the object returned by the Object Lambda function. This may not match the checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values only when the original GetObject request required checksum validation. For more information about checksums, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. Only one checksum header can be specified at a time. If you supply multiple checksum headers, this request will fail. + /// This header can be used as a data integrity check to verify that the data received is the same data that was originally sent. This specifies the Base64 encoded, 256-bit SHA-256 digest of the object returned by the Object Lambda function. This may not match the checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values only when the original GetObject request required checksum validation. For more information about checksums, see [Checking object integrity](https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html) in the Amazon S3 User Guide. Only one checksum header can be specified at a time. If you supply multiple checksum headers, this request will fail. public var checksumSHA256: Swift.String? /// Specifies presentational information for the object. public var contentDisposition: Swift.String? @@ -12657,6 +12809,7 @@ public struct WriteGetObjectResponseInput: Swift.Sendable { cacheControl: Swift.String? = nil, checksumCRC32: Swift.String? = nil, checksumCRC32C: Swift.String? = nil, + checksumCRC64NVME: Swift.String? = nil, checksumSHA1: Swift.String? = nil, checksumSHA256: Swift.String? = nil, contentDisposition: Swift.String? = nil, @@ -12698,6 +12851,7 @@ public struct WriteGetObjectResponseInput: Swift.Sendable { self.cacheControl = cacheControl self.checksumCRC32 = checksumCRC32 self.checksumCRC32C = checksumCRC32C + self.checksumCRC64NVME = checksumCRC64NVME self.checksumSHA1 = checksumSHA1 self.checksumSHA256 = checksumSHA256 self.contentDisposition = contentDisposition @@ -12737,7 +12891,7 @@ public struct WriteGetObjectResponseInput: Swift.Sendable { 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)), 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\")"} + "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)), checksumCRC64NVME: \(Swift.String(describing: checksumCRC64NVME)), 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 { @@ -12802,12 +12956,18 @@ extension CompleteMultipartUploadInput { if let checksumCRC32C = value.checksumCRC32C { items.add(SmithyHTTPAPI.Header(name: "x-amz-checksum-crc32c", value: Swift.String(checksumCRC32C))) } + if let checksumCRC64NVME = value.checksumCRC64NVME { + items.add(SmithyHTTPAPI.Header(name: "x-amz-checksum-crc64nvme", value: Swift.String(checksumCRC64NVME))) + } if let checksumSHA1 = value.checksumSHA1 { items.add(SmithyHTTPAPI.Header(name: "x-amz-checksum-sha1", value: Swift.String(checksumSHA1))) } if let checksumSHA256 = value.checksumSHA256 { items.add(SmithyHTTPAPI.Header(name: "x-amz-checksum-sha256", value: Swift.String(checksumSHA256))) } + if let checksumType = value.checksumType { + items.add(SmithyHTTPAPI.Header(name: "x-amz-checksum-type", value: Swift.String(checksumType.rawValue))) + } if let expectedBucketOwner = value.expectedBucketOwner { items.add(SmithyHTTPAPI.Header(name: "x-amz-expected-bucket-owner", value: Swift.String(expectedBucketOwner))) } @@ -12817,6 +12977,9 @@ extension CompleteMultipartUploadInput { if let ifNoneMatch = value.ifNoneMatch { items.add(SmithyHTTPAPI.Header(name: "If-None-Match", value: Swift.String(ifNoneMatch))) } + if let mpuObjectSize = value.mpuObjectSize { + items.add(SmithyHTTPAPI.Header(name: "x-amz-mp-object-size", value: Swift.String(mpuObjectSize))) + } if let requestPayer = value.requestPayer { items.add(SmithyHTTPAPI.Header(name: "x-amz-request-payer", value: Swift.String(requestPayer.rawValue))) } @@ -13091,6 +13254,9 @@ extension CreateMultipartUploadInput { if let checksumAlgorithm = value.checksumAlgorithm { items.add(SmithyHTTPAPI.Header(name: "x-amz-checksum-algorithm", value: Swift.String(checksumAlgorithm.rawValue))) } + if let checksumType = value.checksumType { + items.add(SmithyHTTPAPI.Header(name: "x-amz-checksum-type", value: Swift.String(checksumType.rawValue))) + } if let contentDisposition = value.contentDisposition { items.add(SmithyHTTPAPI.Header(name: "Content-Disposition", value: Swift.String(contentDisposition))) } @@ -15935,6 +16101,9 @@ extension PutObjectInput { if let checksumCRC32C = value.checksumCRC32C { items.add(SmithyHTTPAPI.Header(name: "x-amz-checksum-crc32c", value: Swift.String(checksumCRC32C))) } + if let checksumCRC64NVME = value.checksumCRC64NVME { + items.add(SmithyHTTPAPI.Header(name: "x-amz-checksum-crc64nvme", value: Swift.String(checksumCRC64NVME))) + } if let checksumSHA1 = value.checksumSHA1 { items.add(SmithyHTTPAPI.Header(name: "x-amz-checksum-sha1", value: Swift.String(checksumSHA1))) } @@ -16411,6 +16580,9 @@ extension UploadPartInput { if let checksumCRC32C = value.checksumCRC32C { items.add(SmithyHTTPAPI.Header(name: "x-amz-checksum-crc32c", value: Swift.String(checksumCRC32C))) } + if let checksumCRC64NVME = value.checksumCRC64NVME { + items.add(SmithyHTTPAPI.Header(name: "x-amz-checksum-crc64nvme", value: Swift.String(checksumCRC64NVME))) + } if let checksumSHA1 = value.checksumSHA1 { items.add(SmithyHTTPAPI.Header(name: "x-amz-checksum-sha1", value: Swift.String(checksumSHA1))) } @@ -16573,6 +16745,9 @@ extension WriteGetObjectResponseInput { if let checksumCRC32C = value.checksumCRC32C { items.add(SmithyHTTPAPI.Header(name: "x-amz-fwd-header-x-amz-checksum-crc32c", value: Swift.String(checksumCRC32C))) } + if let checksumCRC64NVME = value.checksumCRC64NVME { + items.add(SmithyHTTPAPI.Header(name: "x-amz-fwd-header-x-amz-checksum-crc64nvme", value: Swift.String(checksumCRC64NVME))) + } if let checksumSHA1 = value.checksumSHA1 { items.add(SmithyHTTPAPI.Header(name: "x-amz-fwd-header-x-amz-checksum-sha1", value: Swift.String(checksumSHA1))) } @@ -16989,8 +17164,10 @@ extension CompleteMultipartUploadOutput { value.bucket = try reader["Bucket"].readIfPresent() value.checksumCRC32 = try reader["ChecksumCRC32"].readIfPresent() value.checksumCRC32C = try reader["ChecksumCRC32C"].readIfPresent() + value.checksumCRC64NVME = try reader["ChecksumCRC64NVME"].readIfPresent() value.checksumSHA1 = try reader["ChecksumSHA1"].readIfPresent() value.checksumSHA256 = try reader["ChecksumSHA256"].readIfPresent() + value.checksumType = try reader["ChecksumType"].readIfPresent() value.eTag = try reader["ETag"].readIfPresent() value.key = try reader["Key"].readIfPresent() value.location = try reader["Location"].readIfPresent() @@ -17077,6 +17254,9 @@ extension CreateMultipartUploadOutput { if let checksumAlgorithmHeaderValue = httpResponse.headers.value(for: "x-amz-checksum-algorithm") { value.checksumAlgorithm = S3ClientTypes.ChecksumAlgorithm(rawValue: checksumAlgorithmHeaderValue) } + if let checksumTypeHeaderValue = httpResponse.headers.value(for: "x-amz-checksum-type") { + value.checksumType = S3ClientTypes.ChecksumType(rawValue: checksumTypeHeaderValue) + } if let requestChargedHeaderValue = httpResponse.headers.value(for: "x-amz-request-charged") { value.requestCharged = S3ClientTypes.RequestCharged(rawValue: requestChargedHeaderValue) } @@ -17559,12 +17739,18 @@ extension GetObjectOutput { if let checksumCRC32CHeaderValue = httpResponse.headers.value(for: "x-amz-checksum-crc32c") { value.checksumCRC32C = checksumCRC32CHeaderValue } + if let checksumCRC64NVMEHeaderValue = httpResponse.headers.value(for: "x-amz-checksum-crc64nvme") { + value.checksumCRC64NVME = checksumCRC64NVMEHeaderValue + } if let checksumSHA1HeaderValue = httpResponse.headers.value(for: "x-amz-checksum-sha1") { value.checksumSHA1 = checksumSHA1HeaderValue } if let checksumSHA256HeaderValue = httpResponse.headers.value(for: "x-amz-checksum-sha256") { value.checksumSHA256 = checksumSHA256HeaderValue } + if let checksumTypeHeaderValue = httpResponse.headers.value(for: "x-amz-checksum-type") { + value.checksumType = S3ClientTypes.ChecksumType(rawValue: checksumTypeHeaderValue) + } if let contentDispositionHeaderValue = httpResponse.headers.value(for: "Content-Disposition") { value.contentDisposition = contentDispositionHeaderValue } @@ -17838,12 +18024,18 @@ extension HeadObjectOutput { if let checksumCRC32CHeaderValue = httpResponse.headers.value(for: "x-amz-checksum-crc32c") { value.checksumCRC32C = checksumCRC32CHeaderValue } + if let checksumCRC64NVMEHeaderValue = httpResponse.headers.value(for: "x-amz-checksum-crc64nvme") { + value.checksumCRC64NVME = checksumCRC64NVMEHeaderValue + } if let checksumSHA1HeaderValue = httpResponse.headers.value(for: "x-amz-checksum-sha1") { value.checksumSHA1 = checksumSHA1HeaderValue } if let checksumSHA256HeaderValue = httpResponse.headers.value(for: "x-amz-checksum-sha256") { value.checksumSHA256 = checksumSHA256HeaderValue } + if let checksumTypeHeaderValue = httpResponse.headers.value(for: "x-amz-checksum-type") { + value.checksumType = S3ClientTypes.ChecksumType(rawValue: checksumTypeHeaderValue) + } if let contentDispositionHeaderValue = httpResponse.headers.value(for: "Content-Disposition") { value.contentDisposition = contentDispositionHeaderValue } @@ -18144,6 +18336,7 @@ extension ListPartsOutput { } value.bucket = try reader["Bucket"].readIfPresent() value.checksumAlgorithm = try reader["ChecksumAlgorithm"].readIfPresent() + value.checksumType = try reader["ChecksumType"].readIfPresent() value.initiator = try reader["Initiator"].readIfPresent(with: S3ClientTypes.Initiator.read(from:)) value.isTruncated = try reader["IsTruncated"].readIfPresent() value.key = try reader["Key"].readIfPresent() @@ -18301,12 +18494,18 @@ extension PutObjectOutput { if let checksumCRC32CHeaderValue = httpResponse.headers.value(for: "x-amz-checksum-crc32c") { value.checksumCRC32C = checksumCRC32CHeaderValue } + if let checksumCRC64NVMEHeaderValue = httpResponse.headers.value(for: "x-amz-checksum-crc64nvme") { + value.checksumCRC64NVME = checksumCRC64NVMEHeaderValue + } if let checksumSHA1HeaderValue = httpResponse.headers.value(for: "x-amz-checksum-sha1") { value.checksumSHA1 = checksumSHA1HeaderValue } if let checksumSHA256HeaderValue = httpResponse.headers.value(for: "x-amz-checksum-sha256") { value.checksumSHA256 = checksumSHA256HeaderValue } + if let checksumTypeHeaderValue = httpResponse.headers.value(for: "x-amz-checksum-type") { + value.checksumType = S3ClientTypes.ChecksumType(rawValue: checksumTypeHeaderValue) + } if let eTagHeaderValue = httpResponse.headers.value(for: "ETag") { value.eTag = eTagHeaderValue } @@ -18443,6 +18642,9 @@ extension UploadPartOutput { if let checksumCRC32CHeaderValue = httpResponse.headers.value(for: "x-amz-checksum-crc32c") { value.checksumCRC32C = checksumCRC32CHeaderValue } + if let checksumCRC64NVMEHeaderValue = httpResponse.headers.value(for: "x-amz-checksum-crc64nvme") { + value.checksumCRC64NVME = checksumCRC64NVMEHeaderValue + } if let checksumSHA1HeaderValue = httpResponse.headers.value(for: "x-amz-checksum-sha1") { value.checksumSHA1 = checksumSHA1HeaderValue } @@ -20124,8 +20326,10 @@ extension S3ClientTypes.CopyObjectResult { var value = S3ClientTypes.CopyObjectResult() value.eTag = try reader["ETag"].readIfPresent() value.lastModified = try reader["LastModified"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.dateTime) + value.checksumType = try reader["ChecksumType"].readIfPresent() value.checksumCRC32 = try reader["ChecksumCRC32"].readIfPresent() value.checksumCRC32C = try reader["ChecksumCRC32C"].readIfPresent() + value.checksumCRC64NVME = try reader["ChecksumCRC64NVME"].readIfPresent() value.checksumSHA1 = try reader["ChecksumSHA1"].readIfPresent() value.checksumSHA256 = try reader["ChecksumSHA256"].readIfPresent() return value @@ -21575,8 +21779,10 @@ extension S3ClientTypes.Checksum { var value = S3ClientTypes.Checksum() value.checksumCRC32 = try reader["ChecksumCRC32"].readIfPresent() value.checksumCRC32C = try reader["ChecksumCRC32C"].readIfPresent() + value.checksumCRC64NVME = try reader["ChecksumCRC64NVME"].readIfPresent() value.checksumSHA1 = try reader["ChecksumSHA1"].readIfPresent() value.checksumSHA256 = try reader["ChecksumSHA256"].readIfPresent() + value.checksumType = try reader["ChecksumType"].readIfPresent() return value } } @@ -21605,6 +21811,7 @@ extension S3ClientTypes.ObjectPart { value.size = try reader["Size"].readIfPresent() value.checksumCRC32 = try reader["ChecksumCRC32"].readIfPresent() value.checksumCRC32C = try reader["ChecksumCRC32C"].readIfPresent() + value.checksumCRC64NVME = try reader["ChecksumCRC64NVME"].readIfPresent() value.checksumSHA1 = try reader["ChecksumSHA1"].readIfPresent() value.checksumSHA256 = try reader["ChecksumSHA256"].readIfPresent() return value @@ -21739,6 +21946,7 @@ extension S3ClientTypes.MultipartUpload { value.owner = try reader["Owner"].readIfPresent(with: S3ClientTypes.Owner.read(from:)) value.initiator = try reader["Initiator"].readIfPresent(with: S3ClientTypes.Initiator.read(from:)) value.checksumAlgorithm = try reader["ChecksumAlgorithm"].readIfPresent() + value.checksumType = try reader["ChecksumType"].readIfPresent() return value } } @@ -21773,6 +21981,7 @@ extension S3ClientTypes.Object { value.lastModified = try reader["LastModified"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.dateTime) value.eTag = try reader["ETag"].readIfPresent() value.checksumAlgorithm = try reader["ChecksumAlgorithm"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosureBox().read(from:), memberNodeInfo: "member", isFlattened: true) + value.checksumType = try reader["ChecksumType"].readIfPresent() value.size = try reader["Size"].readIfPresent() value.storageClass = try reader["StorageClass"].readIfPresent() value.owner = try reader["Owner"].readIfPresent(with: S3ClientTypes.Owner.read(from:)) @@ -21799,6 +22008,7 @@ extension S3ClientTypes.ObjectVersion { var value = S3ClientTypes.ObjectVersion() value.eTag = try reader["ETag"].readIfPresent() value.checksumAlgorithm = try reader["ChecksumAlgorithm"].readListIfPresent(memberReadingClosure: SmithyReadWrite.ReadingClosureBox().read(from:), memberNodeInfo: "member", isFlattened: true) + value.checksumType = try reader["ChecksumType"].readIfPresent() value.size = try reader["Size"].readIfPresent() value.storageClass = try reader["StorageClass"].readIfPresent() value.key = try reader["Key"].readIfPresent() @@ -21836,6 +22046,7 @@ extension S3ClientTypes.Part { value.size = try reader["Size"].readIfPresent() value.checksumCRC32 = try reader["ChecksumCRC32"].readIfPresent() value.checksumCRC32C = try reader["ChecksumCRC32C"].readIfPresent() + value.checksumCRC64NVME = try reader["ChecksumCRC64NVME"].readIfPresent() value.checksumSHA1 = try reader["ChecksumSHA1"].readIfPresent() value.checksumSHA256 = try reader["ChecksumSHA256"].readIfPresent() return value @@ -21921,6 +22132,7 @@ extension S3ClientTypes.CopyPartResult { value.lastModified = try reader["LastModified"].readTimestampIfPresent(format: SmithyTimestamps.TimestampFormat.dateTime) value.checksumCRC32 = try reader["ChecksumCRC32"].readIfPresent() value.checksumCRC32C = try reader["ChecksumCRC32C"].readIfPresent() + value.checksumCRC64NVME = try reader["ChecksumCRC64NVME"].readIfPresent() value.checksumSHA1 = try reader["ChecksumSHA1"].readIfPresent() value.checksumSHA256 = try reader["ChecksumSHA256"].readIfPresent() return value @@ -21941,6 +22153,7 @@ extension S3ClientTypes.CompletedPart { guard let value else { return } try writer["ChecksumCRC32"].write(value.checksumCRC32) try writer["ChecksumCRC32C"].write(value.checksumCRC32C) + try writer["ChecksumCRC64NVME"].write(value.checksumCRC64NVME) try writer["ChecksumSHA1"].write(value.checksumSHA1) try writer["ChecksumSHA256"].write(value.checksumSHA256) try writer["ETag"].write(value.eTag) @@ -22288,6 +22501,8 @@ extension GetObjectInput { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -22310,7 +22525,7 @@ extension GetObjectInput { context.set(key: Smithy.AttributeKey(name: "EndpointParams"), value: endpointParams) builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) - builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsResponseMiddleware(validationMode: true)) + builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsResponseMiddleware(validationMode: input.checksumMode?.rawValue ?? "unset", algosSupportedByOperation: ["CRC64NVME", "CRC32", "CRC32C", "SHA256", "SHA1"])) builder.serialize(GetObjectInputGETQueryItemMiddleware()) var metricsAttributes = Smithy.Attributes() metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "S3") @@ -22433,6 +22648,8 @@ extension PutObjectInput { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -22456,7 +22673,7 @@ extension PutObjectInput { builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) builder.interceptors.add(AWSClientRuntime.AWSS3ErrorWith200StatusXMLMiddleware()) - builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(checksumAlgorithm: input.checksumAlgorithm?.rawValue)) + builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(requestChecksumRequired: false, checksumAlgorithm: input.checksumAlgorithm?.rawValue, checksumAlgoHeaderName: "x-amz-sdk-checksum-algorithm")) builder.serialize(PutObjectPresignedURLMiddleware()) var metricsAttributes = Smithy.Attributes() metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "S3") @@ -22519,6 +22736,8 @@ extension UploadPartInput { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -22542,7 +22761,7 @@ extension UploadPartInput { builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) builder.interceptors.add(AWSClientRuntime.AWSS3ErrorWith200StatusXMLMiddleware()) - builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(checksumAlgorithm: input.checksumAlgorithm?.rawValue)) + builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(requestChecksumRequired: false, checksumAlgorithm: input.checksumAlgorithm?.rawValue, checksumAlgoHeaderName: "x-amz-sdk-checksum-algorithm")) builder.serialize(ClientRuntime.QueryItemMiddleware(UploadPartInput.queryItemProvider(_:))) var metricsAttributes = Smithy.Attributes() metricsAttributes.set(key: ClientRuntime.OrchestratorMetricsAttributesKeys.service, value: "S3") @@ -22584,6 +22803,8 @@ extension GetObjectInput { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -22608,7 +22829,7 @@ extension GetObjectInput { context.set(key: Smithy.AttributeKey(name: "EndpointParams"), value: endpointParams) builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) - builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsResponseMiddleware(validationMode: true)) + builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsResponseMiddleware(validationMode: input.checksumMode?.rawValue ?? "unset", algosSupportedByOperation: ["CRC64NVME", "CRC32", "CRC32C", "SHA256", "SHA1"])) builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: S3Client.version, config: config)) @@ -22652,6 +22873,8 @@ extension PutObjectInput { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -22680,7 +22903,7 @@ extension PutObjectInput { builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) builder.interceptors.add(AWSClientRuntime.AWSS3ErrorWith200StatusXMLMiddleware()) - builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(checksumAlgorithm: input.checksumAlgorithm?.rawValue)) + builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(requestChecksumRequired: false, checksumAlgorithm: input.checksumAlgorithm?.rawValue, checksumAlgoHeaderName: "x-amz-sdk-checksum-algorithm")) builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: S3Client.version, config: config)) @@ -22724,6 +22947,8 @@ extension UploadPartInput { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -22752,7 +22977,7 @@ extension UploadPartInput { builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) builder.interceptors.add(AWSClientRuntime.AWSS3ErrorWith200StatusXMLMiddleware()) - builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(checksumAlgorithm: input.checksumAlgorithm?.rawValue)) + builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(requestChecksumRequired: false, checksumAlgorithm: input.checksumAlgorithm?.rawValue, checksumAlgoHeaderName: "x-amz-sdk-checksum-algorithm")) builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: S3Client.version, config: config)) diff --git a/Sources/Services/AWSS3/Sources/AWSS3/S3Client.swift b/Sources/Services/AWSS3/Sources/AWSS3/S3Client.swift index 1719514d4df..e7cff3d8540 100644 --- a/Sources/Services/AWSS3/Sources/AWSS3/S3Client.swift +++ b/Sources/Services/AWSS3/Sources/AWSS3/S3Client.swift @@ -26,6 +26,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyXML.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -80,7 +81,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class S3Client: ClientRuntime.Client { public static let clientName = "S3Client" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: S3Client.S3ClientConfiguration let serviceName = "S3" @@ -110,6 +111,8 @@ extension S3Client { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -141,6 +144,8 @@ extension S3Client { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -170,6 +175,8 @@ extension S3Client { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -202,6 +209,8 @@ extension S3Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -232,6 +241,8 @@ extension S3Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -264,6 +275,8 @@ extension S3Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -294,6 +307,8 @@ extension S3Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -327,6 +342,8 @@ extension S3Client { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -360,6 +377,8 @@ extension S3Client { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -415,7 +434,7 @@ extension S3Client { /// /// * Directory buckets - If multipart uploads in a directory bucket are in progress, you can't delete the bucket until all the in-progress multipart uploads are aborted or completed. To delete these in-progress multipart uploads, use the ListMultipartUploads operation to list the in-progress multipart uploads in the bucket and use the AbortMultipartUpload operation to abort all the in-progress multipart uploads. /// - /// * Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Concepts for directory buckets in Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. + /// * Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Available Local Zone for directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. /// /// /// Permissions @@ -461,6 +480,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -506,7 +527,7 @@ extension S3Client { /// Performs the `CompleteMultipartUpload` operation on the `S3` service. /// - /// Completes a multipart upload by assembling previously uploaded parts. You first initiate the multipart upload and then upload all parts using the [UploadPart](https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html) operation or the [UploadPartCopy](https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html) operation. After successfully uploading all relevant parts of an upload, you call this CompleteMultipartUpload operation to complete the upload. Upon receiving this request, Amazon S3 concatenates all the parts in ascending order by part number to create a new object. In the CompleteMultipartUpload request, you must provide the parts list and ensure that the parts list is complete. The CompleteMultipartUpload API operation concatenates the parts that you provide in the list. For each part in the list, you must provide the PartNumber value and the ETag value that are returned after that part was uploaded. The processing of a CompleteMultipartUpload request could take several minutes to finalize. After Amazon S3 begins processing the request, it sends an HTTP response header that specifies a 200 OK response. While processing is in progress, Amazon S3 periodically sends white space characters to keep the connection from timing out. A request could fail after the initial 200 OK response has been sent. This means that a 200 OK response can contain either a success or an error. The error response might be embedded in the 200 OK response. If you call this API operation directly, make sure to design your application to parse the contents of the response and handle it appropriately. If you use Amazon Web Services SDKs, SDKs handle this condition. The SDKs detect the embedded error and apply error handling per your configuration settings (including automatically retrying the request as appropriate). If the condition persists, the SDKs throw an exception (or, for the SDKs that don't use exceptions, they return an error). Note that if CompleteMultipartUpload fails, applications should be prepared to retry any failed requests (including 500 error responses). For more information, see [Amazon S3 Error Best Practices](https://docs.aws.amazon.com/AmazonS3/latest/dev/ErrorBestPractices.html). You can't use Content-Type: application/x-www-form-urlencoded for the CompleteMultipartUpload requests. Also, if you don't provide a Content-Type header, CompleteMultipartUpload can still return a 200 OK response. For more information about multipart uploads, see [Uploading Objects Using Multipart Upload](https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html) in the Amazon S3 User Guide. Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Concepts for directory buckets in Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. Permissions + /// Completes a multipart upload by assembling previously uploaded parts. You first initiate the multipart upload and then upload all parts using the [UploadPart](https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html) operation or the [UploadPartCopy](https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html) operation. After successfully uploading all relevant parts of an upload, you call this CompleteMultipartUpload operation to complete the upload. Upon receiving this request, Amazon S3 concatenates all the parts in ascending order by part number to create a new object. In the CompleteMultipartUpload request, you must provide the parts list and ensure that the parts list is complete. The CompleteMultipartUpload API operation concatenates the parts that you provide in the list. For each part in the list, you must provide the PartNumber value and the ETag value that are returned after that part was uploaded. The processing of a CompleteMultipartUpload request could take several minutes to finalize. After Amazon S3 begins processing the request, it sends an HTTP response header that specifies a 200 OK response. While processing is in progress, Amazon S3 periodically sends white space characters to keep the connection from timing out. A request could fail after the initial 200 OK response has been sent. This means that a 200 OK response can contain either a success or an error. The error response might be embedded in the 200 OK response. If you call this API operation directly, make sure to design your application to parse the contents of the response and handle it appropriately. If you use Amazon Web Services SDKs, SDKs handle this condition. The SDKs detect the embedded error and apply error handling per your configuration settings (including automatically retrying the request as appropriate). If the condition persists, the SDKs throw an exception (or, for the SDKs that don't use exceptions, they return an error). Note that if CompleteMultipartUpload fails, applications should be prepared to retry any failed requests (including 500 error responses). For more information, see [Amazon S3 Error Best Practices](https://docs.aws.amazon.com/AmazonS3/latest/dev/ErrorBestPractices.html). You can't use Content-Type: application/x-www-form-urlencoded for the CompleteMultipartUpload requests. Also, if you don't provide a Content-Type header, CompleteMultipartUpload can still return a 200 OK response. For more information about multipart uploads, see [Uploading Objects Using Multipart Upload](https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html) in the Amazon S3 User Guide. Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Available Local Zone for directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. Permissions /// /// * General purpose bucket permissions - 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. If you provide an [additional checksum value](https://docs.aws.amazon.com/AmazonS3/latest/API/API_Checksum.html) in your MultipartUpload requests and the object is encrypted with Key Management Service, you must have permission to use the kms:Decrypt action for the CompleteMultipartUpload request to succeed. /// @@ -583,6 +604,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -635,7 +658,7 @@ extension S3Client { /// /// * Amazon S3 supports copy operations using Multi-Region Access Points only as a destination when using the Multi-Region Access Point ARN. /// - /// * Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Concepts for directory buckets in Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. + /// * Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Available Local Zone for directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. /// /// * VPC endpoints don't support cross-Region requests (including copies). If you're using VPC endpoints, your source and destination buckets should be in the same Amazon Web Services Region as your VPC endpoint. /// @@ -705,6 +728,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -754,7 +779,7 @@ extension S3Client { /// /// * General purpose buckets - If you send your CreateBucket request to the s3.amazonaws.com global endpoint, the request goes to the us-east-1 Region. So the signature calculations in Signature Version 4 must use us-east-1 as the Region, even if the location constraint in the request specifies another Region where the bucket is to be created. If you create a bucket in a Region other than US East (N. Virginia), your application must be able to handle 307 redirect. For more information, see [Virtual hosting of buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html) in the Amazon S3 User Guide. /// - /// * Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name . Virtual-hosted-style requests aren't supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Concepts for directory buckets in Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. + /// * Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name . Virtual-hosted-style requests aren't supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Available Local Zone for directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. /// /// /// Permissions @@ -806,6 +831,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -891,6 +918,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -901,7 +930,6 @@ extension S3Client { config.httpInterceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(CreateBucketMetadataTableConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) builder.serialize(ClientRuntime.HeaderMiddleware(CreateBucketMetadataTableConfigurationInput.headerProvider(_:))) @@ -920,7 +948,7 @@ extension S3Client { builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) builder.interceptors.add(AWSClientRuntime.AWSS3ErrorWith200StatusXMLMiddleware()) - builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(checksumAlgorithm: input.checksumAlgorithm?.rawValue)) + builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(requestChecksumRequired: true, checksumAlgorithm: input.checksumAlgorithm?.rawValue, checksumAlgoHeaderName: "x-amz-sdk-checksum-algorithm")) builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: S3Client.version, config: config)) @@ -945,7 +973,7 @@ extension S3Client { /// /// * Directory buckets - S3 Lifecycle is not supported by directory buckets. /// - /// * Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Concepts for directory buckets in Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. + /// * Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Available Local Zone for directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. /// /// /// Request signing For request signing, multipart upload is just a series of regular requests. You initiate a multipart upload, send one or more requests to upload parts, and then complete the multipart upload process. You sign each request individually. There is nothing special about signing multipart upload requests. For more information about signing, see [Authenticating Requests (Amazon Web Services Signature Version 4)](https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html) in the Amazon S3 User Guide. Permissions @@ -1029,6 +1057,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -1076,7 +1106,7 @@ extension S3Client { /// /// Creates a session that establishes temporary security credentials to support fast authentication and authorization for the Zonal endpoint API operations on directory buckets. For more information about Zonal endpoint API operations that include the Availability Zone in the request endpoint, see [S3 Express One Zone APIs](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-APIs.html) in the Amazon S3 User Guide. To make Zonal endpoint API requests on a directory bucket, use the CreateSession API operation. Specifically, you grant s3express:CreateSession permission to a bucket in a bucket policy or an IAM identity-based policy. Then, you use IAM credentials to make the CreateSession API request on the bucket, which returns temporary security credentials that include the access key ID, secret access key, session token, and expiration. These credentials have associated permissions to access the Zonal endpoint API operations. After the session is created, you don’t need to use other policies to grant permissions to each Zonal endpoint API individually. Instead, in your Zonal endpoint API requests, you sign your requests by applying the temporary security credentials of the session to the request headers and following the SigV4 protocol for authentication. You also apply the session token to the x-amz-s3session-token request header for authorization. Temporary security credentials are scoped to the bucket and expire after 5 minutes. After the expiration time, any calls that you make with those credentials will fail. You must use IAM credentials again to make a CreateSession API request that generates a new set of temporary credentials for use. Temporary credentials cannot be extended or refreshed beyond the original specified interval. If you use Amazon Web Services SDKs, SDKs handle the session token refreshes automatically to avoid service interruptions when a session expires. We recommend that you use the Amazon Web Services SDKs to initiate and manage requests to the CreateSession API. For more information, see [Performance guidelines and design patterns](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-optimizing-performance-guidelines-design-patterns.html#s3-express-optimizing-performance-session-authentication) in the Amazon S3 User Guide. /// - /// * You must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com. Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Concepts for directory buckets in Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. + /// * You must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com. Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Available Local Zone for directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. /// /// * CopyObject API operation - Unlike other Zonal endpoint API operations, the CopyObject API operation doesn't use the temporary security credentials returned from the CreateSession API operation for authentication and authorization. For information about authentication and authorization of the CopyObject API operation on directory buckets, see [CopyObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html). /// @@ -1109,6 +1139,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -1158,7 +1190,7 @@ extension S3Client { /// /// * Directory buckets - If multipart uploads in a directory bucket are in progress, you can't delete the bucket until all the in-progress multipart uploads are aborted or completed. /// - /// * Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name . Virtual-hosted-style requests aren't supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Concepts for directory buckets in Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. + /// * Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name . Virtual-hosted-style requests aren't supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Available Local Zone for directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. /// /// /// Permissions @@ -1193,6 +1225,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -1264,6 +1298,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -1334,6 +1370,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -1418,6 +1456,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -1490,6 +1530,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -1561,6 +1603,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -1613,7 +1657,7 @@ extension S3Client { /// /// /// - /// * Directory bucket permissions - You must have the s3express:PutLifecycleConfiguration permission in an IAM identity-based policy to use this operation. Cross-account access to this API operation isn't supported. The resource owner can optionally grant access permissions to others by creating a role or user for them as long as they are within the same account as the owner and resource. For more information about directory bucket policies and permissions, see [Authorizing Regional endpoint APIs with IAM](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html) in the Amazon S3 User Guide. Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name . Virtual-hosted-style requests aren't supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Concepts for directory buckets in Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. + /// * Directory bucket permissions - You must have the s3express:PutLifecycleConfiguration permission in an IAM identity-based policy to use this operation. Cross-account access to this API operation isn't supported. The resource owner can optionally grant access permissions to others by creating a role or user for them as long as they are within the same account as the owner and resource. For more information about directory bucket policies and permissions, see [Authorizing Regional endpoint APIs with IAM](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html) in the Amazon S3 User Guide. Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name . Virtual-hosted-style requests aren't supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Available Local Zone for directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. /// /// /// HTTP Host header syntax Directory buckets - The HTTP Host header syntax is s3express-control.region.amazonaws.com. For more information about the object expiration, see [Elements to Describe Lifecycle Actions](https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#intro-lifecycle-rules-actions). Related actions include: @@ -1641,6 +1685,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -1711,6 +1757,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -1785,6 +1833,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -1855,6 +1905,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -1900,7 +1952,7 @@ extension S3Client { /// Performs the `DeleteBucketPolicy` operation on the `S3` service. /// - /// Deletes the policy of a specified bucket. Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name . Virtual-hosted-style requests aren't supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Concepts for directory buckets in Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. Permissions If you are using an identity other than the root user of the Amazon Web Services account that owns the bucket, the calling identity must both have the DeleteBucketPolicy permissions on the specified bucket and belong to the bucket owner's account in order to use this operation. If you don't have DeleteBucketPolicy permissions, Amazon S3 returns a 403 Access Denied error. If you have the correct permissions, but you're not using an identity that belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not Allowed error. To ensure that bucket owners don't inadvertently lock themselves out of their own buckets, the root principal in a bucket owner's Amazon Web Services account can perform the GetBucketPolicy, PutBucketPolicy, and DeleteBucketPolicy API actions, even if their bucket policy explicitly denies the root principal's access. Bucket owner root principals can only be blocked from performing these API actions by VPC endpoint policies and Amazon Web Services Organizations policies. + /// Deletes the policy of a specified bucket. Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name . Virtual-hosted-style requests aren't supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Available Local Zone for directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. Permissions If you are using an identity other than the root user of the Amazon Web Services account that owns the bucket, the calling identity must both have the DeleteBucketPolicy permissions on the specified bucket and belong to the bucket owner's account in order to use this operation. If you don't have DeleteBucketPolicy permissions, Amazon S3 returns a 403 Access Denied error. If you have the correct permissions, but you're not using an identity that belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not Allowed error. To ensure that bucket owners don't inadvertently lock themselves out of their own buckets, the root principal in a bucket owner's Amazon Web Services account can perform the GetBucketPolicy, PutBucketPolicy, and DeleteBucketPolicy API actions, even if their bucket policy explicitly denies the root principal's access. Bucket owner root principals can only be blocked from performing these API actions by VPC endpoint policies and Amazon Web Services Organizations policies. /// /// * General purpose bucket permissions - The s3:DeleteBucketPolicy permission is required in a policy. For more information about general purpose buckets bucket policies, see [Using Bucket Policies and User Policies](https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html) in the Amazon S3 User Guide. /// @@ -1932,6 +1984,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -2002,6 +2056,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -2072,6 +2128,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -2142,6 +2200,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -2200,7 +2260,7 @@ extension S3Client { /// /// * Directory buckets - S3 Versioning isn't enabled and supported for directory buckets. For this API operation, only the null value of the version ID is supported by directory buckets. You can only specify null to the versionId query parameter in the request. /// - /// * Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Concepts for directory buckets in Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. + /// * Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Available Local Zone for directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. /// /// /// To remove a specific version, you must use the versionId query parameter. Using this query parameter permanently deletes the version. If the object deleted is a delete marker, Amazon S3 sets the response header x-amz-delete-marker to true. If the object you want to delete is in a bucket where the bucket versioning configuration is MFA Delete enabled, you must include the x-amz-mfa request header in the DELETE versionId request. Requests that include x-amz-mfa must use HTTPS. For more information about MFA Delete, see [Using MFA Delete](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMFADelete.html) in the Amazon S3 User Guide. To see sample requests that use versioning, see [Sample Request](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectDELETE.html#ExampleVersionObjectDelete). Directory buckets - MFA delete is not supported by directory buckets. You can delete objects by explicitly calling DELETE Object or calling ([PutBucketLifecycle](https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycle.html)) to enable Amazon S3 to remove them for you. If you want to block users or accounts from removing or deleting objects from your bucket, you must deny them the s3:DeleteObject, s3:DeleteObjectVersion, and s3:PutLifeCycleConfiguration actions. Directory buckets - S3 Lifecycle is not supported by directory buckets. Permissions @@ -2240,6 +2300,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -2310,6 +2372,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -2359,7 +2423,7 @@ extension S3Client { /// /// * Directory buckets - S3 Versioning isn't enabled and supported for directory buckets. /// - /// * Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Concepts for directory buckets in Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. + /// * Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Available Local Zone for directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. /// /// /// The operation supports two modes for the response: verbose and quiet. By default, the operation uses verbose mode in which the response includes the result of deletion of each key in your request. In quiet mode the response includes only keys where the delete operation encountered an error. For a successful deletion in a quiet mode, the operation does not return any information about the delete in the response body. When performing this action on an MFA Delete enabled bucket, that attempts to delete any versioned objects, you must include an MFA token. If you do not provide one, the entire request will fail, even if there are non-versioned objects you are trying to delete. If you provide an invalid token, whether there are versioned keys in the request or not, the entire Multi-Object Delete request will fail. For information about MFA Delete, see [MFA Delete](https://docs.aws.amazon.com/AmazonS3/latest/dev/Versioning.html#MultiFactorAuthenticationDelete) in the Amazon S3 User Guide. Directory buckets - MFA delete is not supported by directory buckets. Permissions @@ -2414,6 +2478,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -2424,7 +2490,6 @@ extension S3Client { config.httpInterceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(DeleteObjectsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) builder.serialize(ClientRuntime.HeaderMiddleware(DeleteObjectsInput.headerProvider(_:))) @@ -2443,7 +2508,7 @@ extension S3Client { builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) builder.interceptors.add(AWSClientRuntime.AWSS3ErrorWith200StatusXMLMiddleware()) - builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(checksumAlgorithm: input.checksumAlgorithm?.rawValue)) + builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(requestChecksumRequired: true, checksumAlgorithm: input.checksumAlgorithm?.rawValue, checksumAlgoHeaderName: "x-amz-sdk-checksum-algorithm")) builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: S3Client.version, config: config)) @@ -2493,6 +2558,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -2561,6 +2628,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -2629,6 +2698,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -2701,6 +2772,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -2771,6 +2844,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -2855,6 +2930,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -2927,6 +3004,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -2998,6 +3077,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -3050,7 +3131,7 @@ extension S3Client { /// /// /// - /// * Directory bucket permissions - You must have the s3express:GetLifecycleConfiguration permission in an IAM identity-based policy to use this operation. Cross-account access to this API operation isn't supported. The resource owner can optionally grant access permissions to others by creating a role or user for them as long as they are within the same account as the owner and resource. For more information about directory bucket policies and permissions, see [Authorizing Regional endpoint APIs with IAM](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html) in the Amazon S3 User Guide. Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name . Virtual-hosted-style requests aren't supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Concepts for directory buckets in Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. + /// * Directory bucket permissions - You must have the s3express:GetLifecycleConfiguration permission in an IAM identity-based policy to use this operation. Cross-account access to this API operation isn't supported. The resource owner can optionally grant access permissions to others by creating a role or user for them as long as they are within the same account as the owner and resource. For more information about directory bucket policies and permissions, see [Authorizing Regional endpoint APIs with IAM](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html) in the Amazon S3 User Guide. Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name . Virtual-hosted-style requests aren't supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Available Local Zone for directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. /// /// /// HTTP Host header syntax Directory buckets - The HTTP Host header syntax is s3express-control.region.amazonaws.com. GetBucketLifecycleConfiguration has the following special error: @@ -3094,6 +3175,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -3164,6 +3247,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -3234,6 +3319,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -3304,6 +3391,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -3378,6 +3467,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -3446,6 +3537,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -3516,6 +3609,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -3561,7 +3656,7 @@ extension S3Client { /// Performs the `GetBucketPolicy` operation on the `S3` service. /// - /// Returns the policy of a specified bucket. Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name . Virtual-hosted-style requests aren't supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Concepts for directory buckets in Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. Permissions If you are using an identity other than the root user of the Amazon Web Services account that owns the bucket, the calling identity must both have the GetBucketPolicy permissions on the specified bucket and belong to the bucket owner's account in order to use this operation. If you don't have GetBucketPolicy permissions, Amazon S3 returns a 403 Access Denied error. If you have the correct permissions, but you're not using an identity that belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not Allowed error. To ensure that bucket owners don't inadvertently lock themselves out of their own buckets, the root principal in a bucket owner's Amazon Web Services account can perform the GetBucketPolicy, PutBucketPolicy, and DeleteBucketPolicy API actions, even if their bucket policy explicitly denies the root principal's access. Bucket owner root principals can only be blocked from performing these API actions by VPC endpoint policies and Amazon Web Services Organizations policies. + /// Returns the policy of a specified bucket. Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name . Virtual-hosted-style requests aren't supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Available Local Zone for directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. Permissions If you are using an identity other than the root user of the Amazon Web Services account that owns the bucket, the calling identity must both have the GetBucketPolicy permissions on the specified bucket and belong to the bucket owner's account in order to use this operation. If you don't have GetBucketPolicy permissions, Amazon S3 returns a 403 Access Denied error. If you have the correct permissions, but you're not using an identity that belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not Allowed error. To ensure that bucket owners don't inadvertently lock themselves out of their own buckets, the root principal in a bucket owner's Amazon Web Services account can perform the GetBucketPolicy, PutBucketPolicy, and DeleteBucketPolicy API actions, even if their bucket policy explicitly denies the root principal's access. Bucket owner root principals can only be blocked from performing these API actions by VPC endpoint policies and Amazon Web Services Organizations policies. /// /// * General purpose bucket permissions - The s3:GetBucketPolicy permission is required in a policy. For more information about general purpose buckets bucket policies, see [Using Bucket Policies and User Policies](https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html) in the Amazon S3 User Guide. /// @@ -3591,6 +3686,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -3665,6 +3762,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -3735,6 +3834,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -3803,6 +3904,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -3883,6 +3986,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -3955,6 +4060,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -4025,6 +4132,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -4070,7 +4179,7 @@ extension S3Client { /// Performs the `GetObject` operation on the `S3` service. /// - /// Retrieves an object from Amazon S3. In the GetObject request, specify the full key name for the object. General purpose buckets - Both the virtual-hosted-style requests and the path-style requests are supported. For a virtual hosted-style request example, if you have the object photos/2006/February/sample.jpg, specify the object key name as /photos/2006/February/sample.jpg. For a path-style request example, if you have the object photos/2006/February/sample.jpg in the bucket named examplebucket, specify the object key name as /examplebucket/photos/2006/February/sample.jpg. For more information about request types, see [HTTP Host Header Bucket Specification](https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html#VirtualHostingSpecifyBucket) in the Amazon S3 User Guide. Directory buckets - Only virtual-hosted-style requests are supported. For a virtual hosted-style request example, if you have the object photos/2006/February/sample.jpg in the bucket named examplebucket--use1-az5--x-s3, specify the object key name as /photos/2006/February/sample.jpg. Also, when you make requests to this API operation, your requests are sent to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Concepts for directory buckets in Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. Permissions + /// Retrieves an object from Amazon S3. In the GetObject request, specify the full key name for the object. General purpose buckets - Both the virtual-hosted-style requests and the path-style requests are supported. For a virtual hosted-style request example, if you have the object photos/2006/February/sample.jpg, specify the object key name as /photos/2006/February/sample.jpg. For a path-style request example, if you have the object photos/2006/February/sample.jpg in the bucket named examplebucket, specify the object key name as /examplebucket/photos/2006/February/sample.jpg. For more information about request types, see [HTTP Host Header Bucket Specification](https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html#VirtualHostingSpecifyBucket) in the Amazon S3 User Guide. Directory buckets - Only virtual-hosted-style requests are supported. For a virtual hosted-style request example, if you have the object photos/2006/February/sample.jpg in the bucket named examplebucket--use1-az5--x-s3, specify the object key name as /photos/2006/February/sample.jpg. Also, when you make requests to this API operation, your requests are sent to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Available Local Zone for directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. Permissions /// /// * General purpose bucket permissions - You must have the required permissions in a policy. To use GetObject, you must have the READ access to the object (or version). If you grant READ access to the anonymous user, the GetObject operation returns the object without using an authorization header. For more information, see [Specifying permissions in a policy](https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html) in the Amazon S3 User Guide. If you include a versionId in your request header, you must have the s3:GetObjectVersion permission to access a specific version of an object. The s3:GetObject permission is not required in this scenario. If you request the current version of an object without a specific versionId in the request header, only the s3:GetObject permission is required. The s3:GetObjectVersion permission is not required in this scenario. If the object that you request doesn’t exist, the error that Amazon S3 returns depends on whether you also have the s3:ListBucket permission. /// @@ -4130,6 +4239,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -4154,7 +4265,7 @@ extension S3Client { context.set(key: Smithy.AttributeKey(name: "EndpointParams"), value: endpointParams) builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) - builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsResponseMiddleware(validationMode: true)) + builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsResponseMiddleware(validationMode: input.checksumMode?.rawValue ?? "unset", algosSupportedByOperation: ["CRC64NVME", "CRC32", "CRC32C", "SHA256", "SHA1"])) builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: S3Client.version, config: config)) @@ -4209,6 +4320,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -4254,7 +4367,7 @@ extension S3Client { /// Performs the `GetObjectAttributes` operation on the `S3` service. /// - /// Retrieves all the metadata from an object without returning the object itself. This operation is useful if you're interested only in an object's metadata. GetObjectAttributes combines the functionality of HeadObject and ListParts. All of the data returned with each of those individual calls can be returned with a single call to GetObjectAttributes. Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Concepts for directory buckets in Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. Permissions + /// Retrieves all the metadata from an object without returning the object itself. This operation is useful if you're interested only in an object's metadata. GetObjectAttributes combines the functionality of HeadObject and ListParts. All of the data returned with each of those individual calls can be returned with a single call to GetObjectAttributes. Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Available Local Zone for directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. Permissions /// /// * General purpose bucket permissions - To use GetObjectAttributes, you must have READ access to the object. The permissions that you need to use this operation depend on whether the bucket is versioned. If the bucket is versioned, you need both the s3:GetObjectVersion and s3:GetObjectVersionAttributes permissions for this operation. If the bucket is not versioned, you need the s3:GetObject and s3:GetObjectAttributes permissions. For more information, see [Specifying Permissions in a Policy](https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html) in the Amazon S3 User Guide. If the object that you request does not exist, the error Amazon S3 returns depends on whether you also have the s3:ListBucket permission. /// @@ -4340,6 +4453,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -4408,6 +4523,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -4476,6 +4593,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -4544,6 +4663,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -4616,6 +4737,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -4684,6 +4807,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -4757,6 +4882,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -4809,7 +4936,7 @@ extension S3Client { /// * Directory bucket permissions - You must have the s3express:CreateSession permission in the Action element of a policy. 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 bucket. For more information about example bucket 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. /// /// - /// HTTP Host header syntax Directory buckets - The HTTP Host header syntax is Bucket-name.s3express-zone-id.region-code.amazonaws.com. You must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com. Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Concepts for directory buckets in Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. + /// HTTP Host header syntax Directory buckets - The HTTP Host header syntax is Bucket-name.s3express-zone-id.region-code.amazonaws.com. You must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com. Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Available Local Zone for directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. /// /// - Parameter HeadBucketInput : [no documentation found] /// @@ -4835,6 +4962,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -4916,7 +5045,7 @@ extension S3Client { /// * Directory buckets - S3 Versioning isn't enabled and supported for directory buckets. For this API operation, only the null value of the version ID is supported by directory buckets. You can only specify null to the versionId query parameter in the request. /// /// - /// HTTP Host header syntax Directory buckets - The HTTP Host header syntax is Bucket-name.s3express-zone-id.region-code.amazonaws.com. For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Concepts for directory buckets in Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. The following actions are related to HeadObject: + /// HTTP Host header syntax Directory buckets - The HTTP Host header syntax is Bucket-name.s3express-zone-id.region-code.amazonaws.com. For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Available Local Zone for directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. The following actions are related to HeadObject: /// /// * [GetObject](https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html) /// @@ -4946,6 +5075,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -5018,6 +5149,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -5090,6 +5223,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -5161,6 +5296,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -5233,6 +5370,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -5299,6 +5438,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -5343,7 +5484,7 @@ extension S3Client { /// Performs the `ListDirectoryBuckets` operation on the `S3` service. /// - /// Returns a list of all Amazon S3 directory buckets owned by the authenticated sender of the request. For more information about directory buckets, see [Directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html) in the Amazon S3 User Guide. Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name . Virtual-hosted-style requests aren't supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Concepts for directory buckets in Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. Permissions You must have the s3express:ListAllMyDirectoryBuckets permission in an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource. For more information about directory bucket policies and permissions, see [Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html) in the Amazon S3 User Guide. HTTP Host header syntax Directory buckets - The HTTP Host header syntax is s3express-control.region.amazonaws.com. The BucketRegion response element is not part of the ListDirectoryBuckets Response Syntax. + /// Returns a list of all Amazon S3 directory buckets owned by the authenticated sender of the request. For more information about directory buckets, see [Directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-overview.html) in the Amazon S3 User Guide. Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name . Virtual-hosted-style requests aren't supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Available Local Zone for directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. Permissions You must have the s3express:ListAllMyDirectoryBuckets permission in an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource. For more information about directory bucket policies and permissions, see [Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html) in the Amazon S3 User Guide. HTTP Host header syntax Directory buckets - The HTTP Host header syntax is s3express-control.region.amazonaws.com. The BucketRegion response element is not part of the ListDirectoryBuckets Response Syntax. /// /// - Parameter ListDirectoryBucketsInput : [no documentation found] /// @@ -5364,6 +5505,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -5408,7 +5551,7 @@ extension S3Client { /// Performs the `ListMultipartUploads` operation on the `S3` service. /// - /// This operation lists in-progress multipart uploads in a bucket. An in-progress multipart upload is a multipart upload that has been initiated by the CreateMultipartUpload request, but has not yet been completed or aborted. Directory buckets - If multipart uploads in a directory bucket are in progress, you can't delete the bucket until all the in-progress multipart uploads are aborted or completed. To delete these in-progress multipart uploads, use the ListMultipartUploads operation to list the in-progress multipart uploads in the bucket and use the AbortMultipartUpload operation to abort all the in-progress multipart uploads. The ListMultipartUploads operation returns a maximum of 1,000 multipart uploads in the response. The limit of 1,000 multipart uploads is also the default value. You can further limit the number of uploads in a response by specifying the max-uploads request parameter. If there are more than 1,000 multipart uploads that satisfy your ListMultipartUploads request, the response returns an IsTruncated element with the value of true, a NextKeyMarker element, and a NextUploadIdMarker element. To list the remaining multipart uploads, you need to make subsequent ListMultipartUploads requests. In these requests, include two query parameters: key-marker and upload-id-marker. Set the value of key-marker to the NextKeyMarker value from the previous response. Similarly, set the value of upload-id-marker to the NextUploadIdMarker value from the previous response. Directory buckets - The upload-id-marker element and the NextUploadIdMarker element aren't supported by directory buckets. To list the additional multipart uploads, you only need to set the value of key-marker to the NextKeyMarker value from the previous response. For more information about multipart uploads, see [Uploading Objects Using Multipart Upload](https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html) in the Amazon S3 User Guide. Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Concepts for directory buckets in Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. Permissions + /// This operation lists in-progress multipart uploads in a bucket. An in-progress multipart upload is a multipart upload that has been initiated by the CreateMultipartUpload request, but has not yet been completed or aborted. Directory buckets - If multipart uploads in a directory bucket are in progress, you can't delete the bucket until all the in-progress multipart uploads are aborted or completed. To delete these in-progress multipart uploads, use the ListMultipartUploads operation to list the in-progress multipart uploads in the bucket and use the AbortMultipartUpload operation to abort all the in-progress multipart uploads. The ListMultipartUploads operation returns a maximum of 1,000 multipart uploads in the response. The limit of 1,000 multipart uploads is also the default value. You can further limit the number of uploads in a response by specifying the max-uploads request parameter. If there are more than 1,000 multipart uploads that satisfy your ListMultipartUploads request, the response returns an IsTruncated element with the value of true, a NextKeyMarker element, and a NextUploadIdMarker element. To list the remaining multipart uploads, you need to make subsequent ListMultipartUploads requests. In these requests, include two query parameters: key-marker and upload-id-marker. Set the value of key-marker to the NextKeyMarker value from the previous response. Similarly, set the value of upload-id-marker to the NextUploadIdMarker value from the previous response. Directory buckets - The upload-id-marker element and the NextUploadIdMarker element aren't supported by directory buckets. To list the additional multipart uploads, you only need to set the value of key-marker to the NextKeyMarker value from the previous response. For more information about multipart uploads, see [Uploading Objects Using Multipart Upload](https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html) in the Amazon S3 User Guide. Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Available Local Zone for directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. Permissions /// /// * General purpose bucket permissions - 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. /// @@ -5460,6 +5603,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -5534,6 +5679,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -5615,6 +5762,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -5666,7 +5815,7 @@ extension S3Client { /// /// * Directory buckets - For directory buckets, ListObjectsV2 response includes the prefixes that are related only to in-progress multipart uploads. /// - /// * Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Concepts for directory buckets in Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. + /// * Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Available Local Zone for directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. /// /// /// Permissions @@ -5715,6 +5864,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -5760,7 +5911,7 @@ extension S3Client { /// Performs the `ListParts` operation on the `S3` service. /// - /// Lists the parts that have been uploaded for a specific multipart upload. To use this operation, you must provide the upload ID in the request. You obtain this uploadID by sending the initiate multipart upload request through [CreateMultipartUpload](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html). The ListParts request returns a maximum of 1,000 uploaded parts. The limit of 1,000 parts is also the default value. You can restrict the number of parts in a response by specifying the max-parts request parameter. If your multipart upload consists of more than 1,000 parts, the response returns an IsTruncated field with the value of true, and a NextPartNumberMarker element. To list remaining uploaded parts, in subsequent ListParts requests, include the part-number-marker query string parameter and set its value to the NextPartNumberMarker field value from the previous response. For more information on multipart uploads, see [Uploading Objects Using Multipart Upload](https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html) in the Amazon S3 User Guide. Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Concepts for directory buckets in Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. Permissions + /// Lists the parts that have been uploaded for a specific multipart upload. To use this operation, you must provide the upload ID in the request. You obtain this uploadID by sending the initiate multipart upload request through [CreateMultipartUpload](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html). The ListParts request returns a maximum of 1,000 uploaded parts. The limit of 1,000 parts is also the default value. You can restrict the number of parts in a response by specifying the max-parts request parameter. If your multipart upload consists of more than 1,000 parts, the response returns an IsTruncated field with the value of true, and a NextPartNumberMarker element. To list remaining uploaded parts, in subsequent ListParts requests, include the part-number-marker query string parameter and set its value to the NextPartNumberMarker field value from the previous response. For more information on multipart uploads, see [Uploading Objects Using Multipart Upload](https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html) in the Amazon S3 User Guide. Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Available Local Zone for directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. Permissions /// /// * General purpose bucket permissions - 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. If the upload was created using server-side encryption with Key Management Service (KMS) keys (SSE-KMS) or dual-layer server-side encryption with Amazon Web Services KMS keys (DSSE-KMS), you must have permission to the kms:Decrypt action for the ListParts request to succeed. /// @@ -5800,6 +5951,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -5877,6 +6030,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -5905,7 +6060,7 @@ extension S3Client { builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) builder.interceptors.add(AWSClientRuntime.AWSS3ErrorWith200StatusXMLMiddleware()) - builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(checksumAlgorithm: input.checksumAlgorithm?.rawValue)) + builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(requestChecksumRequired: false, checksumAlgorithm: input.checksumAlgorithm?.rawValue, checksumAlgoHeaderName: "x-amz-sdk-checksum-algorithm")) builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: S3Client.version, config: config)) @@ -6023,6 +6178,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -6033,7 +6190,6 @@ extension S3Client { config.httpInterceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBucketAclInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) builder.serialize(ClientRuntime.HeaderMiddleware(PutBucketAclInput.headerProvider(_:))) @@ -6052,7 +6208,7 @@ extension S3Client { builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) builder.interceptors.add(AWSClientRuntime.AWSS3ErrorWith200StatusXMLMiddleware()) - builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(checksumAlgorithm: input.checksumAlgorithm?.rawValue)) + builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(requestChecksumRequired: true, checksumAlgorithm: input.checksumAlgorithm?.rawValue, checksumAlgoHeaderName: "x-amz-sdk-checksum-algorithm")) builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: S3Client.version, config: config)) @@ -6133,6 +6289,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -6217,6 +6375,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -6227,7 +6387,6 @@ extension S3Client { config.httpInterceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBucketCorsInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) builder.serialize(ClientRuntime.HeaderMiddleware(PutBucketCorsInput.headerProvider(_:))) @@ -6246,7 +6405,7 @@ extension S3Client { builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) builder.interceptors.add(AWSClientRuntime.AWSS3ErrorWith200StatusXMLMiddleware()) - builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(checksumAlgorithm: input.checksumAlgorithm?.rawValue)) + builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(requestChecksumRequired: true, checksumAlgorithm: input.checksumAlgorithm?.rawValue, checksumAlgoHeaderName: "x-amz-sdk-checksum-algorithm")) builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: S3Client.version, config: config)) @@ -6267,7 +6426,7 @@ extension S3Client { /// Performs the `PutBucketEncryption` operation on the `S3` service. /// - /// This operation configures default encryption and Amazon S3 Bucket Keys for an existing bucket. Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name . Virtual-hosted-style requests aren't supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Concepts for directory buckets in Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. By default, all buckets have a default encryption configuration that uses server-side encryption with Amazon S3 managed keys (SSE-S3). + /// This operation configures default encryption and Amazon S3 Bucket Keys for an existing bucket. Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name . Virtual-hosted-style requests aren't supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Available Local Zone for directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. By default, all buckets have a default encryption configuration that uses server-side encryption with Amazon S3 managed keys (SSE-S3). /// /// * General purpose buckets /// @@ -6326,6 +6485,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -6336,7 +6497,6 @@ extension S3Client { config.httpInterceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBucketEncryptionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) builder.serialize(ClientRuntime.HeaderMiddleware(PutBucketEncryptionInput.headerProvider(_:))) @@ -6355,7 +6515,7 @@ extension S3Client { builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) builder.interceptors.add(AWSClientRuntime.AWSS3ErrorWith200StatusXMLMiddleware()) - builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(checksumAlgorithm: input.checksumAlgorithm?.rawValue)) + builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(requestChecksumRequired: true, checksumAlgorithm: input.checksumAlgorithm?.rawValue, checksumAlgoHeaderName: "x-amz-sdk-checksum-algorithm")) builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: S3Client.version, config: config)) @@ -6406,6 +6566,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -6480,6 +6642,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -6553,7 +6717,7 @@ extension S3Client { /// /// /// - /// * Directory bucket permissions - You must have the s3express:PutLifecycleConfiguration permission in an IAM identity-based policy to use this operation. Cross-account access to this API operation isn't supported. The resource owner can optionally grant access permissions to others by creating a role or user for them as long as they are within the same account as the owner and resource. For more information about directory bucket policies and permissions, see [Authorizing Regional endpoint APIs with IAM](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html) in the Amazon S3 User Guide. Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name . Virtual-hosted-style requests aren't supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Concepts for directory buckets in Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. + /// * Directory bucket permissions - You must have the s3express:PutLifecycleConfiguration permission in an IAM identity-based policy to use this operation. Cross-account access to this API operation isn't supported. The resource owner can optionally grant access permissions to others by creating a role or user for them as long as they are within the same account as the owner and resource. For more information about directory bucket policies and permissions, see [Authorizing Regional endpoint APIs with IAM](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html) in the Amazon S3 User Guide. Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name . Virtual-hosted-style requests aren't supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Available Local Zone for directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. /// /// /// Directory buckets - The HTTP Host header syntax is s3express-control.region.amazonaws.com. The following operations are related to PutBucketLifecycleConfiguration: @@ -6581,6 +6745,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -6591,7 +6757,6 @@ extension S3Client { config.httpInterceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBucketLifecycleConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) builder.serialize(ClientRuntime.HeaderMiddleware(PutBucketLifecycleConfigurationInput.headerProvider(_:))) @@ -6610,7 +6775,7 @@ extension S3Client { builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) builder.interceptors.add(AWSClientRuntime.AWSS3ErrorWith200StatusXMLMiddleware()) - builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(checksumAlgorithm: input.checksumAlgorithm?.rawValue)) + builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(requestChecksumRequired: true, checksumAlgorithm: input.checksumAlgorithm?.rawValue, checksumAlgoHeaderName: "x-amz-sdk-checksum-algorithm")) builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: S3Client.version, config: config)) @@ -6669,6 +6834,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -6679,7 +6846,6 @@ extension S3Client { config.httpInterceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBucketLoggingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) builder.serialize(ClientRuntime.HeaderMiddleware(PutBucketLoggingInput.headerProvider(_:))) @@ -6698,7 +6864,7 @@ extension S3Client { builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) builder.interceptors.add(AWSClientRuntime.AWSS3ErrorWith200StatusXMLMiddleware()) - builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(checksumAlgorithm: input.checksumAlgorithm?.rawValue)) + builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(requestChecksumRequired: true, checksumAlgorithm: input.checksumAlgorithm?.rawValue, checksumAlgoHeaderName: "x-amz-sdk-checksum-algorithm")) builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: S3Client.version, config: config)) @@ -6755,6 +6921,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -6826,6 +6994,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -6899,6 +7069,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -6928,6 +7100,7 @@ extension S3Client { builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) builder.interceptors.add(AWSClientRuntime.AWSS3ErrorWith200StatusXMLMiddleware()) + builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(requestChecksumRequired: true, checksumAlgorithm: nil, checksumAlgoHeaderName: nil)) builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: S3Client.version, config: config)) @@ -6948,7 +7121,7 @@ extension S3Client { /// Performs the `PutBucketPolicy` operation on the `S3` service. /// - /// Applies an Amazon S3 bucket policy to an Amazon S3 bucket. Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name . Virtual-hosted-style requests aren't supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Concepts for directory buckets in Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. Permissions If you are using an identity other than the root user of the Amazon Web Services account that owns the bucket, the calling identity must both have the PutBucketPolicy permissions on the specified bucket and belong to the bucket owner's account in order to use this operation. If you don't have PutBucketPolicy permissions, Amazon S3 returns a 403 Access Denied error. If you have the correct permissions, but you're not using an identity that belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not Allowed error. To ensure that bucket owners don't inadvertently lock themselves out of their own buckets, the root principal in a bucket owner's Amazon Web Services account can perform the GetBucketPolicy, PutBucketPolicy, and DeleteBucketPolicy API actions, even if their bucket policy explicitly denies the root principal's access. Bucket owner root principals can only be blocked from performing these API actions by VPC endpoint policies and Amazon Web Services Organizations policies. + /// Applies an Amazon S3 bucket policy to an Amazon S3 bucket. Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name . Virtual-hosted-style requests aren't supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Available Local Zone for directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. Permissions If you are using an identity other than the root user of the Amazon Web Services account that owns the bucket, the calling identity must both have the PutBucketPolicy permissions on the specified bucket and belong to the bucket owner's account in order to use this operation. If you don't have PutBucketPolicy permissions, Amazon S3 returns a 403 Access Denied error. If you have the correct permissions, but you're not using an identity that belongs to the bucket owner's account, Amazon S3 returns a 405 Method Not Allowed error. To ensure that bucket owners don't inadvertently lock themselves out of their own buckets, the root principal in a bucket owner's Amazon Web Services account can perform the GetBucketPolicy, PutBucketPolicy, and DeleteBucketPolicy API actions, even if their bucket policy explicitly denies the root principal's access. Bucket owner root principals can only be blocked from performing these API actions by VPC endpoint policies and Amazon Web Services Organizations policies. /// /// * General purpose bucket permissions - The s3:PutBucketPolicy permission is required in a policy. For more information about general purpose buckets bucket policies, see [Using Bucket Policies and User Policies](https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html) in the Amazon S3 User Guide. /// @@ -6980,6 +7153,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -6990,7 +7165,6 @@ extension S3Client { config.httpInterceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBucketPolicyInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) builder.serialize(ClientRuntime.HeaderMiddleware(PutBucketPolicyInput.headerProvider(_:))) @@ -7009,7 +7183,7 @@ extension S3Client { builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) builder.interceptors.add(AWSClientRuntime.AWSS3ErrorWith200StatusXMLMiddleware()) - builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(checksumAlgorithm: input.checksumAlgorithm?.rawValue)) + builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(requestChecksumRequired: true, checksumAlgorithm: input.checksumAlgorithm?.rawValue, checksumAlgoHeaderName: "x-amz-sdk-checksum-algorithm")) builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: S3Client.version, config: config)) @@ -7055,6 +7229,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -7065,7 +7241,6 @@ extension S3Client { config.httpInterceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBucketReplicationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) builder.serialize(ClientRuntime.HeaderMiddleware(PutBucketReplicationInput.headerProvider(_:))) @@ -7084,7 +7259,7 @@ extension S3Client { builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) builder.interceptors.add(AWSClientRuntime.AWSS3ErrorWith200StatusXMLMiddleware()) - builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(checksumAlgorithm: input.checksumAlgorithm?.rawValue)) + builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(requestChecksumRequired: true, checksumAlgorithm: input.checksumAlgorithm?.rawValue, checksumAlgoHeaderName: "x-amz-sdk-checksum-algorithm")) builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: S3Client.version, config: config)) @@ -7130,6 +7305,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -7140,7 +7317,6 @@ extension S3Client { config.httpInterceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBucketRequestPaymentInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) builder.serialize(ClientRuntime.HeaderMiddleware(PutBucketRequestPaymentInput.headerProvider(_:))) @@ -7159,7 +7335,7 @@ extension S3Client { builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) builder.interceptors.add(AWSClientRuntime.AWSS3ErrorWith200StatusXMLMiddleware()) - builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(checksumAlgorithm: input.checksumAlgorithm?.rawValue)) + builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(requestChecksumRequired: true, checksumAlgorithm: input.checksumAlgorithm?.rawValue, checksumAlgoHeaderName: "x-amz-sdk-checksum-algorithm")) builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: S3Client.version, config: config)) @@ -7216,6 +7392,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -7226,7 +7404,6 @@ extension S3Client { config.httpInterceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBucketTaggingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) builder.serialize(ClientRuntime.HeaderMiddleware(PutBucketTaggingInput.headerProvider(_:))) @@ -7245,7 +7422,7 @@ extension S3Client { builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) builder.interceptors.add(AWSClientRuntime.AWSS3ErrorWith200StatusXMLMiddleware()) - builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(checksumAlgorithm: input.checksumAlgorithm?.rawValue)) + builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(requestChecksumRequired: true, checksumAlgorithm: input.checksumAlgorithm?.rawValue, checksumAlgoHeaderName: "x-amz-sdk-checksum-algorithm")) builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: S3Client.version, config: config)) @@ -7266,7 +7443,7 @@ extension S3Client { /// Performs the `PutBucketVersioning` operation on the `S3` service. /// - /// This operation is not supported for directory buckets. When you enable versioning on a bucket for the first time, it might take a short amount of time for the change to be fully propagated. While this change is propagating, you may encounter intermittent HTTP 404 NoSuchKey errors for requests to objects created or updated after enabling versioning. We recommend that you wait for 15 minutes after enabling versioning before issuing write operations (PUT or DELETE) on objects in the bucket. Sets the versioning state of an existing bucket. You can set the versioning state with one of the following values: Enabled—Enables versioning for the objects in the bucket. All objects added to the bucket receive a unique version ID. Suspended—Disables versioning for the objects in the bucket. All objects added to the bucket receive the version ID null. If the versioning state has never been set on a bucket, it has no versioning state; a [GetBucketVersioning](https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketVersioning.html) request does not return a versioning state value. In order to enable MFA Delete, you must be the bucket owner. If you are the bucket owner and want to enable MFA Delete in the bucket versioning configuration, you must include the x-amz-mfa request header and the Status and the MfaDelete request elements in a request to set the versioning state of the bucket. If you have an object expiration lifecycle configuration in your non-versioned bucket and you want to maintain the same permanent delete behavior when you enable versioning, you must add a noncurrent expiration policy. The noncurrent expiration lifecycle configuration will manage the deletes of the noncurrent object versions in the version-enabled bucket. (A version-enabled bucket maintains one current and zero or more noncurrent object versions.) For more information, see [Lifecycle and Versioning](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html#lifecycle-and-other-bucket-config). The following operations are related to PutBucketVersioning: + /// This operation is not supported for directory buckets. When you enable versioning on a bucket for the first time, it might take a short amount of time for the change to be fully propagated. While this change is propagating, you might encounter intermittent HTTP 404 NoSuchKey errors for requests to objects created or updated after enabling versioning. We recommend that you wait for 15 minutes after enabling versioning before issuing write operations (PUT or DELETE) on objects in the bucket. Sets the versioning state of an existing bucket. You can set the versioning state with one of the following values: Enabled—Enables versioning for the objects in the bucket. All objects added to the bucket receive a unique version ID. Suspended—Disables versioning for the objects in the bucket. All objects added to the bucket receive the version ID null. If the versioning state has never been set on a bucket, it has no versioning state; a [GetBucketVersioning](https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketVersioning.html) request does not return a versioning state value. In order to enable MFA Delete, you must be the bucket owner. If you are the bucket owner and want to enable MFA Delete in the bucket versioning configuration, you must include the x-amz-mfa request header and the Status and the MfaDelete request elements in a request to set the versioning state of the bucket. If you have an object expiration lifecycle configuration in your non-versioned bucket and you want to maintain the same permanent delete behavior when you enable versioning, you must add a noncurrent expiration policy. The noncurrent expiration lifecycle configuration will manage the deletes of the noncurrent object versions in the version-enabled bucket. (A version-enabled bucket maintains one current and zero or more noncurrent object versions.) For more information, see [Lifecycle and Versioning](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html#lifecycle-and-other-bucket-config). The following operations are related to PutBucketVersioning: /// /// * [CreateBucket](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucket.html) /// @@ -7293,6 +7470,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -7303,7 +7482,6 @@ extension S3Client { config.httpInterceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBucketVersioningInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) builder.serialize(ClientRuntime.HeaderMiddleware(PutBucketVersioningInput.headerProvider(_:))) @@ -7322,7 +7500,7 @@ extension S3Client { builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) builder.interceptors.add(AWSClientRuntime.AWSS3ErrorWith200StatusXMLMiddleware()) - builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(checksumAlgorithm: input.checksumAlgorithm?.rawValue)) + builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(requestChecksumRequired: true, checksumAlgorithm: input.checksumAlgorithm?.rawValue, checksumAlgoHeaderName: "x-amz-sdk-checksum-algorithm")) builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: S3Client.version, config: config)) @@ -7410,6 +7588,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -7420,7 +7600,6 @@ extension S3Client { config.httpInterceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutBucketWebsiteInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) builder.serialize(ClientRuntime.HeaderMiddleware(PutBucketWebsiteInput.headerProvider(_:))) @@ -7439,7 +7618,7 @@ extension S3Client { builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) builder.interceptors.add(AWSClientRuntime.AWSS3ErrorWith200StatusXMLMiddleware()) - builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(checksumAlgorithm: input.checksumAlgorithm?.rawValue)) + builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(requestChecksumRequired: true, checksumAlgorithm: input.checksumAlgorithm?.rawValue, checksumAlgoHeaderName: "x-amz-sdk-checksum-algorithm")) builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: S3Client.version, config: config)) @@ -7466,7 +7645,7 @@ extension S3Client { /// /// * If your bucket uses the bucket owner enforced setting for Object Ownership, ACLs are disabled and no longer affect permissions. All objects written to the bucket by any account will be owned by the bucket owner. /// - /// * Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Concepts for directory buckets in Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. + /// * Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Available Local Zone for directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. /// /// /// Amazon S3 is a distributed system. If it receives multiple write requests for the same object simultaneously, it overwrites all but the last object written. However, Amazon S3 provides features that can modify this behavior: @@ -7538,6 +7717,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -7566,7 +7747,7 @@ extension S3Client { builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) builder.interceptors.add(AWSClientRuntime.AWSS3ErrorWith200StatusXMLMiddleware()) - builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(checksumAlgorithm: input.checksumAlgorithm?.rawValue)) + builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(requestChecksumRequired: false, checksumAlgorithm: input.checksumAlgorithm?.rawValue, checksumAlgoHeaderName: "x-amz-sdk-checksum-algorithm")) builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: S3Client.version, config: config)) @@ -7680,6 +7861,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -7690,7 +7873,6 @@ extension S3Client { config.httpInterceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutObjectAclInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) builder.serialize(ClientRuntime.HeaderMiddleware(PutObjectAclInput.headerProvider(_:))) @@ -7709,7 +7891,7 @@ extension S3Client { builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) builder.interceptors.add(AWSClientRuntime.AWSS3ErrorWith200StatusXMLMiddleware()) - builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(checksumAlgorithm: input.checksumAlgorithm?.rawValue)) + builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(requestChecksumRequired: true, checksumAlgorithm: input.checksumAlgorithm?.rawValue, checksumAlgoHeaderName: "x-amz-sdk-checksum-algorithm")) builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: S3Client.version, config: config)) @@ -7751,6 +7933,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -7761,7 +7945,6 @@ extension S3Client { config.httpInterceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutObjectLegalHoldInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) builder.serialize(ClientRuntime.HeaderMiddleware(PutObjectLegalHoldInput.headerProvider(_:))) @@ -7780,7 +7963,7 @@ extension S3Client { builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) builder.interceptors.add(AWSClientRuntime.AWSS3ErrorWith200StatusXMLMiddleware()) - builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(checksumAlgorithm: input.checksumAlgorithm?.rawValue)) + builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(requestChecksumRequired: true, checksumAlgorithm: input.checksumAlgorithm?.rawValue, checksumAlgoHeaderName: "x-amz-sdk-checksum-algorithm")) builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: S3Client.version, config: config)) @@ -7828,6 +8011,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -7838,7 +8023,6 @@ extension S3Client { config.httpInterceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutObjectLockConfigurationInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) builder.serialize(ClientRuntime.HeaderMiddleware(PutObjectLockConfigurationInput.headerProvider(_:))) @@ -7857,7 +8041,7 @@ extension S3Client { builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) builder.interceptors.add(AWSClientRuntime.AWSS3ErrorWith200StatusXMLMiddleware()) - builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(checksumAlgorithm: input.checksumAlgorithm?.rawValue)) + builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(requestChecksumRequired: true, checksumAlgorithm: input.checksumAlgorithm?.rawValue, checksumAlgoHeaderName: "x-amz-sdk-checksum-algorithm")) builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: S3Client.version, config: config)) @@ -7899,6 +8083,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -7909,7 +8095,6 @@ extension S3Client { config.httpInterceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutObjectRetentionInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) builder.serialize(ClientRuntime.HeaderMiddleware(PutObjectRetentionInput.headerProvider(_:))) @@ -7928,7 +8113,7 @@ extension S3Client { builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) builder.interceptors.add(AWSClientRuntime.AWSS3ErrorWith200StatusXMLMiddleware()) - builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(checksumAlgorithm: input.checksumAlgorithm?.rawValue)) + builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(requestChecksumRequired: true, checksumAlgorithm: input.checksumAlgorithm?.rawValue, checksumAlgoHeaderName: "x-amz-sdk-checksum-algorithm")) builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: S3Client.version, config: config)) @@ -7985,6 +8170,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -7995,7 +8182,6 @@ extension S3Client { config.httpInterceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutObjectTaggingInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) builder.serialize(ClientRuntime.HeaderMiddleware(PutObjectTaggingInput.headerProvider(_:))) @@ -8014,7 +8200,7 @@ extension S3Client { builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) builder.interceptors.add(AWSClientRuntime.AWSS3ErrorWith200StatusXMLMiddleware()) - builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(checksumAlgorithm: input.checksumAlgorithm?.rawValue)) + builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(requestChecksumRequired: true, checksumAlgorithm: input.checksumAlgorithm?.rawValue, checksumAlgoHeaderName: "x-amz-sdk-checksum-algorithm")) builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: S3Client.version, config: config)) @@ -8064,6 +8250,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -8074,7 +8262,6 @@ extension S3Client { config.httpInterceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - builder.interceptors.add(ClientRuntime.ContentMD5Middleware()) builder.interceptors.add(ClientRuntime.URLPathMiddleware(PutPublicAccessBlockInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) builder.serialize(ClientRuntime.HeaderMiddleware(PutPublicAccessBlockInput.headerProvider(_:))) @@ -8093,7 +8280,7 @@ extension S3Client { builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) builder.interceptors.add(AWSClientRuntime.AWSS3ErrorWith200StatusXMLMiddleware()) - builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(checksumAlgorithm: input.checksumAlgorithm?.rawValue)) + builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(requestChecksumRequired: true, checksumAlgorithm: input.checksumAlgorithm?.rawValue, checksumAlgoHeaderName: "x-amz-sdk-checksum-algorithm")) builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: S3Client.version, config: config)) @@ -8202,6 +8389,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -8230,7 +8419,7 @@ extension S3Client { builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) builder.interceptors.add(AWSClientRuntime.AWSS3ErrorWith200StatusXMLMiddleware()) - builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(checksumAlgorithm: input.checksumAlgorithm?.rawValue)) + builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(requestChecksumRequired: false, checksumAlgorithm: input.checksumAlgorithm?.rawValue, checksumAlgoHeaderName: "x-amz-sdk-checksum-algorithm")) builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: S3Client.version, config: config)) @@ -8296,6 +8485,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -8344,7 +8535,7 @@ extension S3Client { /// Performs the `UploadPart` operation on the `S3` service. /// - /// Uploads a part in a multipart upload. In this operation, you provide new data as a part of an object in your request. However, you have an option to specify your existing Amazon S3 object as a data source for the part you are uploading. To upload a part from an existing object, you use the [UploadPartCopy](https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html) operation. You must initiate a multipart upload (see [CreateMultipartUpload](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html)) before you can upload any part. In response to your initiate request, Amazon S3 returns an upload ID, a unique identifier that you must include in your upload part request. Part numbers can be any number from 1 to 10,000, inclusive. A part number uniquely identifies a part and also defines its position within the object being created. If you upload a new part using the same part number that was used with a previous part, the previously uploaded part is overwritten. For information about maximum and minimum part sizes and other multipart upload specifications, see [Multipart upload limits](https://docs.aws.amazon.com/AmazonS3/latest/userguide/qfacts.html) in the Amazon S3 User Guide. After you initiate multipart upload and upload one or more parts, you must either complete or abort multipart upload in order to stop getting charged for storage of the uploaded parts. Only after you either complete or abort multipart upload, Amazon S3 frees up the parts storage and stops charging you for the parts storage. For more information on multipart uploads, go to [Multipart Upload Overview](https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html) in the Amazon S3 User Guide . Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Concepts for directory buckets in Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. Permissions + /// Uploads a part in a multipart upload. In this operation, you provide new data as a part of an object in your request. However, you have an option to specify your existing Amazon S3 object as a data source for the part you are uploading. To upload a part from an existing object, you use the [UploadPartCopy](https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html) operation. You must initiate a multipart upload (see [CreateMultipartUpload](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html)) before you can upload any part. In response to your initiate request, Amazon S3 returns an upload ID, a unique identifier that you must include in your upload part request. Part numbers can be any number from 1 to 10,000, inclusive. A part number uniquely identifies a part and also defines its position within the object being created. If you upload a new part using the same part number that was used with a previous part, the previously uploaded part is overwritten. For information about maximum and minimum part sizes and other multipart upload specifications, see [Multipart upload limits](https://docs.aws.amazon.com/AmazonS3/latest/userguide/qfacts.html) in the Amazon S3 User Guide. After you initiate multipart upload and upload one or more parts, you must either complete or abort multipart upload in order to stop getting charged for storage of the uploaded parts. Only after you either complete or abort multipart upload, Amazon S3 frees up the parts storage and stops charging you for the parts storage. For more information on multipart uploads, go to [Multipart Upload Overview](https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html) in the Amazon S3 User Guide . Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Available Local Zone for directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. Permissions /// /// * General purpose bucket permissions - To perform a multipart upload with encryption using an Key Management Service key, the requester must have permission to the kms:Decrypt and kms:GenerateDataKey actions on the key. The requester must also have permissions for the kms:GenerateDataKey action for the CreateMultipartUpload API. Then, the requester needs permissions for the kms:Decrypt action on the UploadPart and UploadPartCopy APIs. These permissions are required because Amazon S3 must decrypt and read data from the encrypted file parts before it completes the multipart upload. For more information about KMS permissions, see [Protecting data using server-side encryption with KMS](https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html) in the Amazon S3 User Guide. For information about the permissions required to use the multipart upload API, see [Multipart upload and permissions](https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html) and [Multipart upload API and permissions](https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html#mpuAndPermissions) in the Amazon S3 User Guide. /// @@ -8412,6 +8603,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -8440,7 +8633,7 @@ extension S3Client { builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: $0) }, endpointParams: endpointParams)) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) builder.interceptors.add(AWSClientRuntime.AWSS3ErrorWith200StatusXMLMiddleware()) - builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(checksumAlgorithm: input.checksumAlgorithm?.rawValue)) + builder.interceptors.add(AWSClientRuntime.FlexibleChecksumsRequestMiddleware(requestChecksumRequired: false, checksumAlgorithm: input.checksumAlgorithm?.rawValue, checksumAlgoHeaderName: "x-amz-sdk-checksum-algorithm")) builder.interceptors.add(AWSClientRuntime.AmzSdkInvocationIdMiddleware()) builder.interceptors.add(AWSClientRuntime.AmzSdkRequestMiddleware(maxRetries: config.retryStrategyOptions.maxRetriesBase)) builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: S3Client.version, config: config)) @@ -8461,7 +8654,7 @@ extension S3Client { /// Performs the `UploadPartCopy` operation on the `S3` service. /// - /// Uploads a part by copying data from an existing object as data source. To specify the data source, you add the request header x-amz-copy-source in your request. To specify a byte range, you add the request header x-amz-copy-source-range in your request. For information about maximum and minimum part sizes and other multipart upload specifications, see [Multipart upload limits](https://docs.aws.amazon.com/AmazonS3/latest/userguide/qfacts.html) in the Amazon S3 User Guide. Instead of copying data from an existing object as part data, you might use the [UploadPart](https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html) action to upload new data as a part of an object in your request. You must initiate a multipart upload before you can upload any part. In response to your initiate request, Amazon S3 returns the upload ID, a unique identifier that you must include in your upload part request. For conceptual information about multipart uploads, see [Uploading Objects Using Multipart Upload](https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html) in the Amazon S3 User Guide. For information about copying objects using a single atomic action vs. a multipart upload, see [Operations on Objects](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectOperations.html) in the Amazon S3 User Guide. Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Concepts for directory buckets in Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. Authentication and authorization All UploadPartCopy requests must be authenticated and signed by using IAM credentials (access key ID and secret access key for the IAM identities). All headers with the x-amz- prefix, including x-amz-copy-source, must be signed. For more information, see [REST Authentication](https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html). Directory buckets - You must use IAM credentials to authenticate and authorize your access to the UploadPartCopy API operation, instead of using the temporary security credentials through the CreateSession API operation. Amazon Web Services CLI or SDKs handles authentication and authorization on your behalf. Permissions You must have READ access to the source object and WRITE access to the destination bucket. + /// Uploads a part by copying data from an existing object as data source. To specify the data source, you add the request header x-amz-copy-source in your request. To specify a byte range, you add the request header x-amz-copy-source-range in your request. For information about maximum and minimum part sizes and other multipart upload specifications, see [Multipart upload limits](https://docs.aws.amazon.com/AmazonS3/latest/userguide/qfacts.html) in the Amazon S3 User Guide. Instead of copying data from an existing object as part data, you might use the [UploadPart](https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPart.html) action to upload new data as a part of an object in your request. You must initiate a multipart upload before you can upload any part. In response to your initiate request, Amazon S3 returns the upload ID, a unique identifier that you must include in your upload part request. For conceptual information about multipart uploads, see [Uploading Objects Using Multipart Upload](https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html) in the Amazon S3 User Guide. For information about copying objects using a single atomic action vs. a multipart upload, see [Operations on Objects](https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectOperations.html) in the Amazon S3 User Guide. Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Available Local Zone for directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. Authentication and authorization All UploadPartCopy requests must be authenticated and signed by using IAM credentials (access key ID and secret access key for the IAM identities). All headers with the x-amz- prefix, including x-amz-copy-source, must be signed. For more information, see [REST Authentication](https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html). Directory buckets - You must use IAM credentials to authenticate and authorize your access to the UploadPartCopy API operation, instead of using the temporary security credentials through the CreateSession API operation. Amazon Web Services CLI or SDKs handles authentication and authorization on your behalf. Permissions You must have READ access to the source object and WRITE access to the destination bucket. /// /// * General purpose bucket permissions - You must have the permissions in a policy based on the bucket types of your source bucket and destination bucket in an UploadPartCopy operation. /// @@ -8545,6 +8738,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -8611,6 +8806,8 @@ extension S3Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -8663,7 +8860,7 @@ extension S3Client { /// The presigned URL will be valid for the given expiration, in seconds. /// /// Below is the documentation for GetObject operation: - /// Retrieves an object from Amazon S3. In the GetObject request, specify the full key name for the object. General purpose buckets - Both the virtual-hosted-style requests and the path-style requests are supported. For a virtual hosted-style request example, if you have the object photos/2006/February/sample.jpg, specify the object key name as /photos/2006/February/sample.jpg. For a path-style request example, if you have the object photos/2006/February/sample.jpg in the bucket named examplebucket, specify the object key name as /examplebucket/photos/2006/February/sample.jpg. For more information about request types, see [HTTP Host Header Bucket Specification](https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html#VirtualHostingSpecifyBucket) in the Amazon S3 User Guide. Directory buckets - Only virtual-hosted-style requests are supported. For a virtual hosted-style request example, if you have the object photos/2006/February/sample.jpg in the bucket named examplebucket--use1-az5--x-s3, specify the object key name as /photos/2006/February/sample.jpg. Also, when you make requests to this API operation, your requests are sent to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Concepts for directory buckets in Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. Permissions + /// Retrieves an object from Amazon S3. In the GetObject request, specify the full key name for the object. General purpose buckets - Both the virtual-hosted-style requests and the path-style requests are supported. For a virtual hosted-style request example, if you have the object photos/2006/February/sample.jpg, specify the object key name as /photos/2006/February/sample.jpg. For a path-style request example, if you have the object photos/2006/February/sample.jpg in the bucket named examplebucket, specify the object key name as /examplebucket/photos/2006/February/sample.jpg. For more information about request types, see [HTTP Host Header Bucket Specification](https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html#VirtualHostingSpecifyBucket) in the Amazon S3 User Guide. Directory buckets - Only virtual-hosted-style requests are supported. For a virtual hosted-style request example, if you have the object photos/2006/February/sample.jpg in the bucket named examplebucket--use1-az5--x-s3, specify the object key name as /photos/2006/February/sample.jpg. Also, when you make requests to this API operation, your requests are sent to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Available Local Zone for directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. Permissions /// /// * General purpose bucket permissions - You must have the required permissions in a policy. To use GetObject, you must have the READ access to the object (or version). If you grant READ access to the anonymous user, the GetObject operation returns the object without using an authorization header. For more information, see [Specifying permissions in a policy](https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html) in the Amazon S3 User Guide. If you include a versionId in your request header, you must have the s3:GetObjectVersion permission to access a specific version of an object. The s3:GetObject permission is not required in this scenario. If you request the current version of an object without a specific versionId in the request header, only the s3:GetObject permission is required. The s3:GetObjectVersion permission is not required in this scenario. If the object that you request doesn’t exist, the error that Amazon S3 returns depends on whether you also have the s3:ListBucket permission. /// @@ -8722,7 +8919,7 @@ extension S3Client { /// /// * If your bucket uses the bucket owner enforced setting for Object Ownership, ACLs are disabled and no longer affect permissions. All objects written to the bucket by any account will be owned by the bucket owner. /// - /// * Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Concepts for directory buckets in Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. + /// * Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Available Local Zone for directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. /// /// /// Amazon S3 is a distributed system. If it receives multiple write requests for the same object simultaneously, it overwrites all but the last object written. However, Amazon S3 provides features that can modify this behavior: @@ -8779,7 +8976,7 @@ extension S3Client { /// The presigned URL will be valid for the given expiration, in seconds. /// /// Below is the documentation for UploadPart operation: - /// Uploads a part in a multipart upload. In this operation, you provide new data as a part of an object in your request. However, you have an option to specify your existing Amazon S3 object as a data source for the part you are uploading. To upload a part from an existing object, you use the [UploadPartCopy](https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html) operation. You must initiate a multipart upload (see [CreateMultipartUpload](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html)) before you can upload any part. In response to your initiate request, Amazon S3 returns an upload ID, a unique identifier that you must include in your upload part request. Part numbers can be any number from 1 to 10,000, inclusive. A part number uniquely identifies a part and also defines its position within the object being created. If you upload a new part using the same part number that was used with a previous part, the previously uploaded part is overwritten. For information about maximum and minimum part sizes and other multipart upload specifications, see [Multipart upload limits](https://docs.aws.amazon.com/AmazonS3/latest/userguide/qfacts.html) in the Amazon S3 User Guide. After you initiate multipart upload and upload one or more parts, you must either complete or abort multipart upload in order to stop getting charged for storage of the uploaded parts. Only after you either complete or abort multipart upload, Amazon S3 frees up the parts storage and stops charging you for the parts storage. For more information on multipart uploads, go to [Multipart Upload Overview](https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html) in the Amazon S3 User Guide . Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Concepts for directory buckets in Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. Permissions + /// Uploads a part in a multipart upload. In this operation, you provide new data as a part of an object in your request. However, you have an option to specify your existing Amazon S3 object as a data source for the part you are uploading. To upload a part from an existing object, you use the [UploadPartCopy](https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html) operation. You must initiate a multipart upload (see [CreateMultipartUpload](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html)) before you can upload any part. In response to your initiate request, Amazon S3 returns an upload ID, a unique identifier that you must include in your upload part request. Part numbers can be any number from 1 to 10,000, inclusive. A part number uniquely identifies a part and also defines its position within the object being created. If you upload a new part using the same part number that was used with a previous part, the previously uploaded part is overwritten. For information about maximum and minimum part sizes and other multipart upload specifications, see [Multipart upload limits](https://docs.aws.amazon.com/AmazonS3/latest/userguide/qfacts.html) in the Amazon S3 User Guide. After you initiate multipart upload and upload one or more parts, you must either complete or abort multipart upload in order to stop getting charged for storage of the uploaded parts. Only after you either complete or abort multipart upload, Amazon S3 frees up the parts storage and stops charging you for the parts storage. For more information on multipart uploads, go to [Multipart Upload Overview](https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html) in the Amazon S3 User Guide . Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Available Local Zone for directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. Permissions /// /// * General purpose bucket permissions - To perform a multipart upload with encryption using an Key Management Service key, the requester must have permission to the kms:Decrypt and kms:GenerateDataKey actions on the key. The requester must also have permissions for the kms:GenerateDataKey action for the CreateMultipartUpload API. Then, the requester needs permissions for the kms:Decrypt action on the UploadPart and UploadPartCopy APIs. These permissions are required because Amazon S3 must decrypt and read data from the encrypted file parts before it completes the multipart upload. For more information about KMS permissions, see [Protecting data using server-side encryption with KMS](https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html) in the Amazon S3 User Guide. For information about the permissions required to use the multipart upload API, see [Multipart upload and permissions](https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html) and [Multipart upload API and permissions](https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html#mpuAndPermissions) in the Amazon S3 User Guide. /// @@ -8846,7 +9043,7 @@ extension S3Client { /// The presigned request will be valid for the given expiration, in seconds. /// /// Below is the documentation for GetObject operation: - /// Retrieves an object from Amazon S3. In the GetObject request, specify the full key name for the object. General purpose buckets - Both the virtual-hosted-style requests and the path-style requests are supported. For a virtual hosted-style request example, if you have the object photos/2006/February/sample.jpg, specify the object key name as /photos/2006/February/sample.jpg. For a path-style request example, if you have the object photos/2006/February/sample.jpg in the bucket named examplebucket, specify the object key name as /examplebucket/photos/2006/February/sample.jpg. For more information about request types, see [HTTP Host Header Bucket Specification](https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html#VirtualHostingSpecifyBucket) in the Amazon S3 User Guide. Directory buckets - Only virtual-hosted-style requests are supported. For a virtual hosted-style request example, if you have the object photos/2006/February/sample.jpg in the bucket named examplebucket--use1-az5--x-s3, specify the object key name as /photos/2006/February/sample.jpg. Also, when you make requests to this API operation, your requests are sent to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Concepts for directory buckets in Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. Permissions + /// Retrieves an object from Amazon S3. In the GetObject request, specify the full key name for the object. General purpose buckets - Both the virtual-hosted-style requests and the path-style requests are supported. For a virtual hosted-style request example, if you have the object photos/2006/February/sample.jpg, specify the object key name as /photos/2006/February/sample.jpg. For a path-style request example, if you have the object photos/2006/February/sample.jpg in the bucket named examplebucket, specify the object key name as /examplebucket/photos/2006/February/sample.jpg. For more information about request types, see [HTTP Host Header Bucket Specification](https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html#VirtualHostingSpecifyBucket) in the Amazon S3 User Guide. Directory buckets - Only virtual-hosted-style requests are supported. For a virtual hosted-style request example, if you have the object photos/2006/February/sample.jpg in the bucket named examplebucket--use1-az5--x-s3, specify the object key name as /photos/2006/February/sample.jpg. Also, when you make requests to this API operation, your requests are sent to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Available Local Zone for directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. Permissions /// /// * General purpose bucket permissions - You must have the required permissions in a policy. To use GetObject, you must have the READ access to the object (or version). If you grant READ access to the anonymous user, the GetObject operation returns the object without using an authorization header. For more information, see [Specifying permissions in a policy](https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html) in the Amazon S3 User Guide. If you include a versionId in your request header, you must have the s3:GetObjectVersion permission to access a specific version of an object. The s3:GetObject permission is not required in this scenario. If you request the current version of an object without a specific versionId in the request header, only the s3:GetObject permission is required. The s3:GetObjectVersion permission is not required in this scenario. If the object that you request doesn’t exist, the error that Amazon S3 returns depends on whether you also have the s3:ListBucket permission. /// @@ -8905,7 +9102,7 @@ extension S3Client { /// /// * If your bucket uses the bucket owner enforced setting for Object Ownership, ACLs are disabled and no longer affect permissions. All objects written to the bucket by any account will be owned by the bucket owner. /// - /// * Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Concepts for directory buckets in Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. + /// * Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Available Local Zone for directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. /// /// /// Amazon S3 is a distributed system. If it receives multiple write requests for the same object simultaneously, it overwrites all but the last object written. However, Amazon S3 provides features that can modify this behavior: @@ -8962,7 +9159,7 @@ extension S3Client { /// The presigned request will be valid for the given expiration, in seconds. /// /// Below is the documentation for UploadPart operation: - /// Uploads a part in a multipart upload. In this operation, you provide new data as a part of an object in your request. However, you have an option to specify your existing Amazon S3 object as a data source for the part you are uploading. To upload a part from an existing object, you use the [UploadPartCopy](https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html) operation. You must initiate a multipart upload (see [CreateMultipartUpload](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html)) before you can upload any part. In response to your initiate request, Amazon S3 returns an upload ID, a unique identifier that you must include in your upload part request. Part numbers can be any number from 1 to 10,000, inclusive. A part number uniquely identifies a part and also defines its position within the object being created. If you upload a new part using the same part number that was used with a previous part, the previously uploaded part is overwritten. For information about maximum and minimum part sizes and other multipart upload specifications, see [Multipart upload limits](https://docs.aws.amazon.com/AmazonS3/latest/userguide/qfacts.html) in the Amazon S3 User Guide. After you initiate multipart upload and upload one or more parts, you must either complete or abort multipart upload in order to stop getting charged for storage of the uploaded parts. Only after you either complete or abort multipart upload, Amazon S3 frees up the parts storage and stops charging you for the parts storage. For more information on multipart uploads, go to [Multipart Upload Overview](https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html) in the Amazon S3 User Guide . Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Concepts for directory buckets in Local Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. Permissions + /// Uploads a part in a multipart upload. In this operation, you provide new data as a part of an object in your request. However, you have an option to specify your existing Amazon S3 object as a data source for the part you are uploading. To upload a part from an existing object, you use the [UploadPartCopy](https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html) operation. You must initiate a multipart upload (see [CreateMultipartUpload](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html)) before you can upload any part. In response to your initiate request, Amazon S3 returns an upload ID, a unique identifier that you must include in your upload part request. Part numbers can be any number from 1 to 10,000, inclusive. A part number uniquely identifies a part and also defines its position within the object being created. If you upload a new part using the same part number that was used with a previous part, the previously uploaded part is overwritten. For information about maximum and minimum part sizes and other multipart upload specifications, see [Multipart upload limits](https://docs.aws.amazon.com/AmazonS3/latest/userguide/qfacts.html) in the Amazon S3 User Guide. After you initiate multipart upload and upload one or more parts, you must either complete or abort multipart upload in order to stop getting charged for storage of the uploaded parts. Only after you either complete or abort multipart upload, Amazon S3 frees up the parts storage and stops charging you for the parts storage. For more information on multipart uploads, go to [Multipart Upload Overview](https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html) in the Amazon S3 User Guide . Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name . Path-style requests are not supported. For more information about endpoints in Availability Zones, see [Regional and Zonal endpoints for directory buckets in Availability Zones](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html) in the Amazon S3 User Guide. For more information about endpoints in Local Zones, see [Available Local Zone for directory buckets](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html) in the Amazon S3 User Guide. Permissions /// /// * General purpose bucket permissions - To perform a multipart upload with encryption using an Key Management Service key, the requester must have permission to the kms:Decrypt and kms:GenerateDataKey actions on the key. The requester must also have permissions for the kms:GenerateDataKey action for the CreateMultipartUpload API. Then, the requester needs permissions for the kms:Decrypt action on the UploadPart and UploadPartCopy APIs. These permissions are required because Amazon S3 must decrypt and read data from the encrypted file parts before it completes the multipart upload. For more information about KMS permissions, see [Protecting data using server-side encryption with KMS](https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html) in the Amazon S3 User Guide. For information about the permissions required to use the multipart upload API, see [Multipart upload and permissions](https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html) and [Multipart upload API and permissions](https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html#mpuAndPermissions) in the Amazon S3 User Guide. /// diff --git a/Sources/Services/AWSS3Control/Package.swift.txt b/Sources/Services/AWSS3Control/Package.swift.txt index 4f1ed0be3c3..c91e6e9975a 100644 --- a/Sources/Services/AWSS3Control/Package.swift.txt +++ b/Sources/Services/AWSS3Control/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSS3Control/Sources/AWSS3Control/S3ControlClient.swift b/Sources/Services/AWSS3Control/Sources/AWSS3Control/S3ControlClient.swift index 7b39d6d541c..bba5de163a2 100644 --- a/Sources/Services/AWSS3Control/Sources/AWSS3Control/S3ControlClient.swift +++ b/Sources/Services/AWSS3Control/Sources/AWSS3Control/S3ControlClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyXML.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -68,7 +69,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class S3ControlClient: ClientRuntime.Client { public static let clientName = "S3ControlClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: S3ControlClient.S3ControlClientConfiguration let serviceName = "S3 Control" @@ -98,6 +99,8 @@ extension S3ControlClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -124,6 +127,8 @@ extension S3ControlClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -148,6 +153,8 @@ extension S3ControlClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -175,6 +182,8 @@ extension S3ControlClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -200,6 +209,8 @@ extension S3ControlClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -227,6 +238,8 @@ extension S3ControlClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -252,6 +265,8 @@ extension S3ControlClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -280,6 +295,8 @@ extension S3ControlClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -308,6 +325,8 @@ extension S3ControlClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -375,6 +394,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -442,6 +463,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -509,6 +532,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -585,6 +610,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -658,6 +685,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -730,6 +759,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -819,6 +850,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -904,6 +937,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -979,6 +1014,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -1047,6 +1084,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -1113,6 +1152,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -1177,6 +1218,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -1241,6 +1284,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -1305,6 +1350,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -1375,6 +1422,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -1444,6 +1493,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -1511,6 +1562,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -1578,6 +1631,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -1647,6 +1702,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -1714,6 +1771,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -1781,6 +1840,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -1848,6 +1909,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -1915,6 +1978,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -1991,6 +2056,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -2062,6 +2129,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -2134,6 +2203,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -2197,6 +2268,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -2260,6 +2333,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -2323,6 +2398,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -2402,6 +2479,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -2473,6 +2552,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -2537,6 +2618,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -2601,6 +2684,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -2665,6 +2750,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -2729,6 +2816,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -2794,6 +2883,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -2858,6 +2949,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -2928,6 +3021,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -2993,6 +3088,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -3062,6 +3159,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -3129,6 +3228,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -3196,6 +3297,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -3259,6 +3362,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -3322,6 +3427,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -3391,6 +3498,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -3472,6 +3581,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -3541,6 +3652,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -3608,6 +3721,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -3685,6 +3800,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -3754,6 +3871,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -3817,6 +3936,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -3895,6 +4016,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -3966,6 +4089,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -4034,6 +4159,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -4102,6 +4229,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -4176,6 +4305,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -4249,6 +4380,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -4312,6 +4445,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -4375,6 +4510,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -4438,6 +4575,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -4501,6 +4640,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -4566,6 +4707,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -4631,6 +4774,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -4702,6 +4847,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -4772,6 +4919,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -4836,6 +4985,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -4916,6 +5067,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -4988,6 +5141,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -5053,6 +5208,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -5117,6 +5274,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -5181,6 +5340,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -5245,6 +5406,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -5308,6 +5471,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -5377,6 +5542,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -5447,6 +5614,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -5517,6 +5686,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -5587,6 +5758,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -5658,6 +5831,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -5738,6 +5913,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -5840,6 +6017,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -5920,6 +6099,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -6023,6 +6204,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -6093,6 +6276,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -6165,6 +6350,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -6231,6 +6418,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -6297,6 +6486,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -6373,6 +6564,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -6440,6 +6633,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -6506,6 +6701,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -6570,6 +6767,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -6653,6 +6852,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -6734,6 +6935,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() @@ -6798,6 +7001,8 @@ extension S3ControlClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSS3Outposts/Package.swift.txt b/Sources/Services/AWSS3Outposts/Package.swift.txt index 2d62ebefee8..043a91e982e 100644 --- a/Sources/Services/AWSS3Outposts/Package.swift.txt +++ b/Sources/Services/AWSS3Outposts/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSS3Outposts/Sources/AWSS3Outposts/S3OutpostsClient.swift b/Sources/Services/AWSS3Outposts/Sources/AWSS3Outposts/S3OutpostsClient.swift index 832446c0277..86041260140 100644 --- a/Sources/Services/AWSS3Outposts/Sources/AWSS3Outposts/S3OutpostsClient.swift +++ b/Sources/Services/AWSS3Outposts/Sources/AWSS3Outposts/S3OutpostsClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class S3OutpostsClient: ClientRuntime.Client { public static let clientName = "S3OutpostsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: S3OutpostsClient.S3OutpostsClientConfiguration let serviceName = "S3Outposts" @@ -93,6 +94,8 @@ extension S3OutpostsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension S3OutpostsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension S3OutpostsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension S3OutpostsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension S3OutpostsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension S3OutpostsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension S3OutpostsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension S3OutpostsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension S3OutpostsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -376,6 +395,8 @@ extension S3OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3-outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -455,6 +476,8 @@ extension S3OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3-outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -531,6 +554,8 @@ extension S3OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3-outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -602,6 +627,8 @@ extension S3OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3-outposts") .withSigningRegion(value: config.signingRegion) .build() @@ -678,6 +705,8 @@ extension S3OutpostsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3-outposts") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSS3Tables/Package.swift.txt b/Sources/Services/AWSS3Tables/Package.swift.txt index 9213d4ba916..4f0c0fc7554 100644 --- a/Sources/Services/AWSS3Tables/Package.swift.txt +++ b/Sources/Services/AWSS3Tables/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSS3Tables/Sources/AWSS3Tables/S3TablesClient.swift b/Sources/Services/AWSS3Tables/Sources/AWSS3Tables/S3TablesClient.swift index cdc9cd5eda0..e27e8f4a41d 100644 --- a/Sources/Services/AWSS3Tables/Sources/AWSS3Tables/S3TablesClient.swift +++ b/Sources/Services/AWSS3Tables/Sources/AWSS3Tables/S3TablesClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class S3TablesClient: ClientRuntime.Client { public static let clientName = "S3TablesClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: S3TablesClient.S3TablesClientConfiguration let serviceName = "S3Tables" @@ -94,6 +95,8 @@ extension S3TablesClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension S3TablesClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension S3TablesClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension S3TablesClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension S3TablesClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension S3TablesClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension S3TablesClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension S3TablesClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension S3TablesClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension S3TablesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3tables") .withSigningRegion(value: config.signingRegion) .build() @@ -447,6 +468,8 @@ extension S3TablesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3tables") .withSigningRegion(value: config.signingRegion) .build() @@ -522,6 +545,8 @@ extension S3TablesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3tables") .withSigningRegion(value: config.signingRegion) .build() @@ -597,6 +622,8 @@ extension S3TablesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3tables") .withSigningRegion(value: config.signingRegion) .build() @@ -669,6 +696,8 @@ extension S3TablesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3tables") .withSigningRegion(value: config.signingRegion) .build() @@ -742,6 +771,8 @@ extension S3TablesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3tables") .withSigningRegion(value: config.signingRegion) .build() @@ -814,6 +845,8 @@ extension S3TablesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3tables") .withSigningRegion(value: config.signingRegion) .build() @@ -886,6 +919,8 @@ extension S3TablesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3tables") .withSigningRegion(value: config.signingRegion) .build() @@ -959,6 +994,8 @@ extension S3TablesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3tables") .withSigningRegion(value: config.signingRegion) .build() @@ -1032,6 +1069,8 @@ extension S3TablesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3tables") .withSigningRegion(value: config.signingRegion) .build() @@ -1105,6 +1144,8 @@ extension S3TablesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3tables") .withSigningRegion(value: config.signingRegion) .build() @@ -1177,6 +1218,8 @@ extension S3TablesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3tables") .withSigningRegion(value: config.signingRegion) .build() @@ -1249,6 +1292,8 @@ extension S3TablesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3tables") .withSigningRegion(value: config.signingRegion) .build() @@ -1321,6 +1366,8 @@ extension S3TablesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3tables") .withSigningRegion(value: config.signingRegion) .build() @@ -1393,6 +1440,8 @@ extension S3TablesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3tables") .withSigningRegion(value: config.signingRegion) .build() @@ -1465,6 +1514,8 @@ extension S3TablesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3tables") .withSigningRegion(value: config.signingRegion) .build() @@ -1537,6 +1588,8 @@ extension S3TablesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3tables") .withSigningRegion(value: config.signingRegion) .build() @@ -1610,6 +1663,8 @@ extension S3TablesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3tables") .withSigningRegion(value: config.signingRegion) .build() @@ -1684,6 +1739,8 @@ extension S3TablesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3tables") .withSigningRegion(value: config.signingRegion) .build() @@ -1757,6 +1814,8 @@ extension S3TablesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3tables") .withSigningRegion(value: config.signingRegion) .build() @@ -1830,6 +1889,8 @@ extension S3TablesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3tables") .withSigningRegion(value: config.signingRegion) .build() @@ -1905,6 +1966,8 @@ extension S3TablesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3tables") .withSigningRegion(value: config.signingRegion) .build() @@ -1980,6 +2043,8 @@ extension S3TablesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3tables") .withSigningRegion(value: config.signingRegion) .build() @@ -2055,6 +2120,8 @@ extension S3TablesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3tables") .withSigningRegion(value: config.signingRegion) .build() @@ -2130,6 +2197,8 @@ extension S3TablesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3tables") .withSigningRegion(value: config.signingRegion) .build() @@ -2205,6 +2274,8 @@ extension S3TablesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "s3tables") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSES/Package.swift.txt b/Sources/Services/AWSSES/Package.swift.txt index 86ca1af3094..dd2fbfd5c70 100644 --- a/Sources/Services/AWSSES/Package.swift.txt +++ b/Sources/Services/AWSSES/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSES/Sources/AWSSES/SESClient.swift b/Sources/Services/AWSSES/Sources/AWSSES/SESClient.swift index 37a4f57f103..67fa2e171bd 100644 --- a/Sources/Services/AWSSES/Sources/AWSSES/SESClient.swift +++ b/Sources/Services/AWSSES/Sources/AWSSES/SESClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPRequest import class SmithyHTTPAPI.HTTPResponse import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -62,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SESClient: ClientRuntime.Client { public static let clientName = "SESClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SESClient.SESClientConfiguration let serviceName = "SES" @@ -92,6 +93,8 @@ extension SESClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -117,6 +120,8 @@ extension SESClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -140,6 +145,8 @@ extension SESClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -166,6 +173,8 @@ extension SESClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -190,6 +199,8 @@ extension SESClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -216,6 +227,8 @@ extension SESClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -240,6 +253,8 @@ extension SESClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -267,6 +282,8 @@ extension SESClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -294,6 +311,8 @@ extension SESClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -367,6 +386,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -439,6 +460,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -514,6 +537,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -590,6 +615,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -663,6 +690,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -734,6 +763,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -810,6 +841,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -881,6 +914,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -953,6 +988,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1023,6 +1060,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1094,6 +1133,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1165,6 +1206,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1230,6 +1273,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1295,6 +1340,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1360,6 +1407,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1425,6 +1474,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1495,6 +1546,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1565,6 +1618,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1630,6 +1685,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1695,6 +1752,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1760,6 +1819,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1830,6 +1891,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1901,6 +1964,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1971,6 +2036,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2036,6 +2103,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2106,6 +2175,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2180,6 +2251,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2245,6 +2318,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2310,6 +2385,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2375,6 +2452,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2440,6 +2519,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2505,6 +2586,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2570,6 +2653,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2640,6 +2725,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2705,6 +2792,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2770,6 +2859,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2835,6 +2926,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2900,6 +2993,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2965,6 +3060,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3030,6 +3127,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3095,6 +3194,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3160,6 +3261,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3231,6 +3334,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3301,6 +3406,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3372,6 +3479,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3442,6 +3551,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3531,6 +3642,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3605,6 +3718,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3692,6 +3807,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3798,6 +3915,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3888,6 +4007,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3958,6 +4079,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -4023,6 +4146,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -4088,6 +4213,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -4153,6 +4280,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -4218,6 +4347,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -4283,6 +4414,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -4354,6 +4487,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -4426,6 +4561,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -4491,6 +4628,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -4565,6 +4704,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -4635,6 +4776,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -4705,6 +4848,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -4781,6 +4926,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -4853,6 +5000,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -4928,6 +5077,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -4999,6 +5150,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -5073,6 +5226,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -5138,6 +5293,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -5203,6 +5360,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -5268,6 +5427,8 @@ extension SESClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSESv2/Package.swift.txt b/Sources/Services/AWSSESv2/Package.swift.txt index 27d1a6d0c79..84970c05170 100644 --- a/Sources/Services/AWSSESv2/Package.swift.txt +++ b/Sources/Services/AWSSESv2/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSESv2/Sources/AWSSESv2/Models.swift b/Sources/Services/AWSSESv2/Sources/AWSSESv2/Models.swift index 7a69524cb30..598da1015a5 100644 --- a/Sources/Services/AWSSESv2/Sources/AWSSESv2/Models.swift +++ b/Sources/Services/AWSSESv2/Sources/AWSSESv2/Models.swift @@ -6651,6 +6651,7 @@ extension SESv2ClientTypes { public enum RecommendationType: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { case bimi + case complaint case dkim case dmarc case spf @@ -6659,6 +6660,7 @@ extension SESv2ClientTypes { public static var allCases: [RecommendationType] { return [ .bimi, + .complaint, .dkim, .dmarc, .spf @@ -6673,6 +6675,7 @@ extension SESv2ClientTypes { public var rawValue: Swift.String { switch self { case .bimi: return "BIMI" + case .complaint: return "COMPLAINT" case .dkim: return "DKIM" case .dmarc: return "DMARC" case .spf: return "SPF" diff --git a/Sources/Services/AWSSESv2/Sources/AWSSESv2/SESv2Client.swift b/Sources/Services/AWSSESv2/Sources/AWSSESv2/SESv2Client.swift index da6c4c3e945..fa9b9cc8a47 100644 --- a/Sources/Services/AWSSESv2/Sources/AWSSESv2/SESv2Client.swift +++ b/Sources/Services/AWSSESv2/Sources/AWSSESv2/SESv2Client.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -66,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SESv2Client: ClientRuntime.Client { public static let clientName = "SESv2Client" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SESv2Client.SESv2ClientConfiguration let serviceName = "SESv2" @@ -96,6 +97,8 @@ extension SESv2Client { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -121,6 +124,8 @@ extension SESv2Client { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -144,6 +149,8 @@ extension SESv2Client { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -170,6 +177,8 @@ extension SESv2Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -194,6 +203,8 @@ extension SESv2Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -220,6 +231,8 @@ extension SESv2Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -244,6 +257,8 @@ extension SESv2Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -271,6 +286,8 @@ extension SESv2Client { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -298,6 +315,8 @@ extension SESv2Client { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -445,6 +466,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -518,6 +541,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -593,6 +618,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -667,6 +694,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -741,6 +770,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -816,6 +847,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -891,6 +924,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -970,6 +1005,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1046,6 +1083,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1121,6 +1160,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1195,6 +1236,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1269,6 +1312,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1342,6 +1387,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1416,6 +1463,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1490,6 +1539,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1560,6 +1611,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1630,6 +1683,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1701,6 +1756,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1771,6 +1828,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1842,6 +1901,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1913,6 +1974,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -1983,6 +2046,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2053,6 +2118,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2124,6 +2191,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2194,6 +2263,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2263,6 +2334,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2333,6 +2406,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2404,6 +2479,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2474,6 +2551,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2544,6 +2623,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2614,6 +2695,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2684,6 +2767,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2754,6 +2839,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2824,6 +2911,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2894,6 +2983,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -2965,6 +3056,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3035,6 +3128,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3105,6 +3200,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3175,6 +3272,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3246,6 +3345,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3316,6 +3417,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3386,6 +3489,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3456,6 +3561,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3526,6 +3633,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3596,6 +3705,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3666,6 +3777,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3736,6 +3849,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3805,6 +3920,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3875,6 +3992,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -3946,6 +4065,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -4018,6 +4139,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -4088,6 +4211,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -4159,6 +4284,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -4230,6 +4357,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -4300,6 +4429,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -4370,6 +4501,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -4440,6 +4573,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -4512,6 +4647,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -4584,6 +4721,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -4655,6 +4794,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -4728,6 +4869,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -4799,6 +4942,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -4869,6 +5014,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -4942,6 +5089,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -5014,6 +5163,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -5086,6 +5237,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -5158,6 +5311,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -5231,6 +5386,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -5304,6 +5461,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -5377,6 +5536,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -5450,6 +5611,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -5523,6 +5686,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -5596,6 +5761,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -5669,6 +5836,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -5743,6 +5912,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -5816,6 +5987,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -5891,6 +6064,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -5964,6 +6139,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -6037,6 +6214,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -6122,6 +6301,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -6195,6 +6376,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -6268,6 +6451,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -6340,6 +6525,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -6418,6 +6605,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -6495,6 +6684,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -6579,6 +6770,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -6653,6 +6846,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -6726,6 +6921,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -6800,6 +6997,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -6871,6 +7070,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -6945,6 +7146,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -7019,6 +7222,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -7092,6 +7297,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -7165,6 +7372,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() @@ -7238,6 +7447,8 @@ extension SESv2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ses") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSFN/Package.swift.txt b/Sources/Services/AWSSFN/Package.swift.txt index e49ff9a46e7..986421d5057 100644 --- a/Sources/Services/AWSSFN/Package.swift.txt +++ b/Sources/Services/AWSSFN/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSFN/Sources/AWSSFN/SFNClient.swift b/Sources/Services/AWSSFN/Sources/AWSSFN/SFNClient.swift index 5f784c49e8f..ccc1819cf6b 100644 --- a/Sources/Services/AWSSFN/Sources/AWSSFN/SFNClient.swift +++ b/Sources/Services/AWSSFN/Sources/AWSSFN/SFNClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SFNClient: ClientRuntime.Client { public static let clientName = "SFNClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SFNClient.SFNClientConfiguration let serviceName = "SFN" @@ -95,6 +96,8 @@ extension SFNClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension SFNClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension SFNClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension SFNClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension SFNClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension SFNClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension SFNClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension SFNClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension SFNClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -459,6 +480,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -544,6 +567,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -615,6 +640,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -694,6 +721,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -776,6 +805,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -853,6 +884,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -925,6 +958,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -1000,6 +1035,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -1072,6 +1109,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -1156,6 +1195,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -1237,6 +1278,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -1312,6 +1355,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -1388,6 +1433,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -1464,6 +1511,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -1535,6 +1584,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -1611,6 +1662,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -1684,6 +1737,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -1767,6 +1822,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -1844,6 +1901,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -1915,6 +1974,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -1987,6 +2048,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -2067,6 +2130,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -2150,6 +2215,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -2227,6 +2294,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -2300,6 +2369,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -2377,6 +2448,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -2467,6 +2540,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -2546,6 +2621,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -2622,6 +2699,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -2695,6 +2774,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -2793,6 +2874,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -2865,6 +2948,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -2938,6 +3023,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -3030,6 +3117,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -3113,6 +3202,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() @@ -3191,6 +3282,8 @@ extension SFNClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "states") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSMS/Package.swift.txt b/Sources/Services/AWSSMS/Package.swift.txt index 774108f4864..2f402df3154 100644 --- a/Sources/Services/AWSSMS/Package.swift.txt +++ b/Sources/Services/AWSSMS/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSMS/Sources/AWSSMS/SMSClient.swift b/Sources/Services/AWSSMS/Sources/AWSSMS/SMSClient.swift index 2b2a360fd5b..f3fd940259e 100644 --- a/Sources/Services/AWSSMS/Sources/AWSSMS/SMSClient.swift +++ b/Sources/Services/AWSSMS/Sources/AWSSMS/SMSClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SMSClient: ClientRuntime.Client { public static let clientName = "SMSClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SMSClient.SMSClientConfiguration let serviceName = "SMS" @@ -94,6 +95,8 @@ extension SMSClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension SMSClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension SMSClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension SMSClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension SMSClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension SMSClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension SMSClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension SMSClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension SMSClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension SMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms") .withSigningRegion(value: config.signingRegion) .build() @@ -450,6 +471,8 @@ extension SMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms") .withSigningRegion(value: config.signingRegion) .build() @@ -525,6 +548,8 @@ extension SMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms") .withSigningRegion(value: config.signingRegion) .build() @@ -600,6 +625,8 @@ extension SMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms") .withSigningRegion(value: config.signingRegion) .build() @@ -675,6 +702,8 @@ extension SMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms") .withSigningRegion(value: config.signingRegion) .build() @@ -750,6 +779,8 @@ extension SMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms") .withSigningRegion(value: config.signingRegion) .build() @@ -825,6 +856,8 @@ extension SMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms") .withSigningRegion(value: config.signingRegion) .build() @@ -899,6 +932,8 @@ extension SMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms") .withSigningRegion(value: config.signingRegion) .build() @@ -973,6 +1008,8 @@ extension SMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms") .withSigningRegion(value: config.signingRegion) .build() @@ -1048,6 +1085,8 @@ extension SMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms") .withSigningRegion(value: config.signingRegion) .build() @@ -1123,6 +1162,8 @@ extension SMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms") .withSigningRegion(value: config.signingRegion) .build() @@ -1198,6 +1239,8 @@ extension SMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms") .withSigningRegion(value: config.signingRegion) .build() @@ -1273,6 +1316,8 @@ extension SMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms") .withSigningRegion(value: config.signingRegion) .build() @@ -1348,6 +1393,8 @@ extension SMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms") .withSigningRegion(value: config.signingRegion) .build() @@ -1423,6 +1470,8 @@ extension SMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms") .withSigningRegion(value: config.signingRegion) .build() @@ -1498,6 +1547,8 @@ extension SMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms") .withSigningRegion(value: config.signingRegion) .build() @@ -1569,6 +1620,8 @@ extension SMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms") .withSigningRegion(value: config.signingRegion) .build() @@ -1642,6 +1695,8 @@ extension SMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms") .withSigningRegion(value: config.signingRegion) .build() @@ -1715,6 +1770,8 @@ extension SMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms") .withSigningRegion(value: config.signingRegion) .build() @@ -1789,6 +1846,8 @@ extension SMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms") .withSigningRegion(value: config.signingRegion) .build() @@ -1864,6 +1923,8 @@ extension SMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms") .withSigningRegion(value: config.signingRegion) .build() @@ -1939,6 +2000,8 @@ extension SMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms") .withSigningRegion(value: config.signingRegion) .build() @@ -2014,6 +2077,8 @@ extension SMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms") .withSigningRegion(value: config.signingRegion) .build() @@ -2089,6 +2154,8 @@ extension SMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms") .withSigningRegion(value: config.signingRegion) .build() @@ -2164,6 +2231,8 @@ extension SMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms") .withSigningRegion(value: config.signingRegion) .build() @@ -2239,6 +2308,8 @@ extension SMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms") .withSigningRegion(value: config.signingRegion) .build() @@ -2314,6 +2385,8 @@ extension SMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms") .withSigningRegion(value: config.signingRegion) .build() @@ -2389,6 +2462,8 @@ extension SMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms") .withSigningRegion(value: config.signingRegion) .build() @@ -2464,6 +2539,8 @@ extension SMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms") .withSigningRegion(value: config.signingRegion) .build() @@ -2539,6 +2616,8 @@ extension SMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms") .withSigningRegion(value: config.signingRegion) .build() @@ -2615,6 +2694,8 @@ extension SMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms") .withSigningRegion(value: config.signingRegion) .build() @@ -2690,6 +2771,8 @@ extension SMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms") .withSigningRegion(value: config.signingRegion) .build() @@ -2765,6 +2848,8 @@ extension SMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms") .withSigningRegion(value: config.signingRegion) .build() @@ -2840,6 +2925,8 @@ extension SMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms") .withSigningRegion(value: config.signingRegion) .build() @@ -2918,6 +3005,8 @@ extension SMSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sms") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSNS/Package.swift.txt b/Sources/Services/AWSSNS/Package.swift.txt index 418bd9885e0..603c3112312 100644 --- a/Sources/Services/AWSSNS/Package.swift.txt +++ b/Sources/Services/AWSSNS/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSNS/Sources/AWSSNS/SNSClient.swift b/Sources/Services/AWSSNS/Sources/AWSSNS/SNSClient.swift index eea1903d94d..43b62c86ef9 100644 --- a/Sources/Services/AWSSNS/Sources/AWSSNS/SNSClient.swift +++ b/Sources/Services/AWSSNS/Sources/AWSSNS/SNSClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPRequest import class SmithyHTTPAPI.HTTPResponse import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -62,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SNSClient: ClientRuntime.Client { public static let clientName = "SNSClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SNSClient.SNSClientConfiguration let serviceName = "SNS" @@ -92,6 +93,8 @@ extension SNSClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -117,6 +120,8 @@ extension SNSClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -140,6 +145,8 @@ extension SNSClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -166,6 +173,8 @@ extension SNSClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -190,6 +199,8 @@ extension SNSClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -216,6 +227,8 @@ extension SNSClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -240,6 +253,8 @@ extension SNSClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -267,6 +282,8 @@ extension SNSClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -294,6 +311,8 @@ extension SNSClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -368,6 +387,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -441,6 +462,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -517,6 +540,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -608,6 +633,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -681,6 +708,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -756,6 +785,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -834,6 +865,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -906,6 +939,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -978,6 +1013,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -1053,6 +1090,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -1130,6 +1169,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -1204,6 +1245,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -1277,6 +1320,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -1350,6 +1395,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -1423,6 +1470,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -1495,6 +1544,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -1568,6 +1619,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -1642,6 +1695,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -1715,6 +1770,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -1789,6 +1846,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -1862,6 +1921,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -1934,6 +1995,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -2008,6 +2071,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -2080,6 +2145,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -2153,6 +2220,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -2227,6 +2296,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -2299,6 +2370,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -2372,6 +2445,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -2456,6 +2531,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -2545,6 +2622,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -2619,6 +2698,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -2692,6 +2773,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -2765,6 +2848,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -2838,6 +2923,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -2911,6 +2998,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -2986,6 +3075,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -3060,6 +3151,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -3137,6 +3230,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -3223,6 +3318,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -3297,6 +3394,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -3373,6 +3472,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() @@ -3448,6 +3549,8 @@ extension SNSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sns") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSQS/Package.swift.txt b/Sources/Services/AWSSQS/Package.swift.txt index 067fd3b6b11..ddf54a0d9e2 100644 --- a/Sources/Services/AWSSQS/Package.swift.txt +++ b/Sources/Services/AWSSQS/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSQS/Sources/AWSSQS/SQSClient.swift b/Sources/Services/AWSSQS/Sources/AWSSQS/SQSClient.swift index 91eccf8955c..9bd4a155681 100644 --- a/Sources/Services/AWSSQS/Sources/AWSSQS/SQSClient.swift +++ b/Sources/Services/AWSSQS/Sources/AWSSQS/SQSClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SQSClient: ClientRuntime.Client { public static let clientName = "SQSClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SQSClient.SQSClientConfiguration let serviceName = "SQS" @@ -94,6 +95,8 @@ extension SQSClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension SQSClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension SQSClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension SQSClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension SQSClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension SQSClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension SQSClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension SQSClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension SQSClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -387,6 +406,8 @@ extension SQSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() @@ -471,6 +492,8 @@ extension SQSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() @@ -562,6 +585,8 @@ extension SQSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() @@ -646,6 +671,8 @@ extension SQSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() @@ -745,6 +772,8 @@ extension SQSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() @@ -827,6 +856,8 @@ extension SQSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() @@ -911,6 +942,8 @@ extension SQSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() @@ -991,6 +1024,8 @@ extension SQSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() @@ -1072,6 +1107,8 @@ extension SQSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() @@ -1152,6 +1189,8 @@ extension SQSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() @@ -1232,6 +1271,8 @@ extension SQSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() @@ -1316,6 +1357,8 @@ extension SQSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() @@ -1396,6 +1439,8 @@ extension SQSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() @@ -1475,6 +1520,8 @@ extension SQSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() @@ -1556,6 +1603,8 @@ extension SQSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() @@ -1663,6 +1712,8 @@ extension SQSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() @@ -1749,6 +1800,8 @@ extension SQSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() @@ -1841,6 +1894,8 @@ extension SQSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() @@ -1937,6 +1992,8 @@ extension SQSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() @@ -2026,6 +2083,8 @@ extension SQSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() @@ -2112,6 +2171,8 @@ extension SQSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() @@ -2203,6 +2264,8 @@ extension SQSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() @@ -2283,6 +2346,8 @@ extension SQSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sqs") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSSM/Package.swift.txt b/Sources/Services/AWSSSM/Package.swift.txt index 77e42f1adaf..db472d12a5f 100644 --- a/Sources/Services/AWSSSM/Package.swift.txt +++ b/Sources/Services/AWSSSM/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSSM/Sources/AWSSSM/SSMClient.swift b/Sources/Services/AWSSSM/Sources/AWSSSM/SSMClient.swift index fd68c198a75..2a6d24d8d40 100644 --- a/Sources/Services/AWSSSM/Sources/AWSSSM/SSMClient.swift +++ b/Sources/Services/AWSSSM/Sources/AWSSSM/SSMClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SSMClient: ClientRuntime.Client { public static let clientName = "SSMClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SSMClient.SSMClientConfiguration let serviceName = "SSM" @@ -95,6 +96,8 @@ extension SSMClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension SSMClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension SSMClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension SSMClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension SSMClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension SSMClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension SSMClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension SSMClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension SSMClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -387,6 +406,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -463,6 +484,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -545,6 +568,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -617,6 +642,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -689,6 +716,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -780,6 +809,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -870,6 +901,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -946,6 +979,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -1019,6 +1054,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -1095,6 +1132,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -1170,6 +1209,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -1243,6 +1284,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -1318,6 +1361,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -1392,6 +1437,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -1475,6 +1522,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -1549,6 +1598,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -1624,6 +1675,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -1696,6 +1749,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -1776,6 +1831,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -1849,6 +1906,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -1921,6 +1980,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -1992,6 +2053,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -2064,6 +2127,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -2137,6 +2202,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -2217,6 +2284,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -2297,6 +2366,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -2369,6 +2440,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -2442,6 +2515,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -2514,6 +2589,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -2587,6 +2664,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -2670,6 +2749,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -2744,6 +2825,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -2817,6 +2900,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -2891,6 +2976,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -2966,6 +3053,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -3037,6 +3126,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -3110,6 +3201,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -3185,6 +3278,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -3266,6 +3361,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -3340,6 +3437,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -3421,6 +3520,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -3504,6 +3605,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -3576,6 +3679,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -3649,6 +3754,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -3731,6 +3838,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -3816,6 +3925,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -3889,6 +4000,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -3961,6 +4074,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -4033,6 +4148,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -4104,6 +4221,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -4176,6 +4295,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -4248,6 +4369,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -4320,6 +4443,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -4391,6 +4516,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -4462,6 +4589,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -4533,6 +4662,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -4608,6 +4739,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -4679,6 +4812,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -4751,6 +4886,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -4822,6 +4959,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -4893,6 +5032,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -4966,6 +5107,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -5041,6 +5184,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -5113,6 +5258,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -5187,6 +5334,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -5270,6 +5419,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -5341,6 +5492,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -5412,6 +5565,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -5485,6 +5640,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -5558,6 +5715,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -5630,6 +5789,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -5707,6 +5868,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -5780,6 +5943,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -5852,6 +6017,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -5924,6 +6091,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -5996,6 +6165,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -6068,6 +6239,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -6140,6 +6313,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -6213,6 +6388,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -6286,6 +6463,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -6362,6 +6541,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -6436,6 +6617,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -6510,6 +6693,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -6582,6 +6767,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -6658,6 +6845,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -6731,6 +6920,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -6802,6 +6993,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -6875,6 +7068,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -6947,6 +7142,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -7038,6 +7235,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -7111,6 +7310,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -7183,6 +7384,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -7266,6 +7469,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -7349,6 +7554,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -7424,6 +7631,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -7497,6 +7706,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -7571,6 +7782,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -7644,6 +7857,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -7717,6 +7932,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -7800,6 +8017,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -7875,6 +8094,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -7951,6 +8172,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -8025,6 +8248,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -8097,6 +8322,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -8169,6 +8396,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -8242,6 +8471,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -8315,6 +8546,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -8388,6 +8621,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -8463,6 +8698,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -8570,6 +8807,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -8660,6 +8899,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -8745,6 +8986,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -8826,6 +9069,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -8899,6 +9144,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -8974,6 +9221,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -9048,6 +9297,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -9124,6 +9375,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -9199,6 +9452,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -9272,6 +9527,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -9344,6 +9601,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -9418,6 +9677,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -9507,6 +9768,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -9579,6 +9842,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -9656,6 +9921,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -9733,6 +10000,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -9805,6 +10074,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -9878,6 +10149,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -9951,6 +10224,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -10022,6 +10297,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -10096,6 +10373,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -10179,6 +10458,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -10263,6 +10544,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -10343,6 +10626,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -10417,6 +10702,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -10491,6 +10778,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -10563,6 +10852,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -10650,6 +10941,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -10737,6 +11030,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -10817,6 +11112,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -10894,6 +11191,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -10969,6 +11268,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -11041,6 +11342,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -11115,6 +11418,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() @@ -11188,6 +11493,8 @@ extension SSMClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSSMContacts/Package.swift.txt b/Sources/Services/AWSSSMContacts/Package.swift.txt index 3eae3796fb6..29c21015b34 100644 --- a/Sources/Services/AWSSSMContacts/Package.swift.txt +++ b/Sources/Services/AWSSSMContacts/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSSMContacts/Sources/AWSSSMContacts/SSMContactsClient.swift b/Sources/Services/AWSSSMContacts/Sources/AWSSSMContacts/SSMContactsClient.swift index 888ac15513d..15d0d67e99f 100644 --- a/Sources/Services/AWSSSMContacts/Sources/AWSSSMContacts/SSMContactsClient.swift +++ b/Sources/Services/AWSSSMContacts/Sources/AWSSSMContacts/SSMContactsClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SSMContactsClient: ClientRuntime.Client { public static let clientName = "SSMContactsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SSMContactsClient.SSMContactsClientConfiguration let serviceName = "SSM Contacts" @@ -95,6 +96,8 @@ extension SSMContactsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension SSMContactsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension SSMContactsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension SSMContactsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension SSMContactsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension SSMContactsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension SSMContactsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension SSMContactsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension SSMContactsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -447,6 +468,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -524,6 +547,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -601,6 +626,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -678,6 +705,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -754,6 +783,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -829,6 +860,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -905,6 +938,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -980,6 +1015,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -1056,6 +1093,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -1131,6 +1170,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -1207,6 +1248,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -1283,6 +1326,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -1359,6 +1404,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -1435,6 +1482,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -1510,6 +1559,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -1585,6 +1636,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -1660,6 +1713,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -1736,6 +1791,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -1810,6 +1867,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -1884,6 +1943,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -1959,6 +2020,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -2034,6 +2097,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -2109,6 +2174,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -2184,6 +2251,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -2258,6 +2327,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -2333,6 +2404,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -2409,6 +2482,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -2484,6 +2559,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -2559,6 +2636,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -2635,6 +2714,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -2712,6 +2793,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -2788,6 +2871,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -2864,6 +2949,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -2940,6 +3027,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -3015,6 +3104,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -3092,6 +3183,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -3169,6 +3262,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() @@ -3245,6 +3340,8 @@ extension SSMContactsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-contacts") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSSMIncidents/Package.swift.txt b/Sources/Services/AWSSSMIncidents/Package.swift.txt index 2e9d9645b6d..86c3656303e 100644 --- a/Sources/Services/AWSSSMIncidents/Package.swift.txt +++ b/Sources/Services/AWSSSMIncidents/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSSMIncidents/Sources/AWSSSMIncidents/SSMIncidentsClient.swift b/Sources/Services/AWSSSMIncidents/Sources/AWSSSMIncidents/SSMIncidentsClient.swift index 346206631ee..50667dbae41 100644 --- a/Sources/Services/AWSSSMIncidents/Sources/AWSSSMIncidents/SSMIncidentsClient.swift +++ b/Sources/Services/AWSSSMIncidents/Sources/AWSSSMIncidents/SSMIncidentsClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SSMIncidentsClient: ClientRuntime.Client { public static let clientName = "SSMIncidentsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SSMIncidentsClient.SSMIncidentsClientConfiguration let serviceName = "SSM Incidents" @@ -95,6 +96,8 @@ extension SSMIncidentsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension SSMIncidentsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension SSMIncidentsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension SSMIncidentsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension SSMIncidentsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension SSMIncidentsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension SSMIncidentsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension SSMIncidentsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension SSMIncidentsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension SSMIncidentsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-incidents") .withSigningRegion(value: config.signingRegion) .build() @@ -447,6 +468,8 @@ extension SSMIncidentsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-incidents") .withSigningRegion(value: config.signingRegion) .build() @@ -523,6 +546,8 @@ extension SSMIncidentsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-incidents") .withSigningRegion(value: config.signingRegion) .build() @@ -599,6 +624,8 @@ extension SSMIncidentsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-incidents") .withSigningRegion(value: config.signingRegion) .build() @@ -673,6 +700,8 @@ extension SSMIncidentsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-incidents") .withSigningRegion(value: config.signingRegion) .build() @@ -747,6 +776,8 @@ extension SSMIncidentsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-incidents") .withSigningRegion(value: config.signingRegion) .build() @@ -819,6 +850,8 @@ extension SSMIncidentsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-incidents") .withSigningRegion(value: config.signingRegion) .build() @@ -892,6 +925,8 @@ extension SSMIncidentsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-incidents") .withSigningRegion(value: config.signingRegion) .build() @@ -965,6 +1000,8 @@ extension SSMIncidentsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-incidents") .withSigningRegion(value: config.signingRegion) .build() @@ -1039,6 +1076,8 @@ extension SSMIncidentsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-incidents") .withSigningRegion(value: config.signingRegion) .build() @@ -1111,6 +1150,8 @@ extension SSMIncidentsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-incidents") .withSigningRegion(value: config.signingRegion) .build() @@ -1183,6 +1224,8 @@ extension SSMIncidentsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-incidents") .withSigningRegion(value: config.signingRegion) .build() @@ -1258,6 +1301,8 @@ extension SSMIncidentsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-incidents") .withSigningRegion(value: config.signingRegion) .build() @@ -1330,6 +1375,8 @@ extension SSMIncidentsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-incidents") .withSigningRegion(value: config.signingRegion) .build() @@ -1402,6 +1449,8 @@ extension SSMIncidentsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-incidents") .withSigningRegion(value: config.signingRegion) .build() @@ -1475,6 +1524,8 @@ extension SSMIncidentsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-incidents") .withSigningRegion(value: config.signingRegion) .build() @@ -1548,6 +1599,8 @@ extension SSMIncidentsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-incidents") .withSigningRegion(value: config.signingRegion) .build() @@ -1621,6 +1674,8 @@ extension SSMIncidentsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-incidents") .withSigningRegion(value: config.signingRegion) .build() @@ -1694,6 +1749,8 @@ extension SSMIncidentsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-incidents") .withSigningRegion(value: config.signingRegion) .build() @@ -1768,6 +1825,8 @@ extension SSMIncidentsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-incidents") .withSigningRegion(value: config.signingRegion) .build() @@ -1838,6 +1897,8 @@ extension SSMIncidentsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-incidents") .withSigningRegion(value: config.signingRegion) .build() @@ -1912,6 +1973,8 @@ extension SSMIncidentsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-incidents") .withSigningRegion(value: config.signingRegion) .build() @@ -1987,6 +2050,8 @@ extension SSMIncidentsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-incidents") .withSigningRegion(value: config.signingRegion) .build() @@ -2064,6 +2129,8 @@ extension SSMIncidentsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-incidents") .withSigningRegion(value: config.signingRegion) .build() @@ -2139,6 +2206,8 @@ extension SSMIncidentsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-incidents") .withSigningRegion(value: config.signingRegion) .build() @@ -2211,6 +2280,8 @@ extension SSMIncidentsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-incidents") .withSigningRegion(value: config.signingRegion) .build() @@ -2287,6 +2358,8 @@ extension SSMIncidentsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-incidents") .withSigningRegion(value: config.signingRegion) .build() @@ -2363,6 +2436,8 @@ extension SSMIncidentsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-incidents") .withSigningRegion(value: config.signingRegion) .build() @@ -2439,6 +2514,8 @@ extension SSMIncidentsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-incidents") .withSigningRegion(value: config.signingRegion) .build() @@ -2515,6 +2592,8 @@ extension SSMIncidentsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-incidents") .withSigningRegion(value: config.signingRegion) .build() @@ -2591,6 +2670,8 @@ extension SSMIncidentsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-incidents") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSSMQuickSetup/Package.swift.txt b/Sources/Services/AWSSSMQuickSetup/Package.swift.txt index b2e69fdf439..b73537ec063 100644 --- a/Sources/Services/AWSSSMQuickSetup/Package.swift.txt +++ b/Sources/Services/AWSSSMQuickSetup/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSSMQuickSetup/Sources/AWSSSMQuickSetup/SSMQuickSetupClient.swift b/Sources/Services/AWSSSMQuickSetup/Sources/AWSSSMQuickSetup/SSMQuickSetupClient.swift index 9e962db2336..97486794541 100644 --- a/Sources/Services/AWSSSMQuickSetup/Sources/AWSSSMQuickSetup/SSMQuickSetupClient.swift +++ b/Sources/Services/AWSSSMQuickSetup/Sources/AWSSSMQuickSetup/SSMQuickSetupClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SSMQuickSetupClient: ClientRuntime.Client { public static let clientName = "SSMQuickSetupClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SSMQuickSetupClient.SSMQuickSetupClientConfiguration let serviceName = "SSM QuickSetup" @@ -94,6 +95,8 @@ extension SSMQuickSetupClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension SSMQuickSetupClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension SSMQuickSetupClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension SSMQuickSetupClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension SSMQuickSetupClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension SSMQuickSetupClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension SSMQuickSetupClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension SSMQuickSetupClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension SSMQuickSetupClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension SSMQuickSetupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-quicksetup") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension SSMQuickSetupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-quicksetup") .withSigningRegion(value: config.signingRegion) .build() @@ -518,6 +541,8 @@ extension SSMQuickSetupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-quicksetup") .withSigningRegion(value: config.signingRegion) .build() @@ -590,6 +615,8 @@ extension SSMQuickSetupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-quicksetup") .withSigningRegion(value: config.signingRegion) .build() @@ -660,6 +687,8 @@ extension SSMQuickSetupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-quicksetup") .withSigningRegion(value: config.signingRegion) .build() @@ -731,6 +760,8 @@ extension SSMQuickSetupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-quicksetup") .withSigningRegion(value: config.signingRegion) .build() @@ -805,6 +836,8 @@ extension SSMQuickSetupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-quicksetup") .withSigningRegion(value: config.signingRegion) .build() @@ -878,6 +911,8 @@ extension SSMQuickSetupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-quicksetup") .withSigningRegion(value: config.signingRegion) .build() @@ -950,6 +985,8 @@ extension SSMQuickSetupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-quicksetup") .withSigningRegion(value: config.signingRegion) .build() @@ -1022,6 +1059,8 @@ extension SSMQuickSetupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-quicksetup") .withSigningRegion(value: config.signingRegion) .build() @@ -1097,6 +1136,8 @@ extension SSMQuickSetupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-quicksetup") .withSigningRegion(value: config.signingRegion) .build() @@ -1170,6 +1211,8 @@ extension SSMQuickSetupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-quicksetup") .withSigningRegion(value: config.signingRegion) .build() @@ -1245,6 +1288,8 @@ extension SSMQuickSetupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-quicksetup") .withSigningRegion(value: config.signingRegion) .build() @@ -1319,6 +1364,8 @@ extension SSMQuickSetupClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-quicksetup") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSSO/Package.swift.txt b/Sources/Services/AWSSSO/Package.swift.txt index 45826b31c0f..8ad09d6c76e 100644 --- a/Sources/Services/AWSSSO/Package.swift.txt +++ b/Sources/Services/AWSSSO/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSSO/Sources/AWSSSO/SSOClient.swift b/Sources/Services/AWSSSO/Sources/AWSSSO/SSOClient.swift index 98b825440e9..2f37cf3f752 100644 --- a/Sources/Services/AWSSSO/Sources/AWSSSO/SSOClient.swift +++ b/Sources/Services/AWSSSO/Sources/AWSSSO/SSOClient.swift @@ -21,6 +21,7 @@ import class SmithyHTTPAPI.HTTPRequest import class SmithyHTTPAPI.HTTPResponse import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -59,7 +60,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SSOClient: ClientRuntime.Client { public static let clientName = "SSOClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SSOClient.SSOClientConfiguration let serviceName = "SSO" @@ -89,6 +90,8 @@ extension SSOClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -114,6 +117,8 @@ extension SSOClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -137,6 +142,8 @@ extension SSOClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -163,6 +170,8 @@ extension SSOClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -187,6 +196,8 @@ extension SSOClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -213,6 +224,8 @@ extension SSOClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -237,6 +250,8 @@ extension SSOClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -264,6 +279,8 @@ extension SSOClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -291,6 +308,8 @@ extension SSOClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -365,6 +384,8 @@ extension SSOClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -435,6 +456,8 @@ extension SSOClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -505,6 +528,8 @@ extension SSOClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -574,6 +599,8 @@ extension SSOClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in diff --git a/Sources/Services/AWSSSOAdmin/Package.swift.txt b/Sources/Services/AWSSSOAdmin/Package.swift.txt index abc6ed2c113..381d7350989 100644 --- a/Sources/Services/AWSSSOAdmin/Package.swift.txt +++ b/Sources/Services/AWSSSOAdmin/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSSOAdmin/Sources/AWSSSOAdmin/SSOAdminClient.swift b/Sources/Services/AWSSSOAdmin/Sources/AWSSSOAdmin/SSOAdminClient.swift index 0a839185e11..46ac10e7270 100644 --- a/Sources/Services/AWSSSOAdmin/Sources/AWSSSOAdmin/SSOAdminClient.swift +++ b/Sources/Services/AWSSSOAdmin/Sources/AWSSSOAdmin/SSOAdminClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SSOAdminClient: ClientRuntime.Client { public static let clientName = "SSOAdminClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SSOAdminClient.SSOAdminClientConfiguration let serviceName = "SSO Admin" @@ -95,6 +96,8 @@ extension SSOAdminClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension SSOAdminClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension SSOAdminClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension SSOAdminClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension SSOAdminClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension SSOAdminClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension SSOAdminClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension SSOAdminClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension SSOAdminClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -451,6 +472,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -528,6 +551,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -605,6 +630,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -683,6 +710,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -763,6 +792,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -840,6 +871,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -917,6 +950,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -993,6 +1028,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -1070,6 +1107,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -1146,6 +1185,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -1222,6 +1263,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -1298,6 +1341,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -1374,6 +1419,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -1450,6 +1497,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -1526,6 +1575,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -1601,6 +1652,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -1677,6 +1730,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -1753,6 +1808,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -1829,6 +1886,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -1905,6 +1964,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -1980,6 +2041,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -2055,6 +2118,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -2130,6 +2195,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -2205,6 +2272,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -2280,6 +2349,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -2360,6 +2431,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -2435,6 +2508,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -2510,6 +2585,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -2585,6 +2662,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -2660,6 +2739,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -2736,6 +2817,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -2812,6 +2895,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -2887,6 +2972,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -2962,6 +3049,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -3037,6 +3126,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -3112,6 +3203,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -3187,6 +3280,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -3262,6 +3357,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -3337,6 +3434,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -3412,6 +3511,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -3487,6 +3588,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -3562,6 +3665,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -3637,6 +3742,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -3712,6 +3819,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -3787,6 +3896,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -3862,6 +3973,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -3937,6 +4050,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -4012,6 +4127,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -4086,6 +4203,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -4160,6 +4279,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -4235,6 +4356,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -4309,6 +4432,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -4384,6 +4509,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -4459,6 +4586,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -4534,6 +4663,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -4609,6 +4740,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -4684,6 +4817,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -4758,6 +4893,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -4834,6 +4971,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -4910,6 +5049,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -4986,6 +5127,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -5062,6 +5205,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -5138,6 +5283,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -5215,6 +5362,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -5291,6 +5440,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -5368,6 +5519,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -5444,6 +5597,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -5520,6 +5675,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -5595,6 +5752,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -5671,6 +5830,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -5747,6 +5908,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() @@ -5823,6 +5986,8 @@ extension SSOAdminClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSSOOIDC/Package.swift.txt b/Sources/Services/AWSSSOOIDC/Package.swift.txt index a59e6c99abf..975ef20d097 100644 --- a/Sources/Services/AWSSSOOIDC/Package.swift.txt +++ b/Sources/Services/AWSSSOOIDC/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSSOOIDC/Sources/AWSSSOOIDC/SSOOIDCClient.swift b/Sources/Services/AWSSSOOIDC/Sources/AWSSSOOIDC/SSOOIDCClient.swift index 1a15480495b..6658d0f5589 100644 --- a/Sources/Services/AWSSSOOIDC/Sources/AWSSSOOIDC/SSOOIDCClient.swift +++ b/Sources/Services/AWSSSOOIDC/Sources/AWSSSOOIDC/SSOOIDCClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SSOOIDCClient: ClientRuntime.Client { public static let clientName = "SSOOIDCClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SSOOIDCClient.SSOOIDCClientConfiguration let serviceName = "SSO OIDC" @@ -93,6 +94,8 @@ extension SSOOIDCClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension SSOOIDCClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension SSOOIDCClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension SSOOIDCClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension SSOOIDCClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension SSOOIDCClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension SSOOIDCClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension SSOOIDCClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension SSOOIDCClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -376,6 +395,8 @@ extension SSOOIDCClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -455,6 +476,8 @@ extension SSOOIDCClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sso-oauth") .withSigningRegion(value: config.signingRegion) .build() @@ -531,6 +554,8 @@ extension SSOOIDCClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -603,6 +628,8 @@ extension SSOOIDCClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in diff --git a/Sources/Services/AWSSTS/Package.swift.txt b/Sources/Services/AWSSTS/Package.swift.txt index 6ef6d52895c..44d0fb22048 100644 --- a/Sources/Services/AWSSTS/Package.swift.txt +++ b/Sources/Services/AWSSTS/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSTS/Sources/AWSSTS/Models.swift b/Sources/Services/AWSSTS/Sources/AWSSTS/Models.swift index a38a4ce6bf9..abf85337b14 100644 --- a/Sources/Services/AWSSTS/Sources/AWSSTS/Models.swift +++ b/Sources/Services/AWSSTS/Sources/AWSSTS/Models.swift @@ -1458,6 +1458,8 @@ extension GetCallerIdentityInput { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sts") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSTS/Sources/AWSSTS/STSClient.swift b/Sources/Services/AWSSTS/Sources/AWSSTS/STSClient.swift index 65cbe3e884b..0a6a6e6db81 100644 --- a/Sources/Services/AWSSTS/Sources/AWSSTS/STSClient.swift +++ b/Sources/Services/AWSSTS/Sources/AWSSTS/STSClient.swift @@ -26,6 +26,7 @@ import class SmithyHTTPAPI.HTTPRequest import class SmithyHTTPAPI.HTTPResponse import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -67,7 +68,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class STSClient: ClientRuntime.Client { public static let clientName = "STSClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: STSClient.STSClientConfiguration let serviceName = "STS" @@ -97,6 +98,8 @@ extension STSClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -123,6 +126,8 @@ extension STSClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -147,6 +152,8 @@ extension STSClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -174,6 +181,8 @@ extension STSClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -199,6 +208,8 @@ extension STSClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -226,6 +237,8 @@ extension STSClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -251,6 +264,8 @@ extension STSClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -279,6 +294,8 @@ extension STSClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -307,6 +324,8 @@ extension STSClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -389,6 +408,8 @@ extension STSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sts") .withSigningRegion(value: config.signingRegion) .build() @@ -472,6 +493,8 @@ extension STSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -550,6 +573,8 @@ extension STSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .build() let builder = ClientRuntime.OrchestratorBuilder() config.interceptorProviders.forEach { provider in @@ -619,6 +644,8 @@ extension STSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sts") .withSigningRegion(value: config.signingRegion) .build() @@ -699,6 +726,8 @@ extension STSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sts") .withSigningRegion(value: config.signingRegion) .build() @@ -764,6 +793,8 @@ extension STSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sts") .withSigningRegion(value: config.signingRegion) .build() @@ -829,6 +860,8 @@ extension STSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sts") .withSigningRegion(value: config.signingRegion) .build() @@ -908,6 +941,8 @@ extension STSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sts") .withSigningRegion(value: config.signingRegion) .build() @@ -985,6 +1020,8 @@ extension STSClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sts") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSWF/Package.swift.txt b/Sources/Services/AWSSWF/Package.swift.txt index ffb864e11f0..e01bfb8fd50 100644 --- a/Sources/Services/AWSSWF/Package.swift.txt +++ b/Sources/Services/AWSSWF/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSWF/Sources/AWSSWF/SWFClient.swift b/Sources/Services/AWSSWF/Sources/AWSSWF/SWFClient.swift index ac19c9e1819..1d5663e416f 100644 --- a/Sources/Services/AWSSWF/Sources/AWSSWF/SWFClient.swift +++ b/Sources/Services/AWSSWF/Sources/AWSSWF/SWFClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SWFClient: ClientRuntime.Client { public static let clientName = "SWFClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SWFClient.SWFClientConfiguration let serviceName = "SWF" @@ -94,6 +95,8 @@ extension SWFClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension SWFClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension SWFClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension SWFClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension SWFClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension SWFClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension SWFClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension SWFClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension SWFClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -386,6 +405,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -476,6 +497,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -557,6 +580,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -638,6 +663,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -727,6 +754,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -816,6 +845,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -905,6 +936,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -987,6 +1020,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -1076,6 +1111,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -1164,6 +1201,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -1245,6 +1284,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -1326,6 +1367,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -1414,6 +1457,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -1495,6 +1540,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -1576,6 +1623,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -1666,6 +1715,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -1746,6 +1797,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -1836,6 +1889,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -1909,6 +1964,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -1990,6 +2047,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -2072,6 +2131,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -2154,6 +2215,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -2235,6 +2298,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -2327,6 +2392,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -2410,6 +2477,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -2502,6 +2571,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -2583,6 +2654,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -2664,6 +2737,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -2745,6 +2820,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -2826,6 +2903,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -2898,6 +2977,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -2979,6 +3060,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -3083,6 +3166,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -3157,6 +3242,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -3238,6 +3325,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -3327,6 +3416,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -3409,6 +3500,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -3498,6 +3591,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() @@ -3571,6 +3666,8 @@ extension SWFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "swf") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSageMaker/Package.swift.txt b/Sources/Services/AWSSageMaker/Package.swift.txt index 7b7a5a5541a..5776dd2c8e8 100644 --- a/Sources/Services/AWSSageMaker/Package.swift.txt +++ b/Sources/Services/AWSSageMaker/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/Models.swift b/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/Models.swift index 5e7ff78e959..f5ded50c921 100644 --- a/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/Models.swift +++ b/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/Models.swift @@ -34713,6 +34713,7 @@ extension SageMakerClientTypes { case mlP5en48xlarge case mlP5e48xlarge case mlP548xlarge + case mlTrn132xlarge case mlTrn248xlarge case sdkUnknown(Swift.String) @@ -34722,6 +34723,7 @@ extension SageMakerClientTypes { .mlP5en48xlarge, .mlP5e48xlarge, .mlP548xlarge, + .mlTrn132xlarge, .mlTrn248xlarge ] } @@ -34737,6 +34739,7 @@ extension SageMakerClientTypes { case .mlP5en48xlarge: return "ml.p5en.48xlarge" case .mlP5e48xlarge: return "ml.p5e.48xlarge" case .mlP548xlarge: return "ml.p5.48xlarge" + case .mlTrn132xlarge: return "ml.trn1.32xlarge" case .mlTrn248xlarge: return "ml.trn2.48xlarge" case let .sdkUnknown(s): return s } diff --git a/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/SageMakerClient.swift b/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/SageMakerClient.swift index 841bd03ae59..a68be52fe2e 100644 --- a/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/SageMakerClient.swift +++ b/Sources/Services/AWSSageMaker/Sources/AWSSageMaker/SageMakerClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SageMakerClient: ClientRuntime.Client { public static let clientName = "SageMakerClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SageMakerClient.SageMakerClientConfiguration let serviceName = "SageMaker" @@ -95,6 +96,8 @@ extension SageMakerClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension SageMakerClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension SageMakerClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension SageMakerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension SageMakerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension SageMakerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension SageMakerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension SageMakerClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension SageMakerClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -369,6 +388,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -435,6 +456,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -507,6 +530,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -582,6 +607,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -648,6 +675,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -719,6 +748,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -785,6 +816,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -857,6 +890,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -928,6 +963,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -999,6 +1036,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1071,6 +1110,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1143,6 +1184,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1215,6 +1258,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1287,6 +1332,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1353,6 +1400,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1436,6 +1485,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1508,6 +1559,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1579,6 +1632,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1651,6 +1706,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1723,6 +1780,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1802,6 +1861,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1873,6 +1934,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -1944,6 +2007,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2015,6 +2080,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2090,6 +2157,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2161,6 +2230,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2232,6 +2303,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2304,6 +2377,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2376,6 +2451,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2448,6 +2525,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2521,6 +2600,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2593,6 +2674,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2665,6 +2748,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2737,6 +2822,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2810,6 +2897,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2882,6 +2971,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -2954,6 +3045,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -3026,6 +3119,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -3107,6 +3202,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -3178,6 +3275,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -3249,6 +3348,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -3321,6 +3422,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -3393,6 +3496,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -3466,6 +3571,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -3538,6 +3645,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -3614,6 +3723,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -3686,6 +3797,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -3758,6 +3871,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -3830,6 +3945,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -3910,6 +4027,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -3981,6 +4100,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -4053,6 +4174,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -4125,6 +4248,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -4197,6 +4322,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -4270,6 +4397,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -4346,6 +4475,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -4417,6 +4548,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -4483,6 +4616,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -4556,6 +4691,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -4627,6 +4764,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -4699,6 +4838,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -4770,6 +4911,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -4866,6 +5009,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -4966,6 +5111,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -5052,6 +5199,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -5124,6 +5273,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -5195,6 +5346,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -5267,6 +5420,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -5333,6 +5488,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -5405,6 +5562,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -5476,6 +5635,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -5547,6 +5708,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -5619,6 +5782,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -5690,6 +5855,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -5761,6 +5928,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -5832,6 +6001,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -5904,6 +6075,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -5975,6 +6148,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -6041,6 +6216,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -6112,6 +6289,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -6183,6 +6362,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -6254,6 +6435,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -6325,6 +6508,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -6396,6 +6581,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -6468,6 +6655,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -6539,6 +6728,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -6610,6 +6801,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -6676,6 +6869,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -6742,6 +6937,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -6813,6 +7010,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -6884,6 +7083,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -6956,6 +7157,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -7028,6 +7231,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -7100,6 +7305,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -7171,6 +7378,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -7242,6 +7451,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -7308,6 +7519,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -7380,6 +7593,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -7452,6 +7667,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -7518,6 +7735,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -7590,6 +7809,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -7661,6 +7882,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -7727,6 +7950,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -7798,6 +8023,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -7870,6 +8097,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -7941,6 +8170,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -8012,6 +8243,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -8083,6 +8316,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -8149,6 +8384,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -8220,6 +8457,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -8291,6 +8530,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -8357,6 +8598,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -8423,6 +8666,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -8494,6 +8739,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -8566,6 +8813,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -8639,6 +8888,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -8711,6 +8962,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -8783,6 +9036,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -8855,6 +9110,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -8921,6 +9178,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -8992,6 +9251,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -9063,6 +9324,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -9135,6 +9398,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -9201,6 +9466,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -9272,6 +9539,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -9338,6 +9607,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -9409,6 +9680,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -9475,6 +9748,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -9546,6 +9821,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -9617,6 +9894,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -9688,6 +9967,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -9759,6 +10040,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -9830,6 +10113,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -9901,6 +10186,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -9972,6 +10259,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -10043,6 +10332,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -10109,6 +10400,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -10180,6 +10473,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -10251,6 +10546,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -10322,6 +10619,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -10393,6 +10692,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -10464,6 +10765,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -10535,6 +10838,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -10606,6 +10911,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -10677,6 +10984,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -10748,6 +11057,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -10814,6 +11125,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -10880,6 +11193,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -10951,6 +11266,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -11022,6 +11339,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -11093,6 +11412,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -11164,6 +11485,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -11235,6 +11558,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -11306,6 +11631,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -11377,6 +11704,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -11448,6 +11777,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -11519,6 +11850,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -11590,6 +11923,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -11656,6 +11991,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -11727,6 +12064,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -11798,6 +12137,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -11869,6 +12210,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -11940,6 +12283,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -12011,6 +12356,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -12077,6 +12424,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -12148,6 +12497,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -12219,6 +12570,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -12290,6 +12643,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -12361,6 +12716,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -12427,6 +12784,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -12493,6 +12852,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -12564,6 +12925,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -12635,6 +12998,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -12701,6 +13066,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -12767,6 +13134,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -12838,6 +13207,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -12909,6 +13280,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -12980,6 +13353,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -13051,6 +13426,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -13122,6 +13499,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -13193,6 +13572,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -13259,6 +13640,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -13330,6 +13713,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -13401,6 +13786,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -13467,6 +13854,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -13538,6 +13927,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -13609,6 +14000,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -13680,6 +14073,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -13751,6 +14146,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -13822,6 +14219,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -13894,6 +14293,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -13960,6 +14361,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -14026,6 +14429,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -14092,6 +14497,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -14163,6 +14570,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -14229,6 +14638,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -14295,6 +14706,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -14366,6 +14779,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -14432,6 +14847,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -14498,6 +14915,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -14569,6 +14988,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -14635,6 +15056,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -14708,6 +15131,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -14779,6 +15204,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -14845,6 +15272,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -14916,6 +15345,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -14982,6 +15413,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -15048,6 +15481,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -15119,6 +15554,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -15190,6 +15627,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -15256,6 +15695,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -15327,6 +15768,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -15398,6 +15841,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -15464,6 +15909,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -15530,6 +15977,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -15596,6 +16045,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -15662,6 +16113,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -15728,6 +16181,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -15799,6 +16254,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -15865,6 +16322,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -15931,6 +16390,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -15997,6 +16458,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -16063,6 +16526,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -16129,6 +16594,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -16195,6 +16662,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -16261,6 +16730,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -16327,6 +16798,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -16393,6 +16866,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -16459,6 +16934,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -16525,6 +17002,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -16596,6 +17075,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -16667,6 +17148,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -16733,6 +17216,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -16799,6 +17284,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -16865,6 +17352,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -16936,6 +17425,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -17002,6 +17493,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -17068,6 +17561,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -17134,6 +17629,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -17205,6 +17702,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -17271,6 +17770,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -17337,6 +17838,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -17408,6 +17911,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -17474,6 +17979,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -17540,6 +18047,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -17606,6 +18115,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -17672,6 +18183,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -17743,6 +18256,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -17809,6 +18324,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -17875,6 +18392,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -17941,6 +18460,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -18007,6 +18528,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -18073,6 +18596,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -18139,6 +18664,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -18205,6 +18732,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -18276,6 +18805,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -18347,6 +18878,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -18413,6 +18946,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -18479,6 +19014,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -18545,6 +19082,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -18611,6 +19150,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -18677,6 +19218,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -18743,6 +19286,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -18814,6 +19359,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -18885,6 +19432,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -18956,6 +19505,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -19022,6 +19573,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -19088,6 +19641,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -19154,6 +19709,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -19220,6 +19777,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -19286,6 +19845,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -19352,6 +19913,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -19423,6 +19986,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -19489,6 +20054,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -19555,6 +20122,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -19621,6 +20190,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -19692,6 +20263,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -19758,6 +20331,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -19824,6 +20399,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -19901,6 +20478,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -19972,6 +20551,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -20038,6 +20619,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -20104,6 +20687,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -20170,6 +20755,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -20241,6 +20828,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -20312,6 +20901,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -20383,6 +20974,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -20454,6 +21047,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -20527,6 +21122,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -20594,6 +21191,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -20672,6 +21271,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -20745,6 +21346,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -20819,6 +21422,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -20886,6 +21491,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -20958,6 +21565,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -21030,6 +21639,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -21101,6 +21712,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -21172,6 +21785,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -21245,6 +21860,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -21317,6 +21934,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -21388,6 +22007,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -21454,6 +22075,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -21520,6 +22143,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -21591,6 +22216,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -21663,6 +22290,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -21734,6 +22363,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -21805,6 +22436,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -21877,6 +22510,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -21948,6 +22583,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -22014,6 +22651,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -22085,6 +22724,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -22157,6 +22798,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -22229,6 +22872,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -22300,6 +22945,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -22371,6 +23018,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -22443,6 +23092,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -22514,6 +23165,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -22586,6 +23239,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -22659,6 +23314,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -22732,6 +23389,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -22804,6 +23463,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -22875,6 +23536,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -22948,6 +23611,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -23020,6 +23685,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -23091,6 +23758,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -23157,6 +23826,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -23230,6 +23901,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -23301,6 +23974,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -23372,6 +24047,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -23444,6 +24121,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -23516,6 +24195,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -23587,6 +24268,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -23658,6 +24341,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -23730,6 +24415,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -23802,6 +24489,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -23873,6 +24562,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -23944,6 +24635,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -24016,6 +24709,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -24089,6 +24784,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -24162,6 +24859,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -24233,6 +24932,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -24305,6 +25006,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -24377,6 +25080,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -24448,6 +25153,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -24519,6 +25226,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -24591,6 +25300,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -24664,6 +25375,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -24736,6 +25449,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -24807,6 +25522,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -24880,6 +25597,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -24952,6 +25671,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -25024,6 +25745,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -25096,6 +25819,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -25169,6 +25894,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -25240,6 +25967,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -25311,6 +26040,8 @@ extension SageMakerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSageMakerA2IRuntime/Package.swift.txt b/Sources/Services/AWSSageMakerA2IRuntime/Package.swift.txt index c668a5b10e3..1eaea52dc27 100644 --- a/Sources/Services/AWSSageMakerA2IRuntime/Package.swift.txt +++ b/Sources/Services/AWSSageMakerA2IRuntime/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSageMakerA2IRuntime/Sources/AWSSageMakerA2IRuntime/SageMakerA2IRuntimeClient.swift b/Sources/Services/AWSSageMakerA2IRuntime/Sources/AWSSageMakerA2IRuntime/SageMakerA2IRuntimeClient.swift index 6d23dd1d965..c7b230aa69a 100644 --- a/Sources/Services/AWSSageMakerA2IRuntime/Sources/AWSSageMakerA2IRuntime/SageMakerA2IRuntimeClient.swift +++ b/Sources/Services/AWSSageMakerA2IRuntime/Sources/AWSSageMakerA2IRuntime/SageMakerA2IRuntimeClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SageMakerA2IRuntimeClient: ClientRuntime.Client { public static let clientName = "SageMakerA2IRuntimeClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SageMakerA2IRuntimeClient.SageMakerA2IRuntimeClientConfiguration let serviceName = "SageMaker A2I Runtime" @@ -94,6 +95,8 @@ extension SageMakerA2IRuntimeClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension SageMakerA2IRuntimeClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension SageMakerA2IRuntimeClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension SageMakerA2IRuntimeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension SageMakerA2IRuntimeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension SageMakerA2IRuntimeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension SageMakerA2IRuntimeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension SageMakerA2IRuntimeClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension SageMakerA2IRuntimeClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension SageMakerA2IRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -440,6 +461,8 @@ extension SageMakerA2IRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -510,6 +533,8 @@ extension SageMakerA2IRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -582,6 +607,8 @@ extension SageMakerA2IRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -655,6 +682,8 @@ extension SageMakerA2IRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSageMakerFeatureStoreRuntime/Package.swift.txt b/Sources/Services/AWSSageMakerFeatureStoreRuntime/Package.swift.txt index be1e0c27e13..4cd5535eac1 100644 --- a/Sources/Services/AWSSageMakerFeatureStoreRuntime/Package.swift.txt +++ b/Sources/Services/AWSSageMakerFeatureStoreRuntime/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSageMakerFeatureStoreRuntime/Sources/AWSSageMakerFeatureStoreRuntime/SageMakerFeatureStoreRuntimeClient.swift b/Sources/Services/AWSSageMakerFeatureStoreRuntime/Sources/AWSSageMakerFeatureStoreRuntime/SageMakerFeatureStoreRuntimeClient.swift index 315557ff01e..d83b4e32284 100644 --- a/Sources/Services/AWSSageMakerFeatureStoreRuntime/Sources/AWSSageMakerFeatureStoreRuntime/SageMakerFeatureStoreRuntimeClient.swift +++ b/Sources/Services/AWSSageMakerFeatureStoreRuntime/Sources/AWSSageMakerFeatureStoreRuntime/SageMakerFeatureStoreRuntimeClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SageMakerFeatureStoreRuntimeClient: ClientRuntime.Client { public static let clientName = "SageMakerFeatureStoreRuntimeClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SageMakerFeatureStoreRuntimeClient.SageMakerFeatureStoreRuntimeClientConfiguration let serviceName = "SageMaker FeatureStore Runtime" @@ -93,6 +94,8 @@ extension SageMakerFeatureStoreRuntimeClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension SageMakerFeatureStoreRuntimeClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension SageMakerFeatureStoreRuntimeClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension SageMakerFeatureStoreRuntimeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension SageMakerFeatureStoreRuntimeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension SageMakerFeatureStoreRuntimeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension SageMakerFeatureStoreRuntimeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension SageMakerFeatureStoreRuntimeClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension SageMakerFeatureStoreRuntimeClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -369,6 +388,8 @@ extension SageMakerFeatureStoreRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -449,6 +470,8 @@ extension SageMakerFeatureStoreRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -521,6 +544,8 @@ extension SageMakerFeatureStoreRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -592,6 +617,8 @@ extension SageMakerFeatureStoreRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSageMakerGeospatial/Package.swift.txt b/Sources/Services/AWSSageMakerGeospatial/Package.swift.txt index 82f72951063..1650c404f37 100644 --- a/Sources/Services/AWSSageMakerGeospatial/Package.swift.txt +++ b/Sources/Services/AWSSageMakerGeospatial/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSageMakerGeospatial/Sources/AWSSageMakerGeospatial/SageMakerGeospatialClient.swift b/Sources/Services/AWSSageMakerGeospatial/Sources/AWSSageMakerGeospatial/SageMakerGeospatialClient.swift index 3142a9874b3..3c1d40bb4db 100644 --- a/Sources/Services/AWSSageMakerGeospatial/Sources/AWSSageMakerGeospatial/SageMakerGeospatialClient.swift +++ b/Sources/Services/AWSSageMakerGeospatial/Sources/AWSSageMakerGeospatial/SageMakerGeospatialClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -66,7 +67,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SageMakerGeospatialClient: ClientRuntime.Client { public static let clientName = "SageMakerGeospatialClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SageMakerGeospatialClient.SageMakerGeospatialClientConfiguration let serviceName = "SageMaker Geospatial" @@ -96,6 +97,8 @@ extension SageMakerGeospatialClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -121,6 +124,8 @@ extension SageMakerGeospatialClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -144,6 +149,8 @@ extension SageMakerGeospatialClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -170,6 +177,8 @@ extension SageMakerGeospatialClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -194,6 +203,8 @@ extension SageMakerGeospatialClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -220,6 +231,8 @@ extension SageMakerGeospatialClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -244,6 +257,8 @@ extension SageMakerGeospatialClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -271,6 +286,8 @@ extension SageMakerGeospatialClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -298,6 +315,8 @@ extension SageMakerGeospatialClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension SageMakerGeospatialClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker-geospatial") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension SageMakerGeospatialClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker-geospatial") .withSigningRegion(value: config.signingRegion) .build() @@ -519,6 +542,8 @@ extension SageMakerGeospatialClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker-geospatial") .withSigningRegion(value: config.signingRegion) .build() @@ -596,6 +621,8 @@ extension SageMakerGeospatialClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker-geospatial") .withSigningRegion(value: config.signingRegion) .build() @@ -671,6 +698,8 @@ extension SageMakerGeospatialClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker-geospatial") .withSigningRegion(value: config.signingRegion) .build() @@ -742,6 +771,8 @@ extension SageMakerGeospatialClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker-geospatial") .withSigningRegion(value: config.signingRegion) .build() @@ -813,6 +844,8 @@ extension SageMakerGeospatialClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker-geospatial") .withSigningRegion(value: config.signingRegion) .build() @@ -885,6 +918,8 @@ extension SageMakerGeospatialClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker-geospatial") .withSigningRegion(value: config.signingRegion) .build() @@ -956,6 +991,8 @@ extension SageMakerGeospatialClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker-geospatial") .withSigningRegion(value: config.signingRegion) .build() @@ -1030,6 +1067,8 @@ extension SageMakerGeospatialClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker-geospatial") .withSigningRegion(value: config.signingRegion) .build() @@ -1102,6 +1141,8 @@ extension SageMakerGeospatialClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker-geospatial") .withSigningRegion(value: config.signingRegion) .build() @@ -1173,6 +1214,8 @@ extension SageMakerGeospatialClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker-geospatial") .withSigningRegion(value: config.signingRegion) .build() @@ -1247,6 +1290,8 @@ extension SageMakerGeospatialClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker-geospatial") .withSigningRegion(value: config.signingRegion) .build() @@ -1323,6 +1368,8 @@ extension SageMakerGeospatialClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker-geospatial") .withSigningRegion(value: config.signingRegion) .build() @@ -1400,6 +1447,8 @@ extension SageMakerGeospatialClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker-geospatial") .withSigningRegion(value: config.signingRegion) .build() @@ -1476,6 +1525,8 @@ extension SageMakerGeospatialClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker-geospatial") .withSigningRegion(value: config.signingRegion) .build() @@ -1551,6 +1602,8 @@ extension SageMakerGeospatialClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker-geospatial") .withSigningRegion(value: config.signingRegion) .build() @@ -1625,6 +1678,8 @@ extension SageMakerGeospatialClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker-geospatial") .withSigningRegion(value: config.signingRegion) .build() @@ -1699,6 +1754,8 @@ extension SageMakerGeospatialClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker-geospatial") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSageMakerMetrics/Package.swift.txt b/Sources/Services/AWSSageMakerMetrics/Package.swift.txt index dca278bbacb..03724b019a9 100644 --- a/Sources/Services/AWSSageMakerMetrics/Package.swift.txt +++ b/Sources/Services/AWSSageMakerMetrics/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSageMakerMetrics/Sources/AWSSageMakerMetrics/SageMakerMetricsClient.swift b/Sources/Services/AWSSageMakerMetrics/Sources/AWSSageMakerMetrics/SageMakerMetricsClient.swift index 1d0a84eca90..0c995007b5a 100644 --- a/Sources/Services/AWSSageMakerMetrics/Sources/AWSSageMakerMetrics/SageMakerMetricsClient.swift +++ b/Sources/Services/AWSSageMakerMetrics/Sources/AWSSageMakerMetrics/SageMakerMetricsClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -62,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SageMakerMetricsClient: ClientRuntime.Client { public static let clientName = "SageMakerMetricsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SageMakerMetricsClient.SageMakerMetricsClientConfiguration let serviceName = "SageMaker Metrics" @@ -92,6 +93,8 @@ extension SageMakerMetricsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -117,6 +120,8 @@ extension SageMakerMetricsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -140,6 +145,8 @@ extension SageMakerMetricsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -166,6 +173,8 @@ extension SageMakerMetricsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -190,6 +199,8 @@ extension SageMakerMetricsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -216,6 +227,8 @@ extension SageMakerMetricsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -240,6 +253,8 @@ extension SageMakerMetricsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -267,6 +282,8 @@ extension SageMakerMetricsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -294,6 +311,8 @@ extension SageMakerMetricsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -360,6 +379,8 @@ extension SageMakerMetricsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -425,6 +446,8 @@ extension SageMakerMetricsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSageMakerRuntime/Package.swift.txt b/Sources/Services/AWSSageMakerRuntime/Package.swift.txt index 31aed16f893..dba33794706 100644 --- a/Sources/Services/AWSSageMakerRuntime/Package.swift.txt +++ b/Sources/Services/AWSSageMakerRuntime/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSageMakerRuntime/Sources/AWSSageMakerRuntime/SageMakerRuntimeClient.swift b/Sources/Services/AWSSageMakerRuntime/Sources/AWSSageMakerRuntime/SageMakerRuntimeClient.swift index baea4ba0e89..b346bcb4bbe 100644 --- a/Sources/Services/AWSSageMakerRuntime/Sources/AWSSageMakerRuntime/SageMakerRuntimeClient.swift +++ b/Sources/Services/AWSSageMakerRuntime/Sources/AWSSageMakerRuntime/SageMakerRuntimeClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPRequest import class SmithyHTTPAPI.HTTPResponse import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SageMakerRuntimeClient: ClientRuntime.Client { public static let clientName = "SageMakerRuntimeClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SageMakerRuntimeClient.SageMakerRuntimeClientConfiguration let serviceName = "SageMaker Runtime" @@ -93,6 +94,8 @@ extension SageMakerRuntimeClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension SageMakerRuntimeClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension SageMakerRuntimeClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension SageMakerRuntimeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension SageMakerRuntimeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension SageMakerRuntimeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension SageMakerRuntimeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension SageMakerRuntimeClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension SageMakerRuntimeClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension SageMakerRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -444,6 +465,8 @@ extension SageMakerRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -524,6 +547,8 @@ extension SageMakerRuntimeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSagemakerEdge/Package.swift.txt b/Sources/Services/AWSSagemakerEdge/Package.swift.txt index 140de7a22ec..f12c55efcc0 100644 --- a/Sources/Services/AWSSagemakerEdge/Package.swift.txt +++ b/Sources/Services/AWSSagemakerEdge/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSagemakerEdge/Sources/AWSSagemakerEdge/SagemakerEdgeClient.swift b/Sources/Services/AWSSagemakerEdge/Sources/AWSSagemakerEdge/SagemakerEdgeClient.swift index 021a3cc2fca..da090598dbd 100644 --- a/Sources/Services/AWSSagemakerEdge/Sources/AWSSagemakerEdge/SagemakerEdgeClient.swift +++ b/Sources/Services/AWSSagemakerEdge/Sources/AWSSagemakerEdge/SagemakerEdgeClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -62,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SagemakerEdgeClient: ClientRuntime.Client { public static let clientName = "SagemakerEdgeClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SagemakerEdgeClient.SagemakerEdgeClientConfiguration let serviceName = "Sagemaker Edge" @@ -92,6 +93,8 @@ extension SagemakerEdgeClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -117,6 +120,8 @@ extension SagemakerEdgeClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -140,6 +145,8 @@ extension SagemakerEdgeClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -166,6 +173,8 @@ extension SagemakerEdgeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -190,6 +199,8 @@ extension SagemakerEdgeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -216,6 +227,8 @@ extension SagemakerEdgeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -240,6 +253,8 @@ extension SagemakerEdgeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -267,6 +282,8 @@ extension SagemakerEdgeClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -294,6 +311,8 @@ extension SagemakerEdgeClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -365,6 +384,8 @@ extension SagemakerEdgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -435,6 +456,8 @@ extension SagemakerEdgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() @@ -505,6 +528,8 @@ extension SagemakerEdgeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "sagemaker") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSavingsplans/Package.swift.txt b/Sources/Services/AWSSavingsplans/Package.swift.txt index 8616fb60f00..cd35ed15535 100644 --- a/Sources/Services/AWSSavingsplans/Package.swift.txt +++ b/Sources/Services/AWSSavingsplans/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSavingsplans/Sources/AWSSavingsplans/SavingsplansClient.swift b/Sources/Services/AWSSavingsplans/Sources/AWSSavingsplans/SavingsplansClient.swift index bbd3270b7d4..15428d0b31a 100644 --- a/Sources/Services/AWSSavingsplans/Sources/AWSSavingsplans/SavingsplansClient.swift +++ b/Sources/Services/AWSSavingsplans/Sources/AWSSavingsplans/SavingsplansClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SavingsplansClient: ClientRuntime.Client { public static let clientName = "SavingsplansClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SavingsplansClient.SavingsplansClientConfiguration let serviceName = "savingsplans" @@ -94,6 +95,8 @@ extension SavingsplansClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension SavingsplansClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension SavingsplansClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension SavingsplansClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension SavingsplansClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension SavingsplansClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension SavingsplansClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension SavingsplansClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension SavingsplansClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension SavingsplansClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "savingsplans") .withSigningRegion(value: config.signingRegion) .build() @@ -444,6 +465,8 @@ extension SavingsplansClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "savingsplans") .withSigningRegion(value: config.signingRegion) .build() @@ -515,6 +538,8 @@ extension SavingsplansClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "savingsplans") .withSigningRegion(value: config.signingRegion) .build() @@ -586,6 +611,8 @@ extension SavingsplansClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "savingsplans") .withSigningRegion(value: config.signingRegion) .build() @@ -657,6 +684,8 @@ extension SavingsplansClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "savingsplans") .withSigningRegion(value: config.signingRegion) .build() @@ -728,6 +757,8 @@ extension SavingsplansClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "savingsplans") .withSigningRegion(value: config.signingRegion) .build() @@ -800,6 +831,8 @@ extension SavingsplansClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "savingsplans") .withSigningRegion(value: config.signingRegion) .build() @@ -873,6 +906,8 @@ extension SavingsplansClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "savingsplans") .withSigningRegion(value: config.signingRegion) .build() @@ -947,6 +982,8 @@ extension SavingsplansClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "savingsplans") .withSigningRegion(value: config.signingRegion) .build() @@ -1019,6 +1056,8 @@ extension SavingsplansClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "savingsplans") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSScheduler/Package.swift.txt b/Sources/Services/AWSScheduler/Package.swift.txt index 5014ca57451..ceae303253f 100644 --- a/Sources/Services/AWSScheduler/Package.swift.txt +++ b/Sources/Services/AWSScheduler/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSScheduler/Sources/AWSScheduler/SchedulerClient.swift b/Sources/Services/AWSScheduler/Sources/AWSScheduler/SchedulerClient.swift index c0d2f21384c..a05234be060 100644 --- a/Sources/Services/AWSScheduler/Sources/AWSScheduler/SchedulerClient.swift +++ b/Sources/Services/AWSScheduler/Sources/AWSScheduler/SchedulerClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SchedulerClient: ClientRuntime.Client { public static let clientName = "SchedulerClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SchedulerClient.SchedulerClientConfiguration let serviceName = "Scheduler" @@ -95,6 +96,8 @@ extension SchedulerClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension SchedulerClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension SchedulerClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension SchedulerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension SchedulerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension SchedulerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension SchedulerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension SchedulerClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension SchedulerClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension SchedulerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "scheduler") .withSigningRegion(value: config.signingRegion) .build() @@ -448,6 +469,8 @@ extension SchedulerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "scheduler") .withSigningRegion(value: config.signingRegion) .build() @@ -523,6 +546,8 @@ extension SchedulerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "scheduler") .withSigningRegion(value: config.signingRegion) .build() @@ -596,6 +621,8 @@ extension SchedulerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "scheduler") .withSigningRegion(value: config.signingRegion) .build() @@ -668,6 +695,8 @@ extension SchedulerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "scheduler") .withSigningRegion(value: config.signingRegion) .build() @@ -739,6 +768,8 @@ extension SchedulerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "scheduler") .withSigningRegion(value: config.signingRegion) .build() @@ -808,6 +839,8 @@ extension SchedulerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "scheduler") .withSigningRegion(value: config.signingRegion) .build() @@ -879,6 +912,8 @@ extension SchedulerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "scheduler") .withSigningRegion(value: config.signingRegion) .build() @@ -950,6 +985,8 @@ extension SchedulerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "scheduler") .withSigningRegion(value: config.signingRegion) .build() @@ -1021,6 +1058,8 @@ extension SchedulerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "scheduler") .withSigningRegion(value: config.signingRegion) .build() @@ -1095,6 +1134,8 @@ extension SchedulerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "scheduler") .withSigningRegion(value: config.signingRegion) .build() @@ -1167,6 +1208,8 @@ extension SchedulerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "scheduler") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSchemas/Package.swift.txt b/Sources/Services/AWSSchemas/Package.swift.txt index 7b3221fbea3..3da3d9a9dca 100644 --- a/Sources/Services/AWSSchemas/Package.swift.txt +++ b/Sources/Services/AWSSchemas/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSchemas/Sources/AWSSchemas/SchemasClient.swift b/Sources/Services/AWSSchemas/Sources/AWSSchemas/SchemasClient.swift index 008ff232792..535da627b0e 100644 --- a/Sources/Services/AWSSchemas/Sources/AWSSchemas/SchemasClient.swift +++ b/Sources/Services/AWSSchemas/Sources/AWSSchemas/SchemasClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SchemasClient: ClientRuntime.Client { public static let clientName = "SchemasClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SchemasClient.SchemasClientConfiguration let serviceName = "schemas" @@ -95,6 +96,8 @@ extension SchemasClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension SchemasClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension SchemasClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension SchemasClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension SchemasClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension SchemasClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension SchemasClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension SchemasClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension SchemasClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension SchemasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "schemas") .withSigningRegion(value: config.signingRegion) .build() @@ -448,6 +469,8 @@ extension SchemasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "schemas") .withSigningRegion(value: config.signingRegion) .build() @@ -521,6 +544,8 @@ extension SchemasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "schemas") .withSigningRegion(value: config.signingRegion) .build() @@ -596,6 +621,8 @@ extension SchemasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "schemas") .withSigningRegion(value: config.signingRegion) .build() @@ -668,6 +695,8 @@ extension SchemasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "schemas") .withSigningRegion(value: config.signingRegion) .build() @@ -740,6 +769,8 @@ extension SchemasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "schemas") .withSigningRegion(value: config.signingRegion) .build() @@ -813,6 +844,8 @@ extension SchemasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "schemas") .withSigningRegion(value: config.signingRegion) .build() @@ -885,6 +918,8 @@ extension SchemasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "schemas") .withSigningRegion(value: config.signingRegion) .build() @@ -957,6 +992,8 @@ extension SchemasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "schemas") .withSigningRegion(value: config.signingRegion) .build() @@ -1030,6 +1067,8 @@ extension SchemasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "schemas") .withSigningRegion(value: config.signingRegion) .build() @@ -1102,6 +1141,8 @@ extension SchemasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "schemas") .withSigningRegion(value: config.signingRegion) .build() @@ -1174,6 +1215,8 @@ extension SchemasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "schemas") .withSigningRegion(value: config.signingRegion) .build() @@ -1247,6 +1290,8 @@ extension SchemasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "schemas") .withSigningRegion(value: config.signingRegion) .build() @@ -1320,6 +1365,8 @@ extension SchemasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "schemas") .withSigningRegion(value: config.signingRegion) .build() @@ -1392,6 +1439,8 @@ extension SchemasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "schemas") .withSigningRegion(value: config.signingRegion) .build() @@ -1467,6 +1516,8 @@ extension SchemasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "schemas") .withSigningRegion(value: config.signingRegion) .build() @@ -1539,6 +1590,8 @@ extension SchemasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "schemas") .withSigningRegion(value: config.signingRegion) .build() @@ -1611,6 +1664,8 @@ extension SchemasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "schemas") .withSigningRegion(value: config.signingRegion) .build() @@ -1684,6 +1739,8 @@ extension SchemasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "schemas") .withSigningRegion(value: config.signingRegion) .build() @@ -1756,6 +1813,8 @@ extension SchemasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "schemas") .withSigningRegion(value: config.signingRegion) .build() @@ -1827,6 +1886,8 @@ extension SchemasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "schemas") .withSigningRegion(value: config.signingRegion) .build() @@ -1900,6 +1961,8 @@ extension SchemasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "schemas") .withSigningRegion(value: config.signingRegion) .build() @@ -1974,6 +2037,8 @@ extension SchemasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "schemas") .withSigningRegion(value: config.signingRegion) .build() @@ -2049,6 +2114,8 @@ extension SchemasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "schemas") .withSigningRegion(value: config.signingRegion) .build() @@ -2122,6 +2189,8 @@ extension SchemasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "schemas") .withSigningRegion(value: config.signingRegion) .build() @@ -2194,6 +2263,8 @@ extension SchemasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "schemas") .withSigningRegion(value: config.signingRegion) .build() @@ -2264,6 +2335,8 @@ extension SchemasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "schemas") .withSigningRegion(value: config.signingRegion) .build() @@ -2337,6 +2410,8 @@ extension SchemasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "schemas") .withSigningRegion(value: config.signingRegion) .build() @@ -2410,6 +2485,8 @@ extension SchemasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "schemas") .withSigningRegion(value: config.signingRegion) .build() @@ -2485,6 +2562,8 @@ extension SchemasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "schemas") .withSigningRegion(value: config.signingRegion) .build() @@ -2559,6 +2638,8 @@ extension SchemasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "schemas") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSecretsManager/Package.swift.txt b/Sources/Services/AWSSecretsManager/Package.swift.txt index 82ba2179102..0eaf22b593e 100644 --- a/Sources/Services/AWSSecretsManager/Package.swift.txt +++ b/Sources/Services/AWSSecretsManager/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSecretsManager/Sources/AWSSecretsManager/SecretsManagerClient.swift b/Sources/Services/AWSSecretsManager/Sources/AWSSecretsManager/SecretsManagerClient.swift index 677c78e01ef..5a4acaef6cd 100644 --- a/Sources/Services/AWSSecretsManager/Sources/AWSSecretsManager/SecretsManagerClient.swift +++ b/Sources/Services/AWSSecretsManager/Sources/AWSSecretsManager/SecretsManagerClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SecretsManagerClient: ClientRuntime.Client { public static let clientName = "SecretsManagerClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SecretsManagerClient.SecretsManagerClientConfiguration let serviceName = "Secrets Manager" @@ -95,6 +96,8 @@ extension SecretsManagerClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension SecretsManagerClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension SecretsManagerClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension SecretsManagerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension SecretsManagerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension SecretsManagerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension SecretsManagerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension SecretsManagerClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension SecretsManagerClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -379,6 +398,8 @@ extension SecretsManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "secretsmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -459,6 +480,8 @@ extension SecretsManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "secretsmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -545,6 +568,8 @@ extension SecretsManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "secretsmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -626,6 +651,8 @@ extension SecretsManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "secretsmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -706,6 +733,8 @@ extension SecretsManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "secretsmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -779,6 +808,8 @@ extension SecretsManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "secretsmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -858,6 +889,8 @@ extension SecretsManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "secretsmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -938,6 +971,8 @@ extension SecretsManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "secretsmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1019,6 +1054,8 @@ extension SecretsManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "secretsmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1093,6 +1130,8 @@ extension SecretsManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "secretsmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1173,6 +1212,8 @@ extension SecretsManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "secretsmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1255,6 +1296,8 @@ extension SecretsManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "secretsmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1339,6 +1382,8 @@ extension SecretsManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "secretsmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1420,6 +1465,8 @@ extension SecretsManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "secretsmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1500,6 +1547,8 @@ extension SecretsManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "secretsmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1580,6 +1629,8 @@ extension SecretsManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "secretsmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1660,6 +1711,8 @@ extension SecretsManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "secretsmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1741,6 +1794,8 @@ extension SecretsManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "secretsmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1821,6 +1876,8 @@ extension SecretsManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "secretsmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1901,6 +1958,8 @@ extension SecretsManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "secretsmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -1987,6 +2046,8 @@ extension SecretsManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "secretsmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -2069,6 +2130,8 @@ extension SecretsManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "secretsmanager") .withSigningRegion(value: config.signingRegion) .build() @@ -2159,6 +2222,8 @@ extension SecretsManagerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "secretsmanager") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSecurityHub/Package.swift.txt b/Sources/Services/AWSSecurityHub/Package.swift.txt index a883af5aa39..4aab2943207 100644 --- a/Sources/Services/AWSSecurityHub/Package.swift.txt +++ b/Sources/Services/AWSSecurityHub/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSecurityHub/Sources/AWSSecurityHub/SecurityHubClient.swift b/Sources/Services/AWSSecurityHub/Sources/AWSSecurityHub/SecurityHubClient.swift index e17b5d91495..5eae0f37150 100644 --- a/Sources/Services/AWSSecurityHub/Sources/AWSSecurityHub/SecurityHubClient.swift +++ b/Sources/Services/AWSSecurityHub/Sources/AWSSecurityHub/SecurityHubClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SecurityHubClient: ClientRuntime.Client { public static let clientName = "SecurityHubClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SecurityHubClient.SecurityHubClientConfiguration let serviceName = "SecurityHub" @@ -94,6 +95,8 @@ extension SecurityHubClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension SecurityHubClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension SecurityHubClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension SecurityHubClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension SecurityHubClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension SecurityHubClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension SecurityHubClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension SecurityHubClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension SecurityHubClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -520,6 +543,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -594,6 +619,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -668,6 +695,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -743,6 +772,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -818,6 +849,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -891,6 +924,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -964,6 +999,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -1068,6 +1105,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -1142,6 +1181,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -1236,6 +1277,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -1310,6 +1353,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -1384,6 +1429,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -1458,6 +1505,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -1533,6 +1582,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -1607,6 +1658,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -1681,6 +1734,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -1770,6 +1825,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -1843,6 +1900,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -1916,6 +1975,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -1989,6 +2050,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -2061,6 +2124,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -2132,6 +2197,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -2203,6 +2270,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -2277,6 +2346,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -2350,6 +2421,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -2424,6 +2497,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -2495,6 +2570,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -2565,6 +2642,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -2635,6 +2714,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -2706,6 +2787,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -2778,6 +2861,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -2849,6 +2934,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -2923,6 +3010,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -2994,6 +3083,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -3066,6 +3157,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -3138,6 +3231,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -3212,6 +3307,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -3286,6 +3383,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -3367,6 +3466,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -3441,6 +3542,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -3513,6 +3616,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -3585,6 +3690,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -3658,6 +3765,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -3733,6 +3842,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -3803,6 +3914,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -3876,6 +3989,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -3950,6 +4065,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -4021,6 +4138,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -4094,6 +4213,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -4166,6 +4287,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -4237,6 +4360,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -4311,6 +4436,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -4383,6 +4510,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -4457,6 +4586,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -4529,6 +4660,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -4601,6 +4734,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -4673,6 +4808,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -4745,6 +4882,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -4816,6 +4955,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -4887,6 +5028,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -4958,6 +5101,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -5029,6 +5174,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -5100,6 +5247,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -5170,6 +5319,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -5242,6 +5393,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -5317,6 +5470,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -5389,6 +5544,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -5461,6 +5618,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -5532,6 +5691,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -5608,6 +5769,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -5683,6 +5846,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -5757,6 +5922,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -5831,6 +5998,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -5907,6 +6076,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -5983,6 +6154,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -6058,6 +6231,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() @@ -6132,6 +6307,8 @@ extension SecurityHubClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securityhub") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSecurityIR/Package.swift.txt b/Sources/Services/AWSSecurityIR/Package.swift.txt index 913d1c9dcce..64d5c79a803 100644 --- a/Sources/Services/AWSSecurityIR/Package.swift.txt +++ b/Sources/Services/AWSSecurityIR/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSecurityIR/Sources/AWSSecurityIR/SecurityIRClient.swift b/Sources/Services/AWSSecurityIR/Sources/AWSSecurityIR/SecurityIRClient.swift index 226de14799c..53a2b4936a4 100644 --- a/Sources/Services/AWSSecurityIR/Sources/AWSSecurityIR/SecurityIRClient.swift +++ b/Sources/Services/AWSSecurityIR/Sources/AWSSecurityIR/SecurityIRClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SecurityIRClient: ClientRuntime.Client { public static let clientName = "SecurityIRClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SecurityIRClient.SecurityIRClientConfiguration let serviceName = "Security IR" @@ -95,6 +96,8 @@ extension SecurityIRClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension SecurityIRClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension SecurityIRClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension SecurityIRClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension SecurityIRClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension SecurityIRClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension SecurityIRClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension SecurityIRClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension SecurityIRClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -376,6 +395,8 @@ extension SecurityIRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "security-ir") .withSigningRegion(value: config.signingRegion) .build() @@ -454,6 +475,8 @@ extension SecurityIRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "security-ir") .withSigningRegion(value: config.signingRegion) .build() @@ -529,6 +552,8 @@ extension SecurityIRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "security-ir") .withSigningRegion(value: config.signingRegion) .build() @@ -604,6 +629,8 @@ extension SecurityIRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "security-ir") .withSigningRegion(value: config.signingRegion) .build() @@ -683,6 +710,8 @@ extension SecurityIRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "security-ir") .withSigningRegion(value: config.signingRegion) .build() @@ -762,6 +791,8 @@ extension SecurityIRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "security-ir") .withSigningRegion(value: config.signingRegion) .build() @@ -841,6 +872,8 @@ extension SecurityIRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "security-ir") .withSigningRegion(value: config.signingRegion) .build() @@ -916,6 +949,8 @@ extension SecurityIRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "security-ir") .withSigningRegion(value: config.signingRegion) .build() @@ -991,6 +1026,8 @@ extension SecurityIRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "security-ir") .withSigningRegion(value: config.signingRegion) .build() @@ -1070,6 +1107,8 @@ extension SecurityIRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "security-ir") .withSigningRegion(value: config.signingRegion) .build() @@ -1145,6 +1184,8 @@ extension SecurityIRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "security-ir") .withSigningRegion(value: config.signingRegion) .build() @@ -1223,6 +1264,8 @@ extension SecurityIRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "security-ir") .withSigningRegion(value: config.signingRegion) .build() @@ -1301,6 +1344,8 @@ extension SecurityIRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "security-ir") .withSigningRegion(value: config.signingRegion) .build() @@ -1379,6 +1424,8 @@ extension SecurityIRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "security-ir") .withSigningRegion(value: config.signingRegion) .build() @@ -1457,6 +1504,8 @@ extension SecurityIRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "security-ir") .withSigningRegion(value: config.signingRegion) .build() @@ -1532,6 +1581,8 @@ extension SecurityIRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "security-ir") .withSigningRegion(value: config.signingRegion) .build() @@ -1610,6 +1661,8 @@ extension SecurityIRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "security-ir") .withSigningRegion(value: config.signingRegion) .build() @@ -1686,6 +1739,8 @@ extension SecurityIRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "security-ir") .withSigningRegion(value: config.signingRegion) .build() @@ -1764,6 +1819,8 @@ extension SecurityIRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "security-ir") .withSigningRegion(value: config.signingRegion) .build() @@ -1842,6 +1899,8 @@ extension SecurityIRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "security-ir") .withSigningRegion(value: config.signingRegion) .build() @@ -1920,6 +1979,8 @@ extension SecurityIRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "security-ir") .withSigningRegion(value: config.signingRegion) .build() @@ -1998,6 +2059,8 @@ extension SecurityIRClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "security-ir") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSecurityLake/Package.swift.txt b/Sources/Services/AWSSecurityLake/Package.swift.txt index ebdf7b19cc7..e6a8ecb85ce 100644 --- a/Sources/Services/AWSSecurityLake/Package.swift.txt +++ b/Sources/Services/AWSSecurityLake/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSecurityLake/Sources/AWSSecurityLake/SecurityLakeClient.swift b/Sources/Services/AWSSecurityLake/Sources/AWSSecurityLake/SecurityLakeClient.swift index bae25b9a036..8db718d6765 100644 --- a/Sources/Services/AWSSecurityLake/Sources/AWSSecurityLake/SecurityLakeClient.swift +++ b/Sources/Services/AWSSecurityLake/Sources/AWSSecurityLake/SecurityLakeClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SecurityLakeClient: ClientRuntime.Client { public static let clientName = "SecurityLakeClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SecurityLakeClient.SecurityLakeClientConfiguration let serviceName = "SecurityLake" @@ -93,6 +94,8 @@ extension SecurityLakeClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension SecurityLakeClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension SecurityLakeClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension SecurityLakeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension SecurityLakeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension SecurityLakeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension SecurityLakeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension SecurityLakeClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension SecurityLakeClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension SecurityLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securitylake") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension SecurityLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securitylake") .withSigningRegion(value: config.signingRegion) .build() @@ -521,6 +544,8 @@ extension SecurityLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securitylake") .withSigningRegion(value: config.signingRegion) .build() @@ -596,6 +621,8 @@ extension SecurityLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securitylake") .withSigningRegion(value: config.signingRegion) .build() @@ -671,6 +698,8 @@ extension SecurityLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securitylake") .withSigningRegion(value: config.signingRegion) .build() @@ -746,6 +775,8 @@ extension SecurityLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securitylake") .withSigningRegion(value: config.signingRegion) .build() @@ -821,6 +852,8 @@ extension SecurityLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securitylake") .withSigningRegion(value: config.signingRegion) .build() @@ -896,6 +929,8 @@ extension SecurityLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securitylake") .withSigningRegion(value: config.signingRegion) .build() @@ -971,6 +1006,8 @@ extension SecurityLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securitylake") .withSigningRegion(value: config.signingRegion) .build() @@ -1044,6 +1081,8 @@ extension SecurityLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securitylake") .withSigningRegion(value: config.signingRegion) .build() @@ -1119,6 +1158,8 @@ extension SecurityLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securitylake") .withSigningRegion(value: config.signingRegion) .build() @@ -1191,6 +1232,8 @@ extension SecurityLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securitylake") .withSigningRegion(value: config.signingRegion) .build() @@ -1266,6 +1309,8 @@ extension SecurityLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securitylake") .withSigningRegion(value: config.signingRegion) .build() @@ -1338,6 +1383,8 @@ extension SecurityLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securitylake") .withSigningRegion(value: config.signingRegion) .build() @@ -1410,6 +1457,8 @@ extension SecurityLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securitylake") .withSigningRegion(value: config.signingRegion) .build() @@ -1482,6 +1531,8 @@ extension SecurityLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securitylake") .withSigningRegion(value: config.signingRegion) .build() @@ -1554,6 +1605,8 @@ extension SecurityLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securitylake") .withSigningRegion(value: config.signingRegion) .build() @@ -1626,6 +1679,8 @@ extension SecurityLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securitylake") .withSigningRegion(value: config.signingRegion) .build() @@ -1701,6 +1756,8 @@ extension SecurityLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securitylake") .withSigningRegion(value: config.signingRegion) .build() @@ -1773,6 +1830,8 @@ extension SecurityLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securitylake") .withSigningRegion(value: config.signingRegion) .build() @@ -1848,6 +1907,8 @@ extension SecurityLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securitylake") .withSigningRegion(value: config.signingRegion) .build() @@ -1921,6 +1982,8 @@ extension SecurityLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securitylake") .withSigningRegion(value: config.signingRegion) .build() @@ -1996,6 +2059,8 @@ extension SecurityLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securitylake") .withSigningRegion(value: config.signingRegion) .build() @@ -2069,6 +2134,8 @@ extension SecurityLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securitylake") .withSigningRegion(value: config.signingRegion) .build() @@ -2141,6 +2208,8 @@ extension SecurityLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securitylake") .withSigningRegion(value: config.signingRegion) .build() @@ -2216,6 +2285,8 @@ extension SecurityLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securitylake") .withSigningRegion(value: config.signingRegion) .build() @@ -2291,6 +2362,8 @@ extension SecurityLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securitylake") .withSigningRegion(value: config.signingRegion) .build() @@ -2364,6 +2437,8 @@ extension SecurityLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securitylake") .withSigningRegion(value: config.signingRegion) .build() @@ -2439,6 +2514,8 @@ extension SecurityLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securitylake") .withSigningRegion(value: config.signingRegion) .build() @@ -2514,6 +2591,8 @@ extension SecurityLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securitylake") .withSigningRegion(value: config.signingRegion) .build() @@ -2589,6 +2668,8 @@ extension SecurityLakeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "securitylake") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSServerlessApplicationRepository/Package.swift.txt b/Sources/Services/AWSServerlessApplicationRepository/Package.swift.txt index afab6f15cf8..0e59de64427 100644 --- a/Sources/Services/AWSServerlessApplicationRepository/Package.swift.txt +++ b/Sources/Services/AWSServerlessApplicationRepository/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSServerlessApplicationRepository/Sources/AWSServerlessApplicationRepository/ServerlessApplicationRepositoryClient.swift b/Sources/Services/AWSServerlessApplicationRepository/Sources/AWSServerlessApplicationRepository/ServerlessApplicationRepositoryClient.swift index f2b2e3a49e2..c09521ed57e 100644 --- a/Sources/Services/AWSServerlessApplicationRepository/Sources/AWSServerlessApplicationRepository/ServerlessApplicationRepositoryClient.swift +++ b/Sources/Services/AWSServerlessApplicationRepository/Sources/AWSServerlessApplicationRepository/ServerlessApplicationRepositoryClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ServerlessApplicationRepositoryClient: ClientRuntime.Client { public static let clientName = "ServerlessApplicationRepositoryClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ServerlessApplicationRepositoryClient.ServerlessApplicationRepositoryClientConfiguration let serviceName = "ServerlessApplicationRepository" @@ -93,6 +94,8 @@ extension ServerlessApplicationRepositoryClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension ServerlessApplicationRepositoryClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension ServerlessApplicationRepositoryClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension ServerlessApplicationRepositoryClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension ServerlessApplicationRepositoryClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension ServerlessApplicationRepositoryClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension ServerlessApplicationRepositoryClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension ServerlessApplicationRepositoryClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension ServerlessApplicationRepositoryClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension ServerlessApplicationRepositoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "serverlessrepo") .withSigningRegion(value: config.signingRegion) .build() @@ -444,6 +465,8 @@ extension ServerlessApplicationRepositoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "serverlessrepo") .withSigningRegion(value: config.signingRegion) .build() @@ -517,6 +540,8 @@ extension ServerlessApplicationRepositoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "serverlessrepo") .withSigningRegion(value: config.signingRegion) .build() @@ -591,6 +616,8 @@ extension ServerlessApplicationRepositoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "serverlessrepo") .withSigningRegion(value: config.signingRegion) .build() @@ -666,6 +693,8 @@ extension ServerlessApplicationRepositoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "serverlessrepo") .withSigningRegion(value: config.signingRegion) .build() @@ -737,6 +766,8 @@ extension ServerlessApplicationRepositoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "serverlessrepo") .withSigningRegion(value: config.signingRegion) .build() @@ -809,6 +840,8 @@ extension ServerlessApplicationRepositoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "serverlessrepo") .withSigningRegion(value: config.signingRegion) .build() @@ -880,6 +913,8 @@ extension ServerlessApplicationRepositoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "serverlessrepo") .withSigningRegion(value: config.signingRegion) .build() @@ -951,6 +986,8 @@ extension ServerlessApplicationRepositoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "serverlessrepo") .withSigningRegion(value: config.signingRegion) .build() @@ -1023,6 +1060,8 @@ extension ServerlessApplicationRepositoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "serverlessrepo") .withSigningRegion(value: config.signingRegion) .build() @@ -1094,6 +1133,8 @@ extension ServerlessApplicationRepositoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "serverlessrepo") .withSigningRegion(value: config.signingRegion) .build() @@ -1166,6 +1207,8 @@ extension ServerlessApplicationRepositoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "serverlessrepo") .withSigningRegion(value: config.signingRegion) .build() @@ -1240,6 +1283,8 @@ extension ServerlessApplicationRepositoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "serverlessrepo") .withSigningRegion(value: config.signingRegion) .build() @@ -1315,6 +1360,8 @@ extension ServerlessApplicationRepositoryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "serverlessrepo") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSServiceCatalog/Package.swift.txt b/Sources/Services/AWSServiceCatalog/Package.swift.txt index 8f75e784f70..0afcd8a7e94 100644 --- a/Sources/Services/AWSServiceCatalog/Package.swift.txt +++ b/Sources/Services/AWSServiceCatalog/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSServiceCatalog/Sources/AWSServiceCatalog/ServiceCatalogClient.swift b/Sources/Services/AWSServiceCatalog/Sources/AWSServiceCatalog/ServiceCatalogClient.swift index fa40d8b6a5c..5231c49c80d 100644 --- a/Sources/Services/AWSServiceCatalog/Sources/AWSServiceCatalog/ServiceCatalogClient.swift +++ b/Sources/Services/AWSServiceCatalog/Sources/AWSServiceCatalog/ServiceCatalogClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ServiceCatalogClient: ClientRuntime.Client { public static let clientName = "ServiceCatalogClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ServiceCatalogClient.ServiceCatalogClientConfiguration let serviceName = "Service Catalog" @@ -94,6 +95,8 @@ extension ServiceCatalogClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension ServiceCatalogClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension ServiceCatalogClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension ServiceCatalogClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension ServiceCatalogClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension ServiceCatalogClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension ServiceCatalogClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension ServiceCatalogClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension ServiceCatalogClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -369,6 +388,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -443,6 +464,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -516,6 +539,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -589,6 +614,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -663,6 +690,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -740,6 +769,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -811,6 +842,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -882,6 +915,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -954,6 +989,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -1029,6 +1066,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -1103,6 +1142,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -1179,6 +1220,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -1252,6 +1295,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -1326,6 +1371,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -1400,6 +1447,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -1473,6 +1522,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -1547,6 +1598,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -1619,6 +1672,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -1693,6 +1748,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -1767,6 +1824,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -1841,6 +1900,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -1913,6 +1974,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -1986,6 +2049,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -2058,6 +2123,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -2132,6 +2199,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -2203,6 +2272,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -2274,6 +2345,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -2345,6 +2418,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -2418,6 +2493,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -2490,6 +2567,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -2562,6 +2641,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -2634,6 +2715,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -2706,6 +2789,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -2778,6 +2863,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -2850,6 +2937,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -2922,6 +3011,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -2994,6 +3085,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -3065,6 +3158,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -3136,6 +3231,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -3208,6 +3305,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -3280,6 +3379,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -3353,6 +3454,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -3424,6 +3527,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -3496,6 +3601,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -3569,6 +3676,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -3640,6 +3749,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -3713,6 +3824,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -3786,6 +3899,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -3859,6 +3974,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -3933,6 +4050,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -4006,6 +4125,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -4078,6 +4199,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -4152,6 +4275,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -4225,6 +4350,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -4297,6 +4424,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -4369,6 +4498,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -4441,6 +4572,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -4514,6 +4647,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -4586,6 +4721,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -4657,6 +4794,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -4729,6 +4868,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -4801,6 +4942,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -4873,6 +5016,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -4945,6 +5090,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -5017,6 +5164,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -5088,6 +5237,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -5161,6 +5312,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -5232,6 +5385,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -5304,6 +5459,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -5376,6 +5533,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -5448,6 +5607,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -5520,6 +5681,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -5593,6 +5756,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -5666,6 +5831,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -5740,6 +5907,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -5812,6 +5981,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -5883,6 +6054,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -5954,6 +6127,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -6026,6 +6201,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -6097,6 +6274,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -6168,6 +6347,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -6241,6 +6422,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -6315,6 +6498,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -6389,6 +6574,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -6462,6 +6649,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -6534,6 +6723,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -6608,6 +6799,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -6681,6 +6874,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -6753,6 +6948,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -6827,6 +7024,8 @@ extension ServiceCatalogClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSServiceCatalogAppRegistry/Package.swift.txt b/Sources/Services/AWSServiceCatalogAppRegistry/Package.swift.txt index a02f588433e..d833c19e462 100644 --- a/Sources/Services/AWSServiceCatalogAppRegistry/Package.swift.txt +++ b/Sources/Services/AWSServiceCatalogAppRegistry/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSServiceCatalogAppRegistry/Sources/AWSServiceCatalogAppRegistry/ServiceCatalogAppRegistryClient.swift b/Sources/Services/AWSServiceCatalogAppRegistry/Sources/AWSServiceCatalogAppRegistry/ServiceCatalogAppRegistryClient.swift index af5e26d15f7..a594e855e50 100644 --- a/Sources/Services/AWSServiceCatalogAppRegistry/Sources/AWSServiceCatalogAppRegistry/ServiceCatalogAppRegistryClient.swift +++ b/Sources/Services/AWSServiceCatalogAppRegistry/Sources/AWSServiceCatalogAppRegistry/ServiceCatalogAppRegistryClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ServiceCatalogAppRegistryClient: ClientRuntime.Client { public static let clientName = "ServiceCatalogAppRegistryClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ServiceCatalogAppRegistryClient.ServiceCatalogAppRegistryClientConfiguration let serviceName = "Service Catalog AppRegistry" @@ -95,6 +96,8 @@ extension ServiceCatalogAppRegistryClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension ServiceCatalogAppRegistryClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension ServiceCatalogAppRegistryClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension ServiceCatalogAppRegistryClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension ServiceCatalogAppRegistryClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension ServiceCatalogAppRegistryClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension ServiceCatalogAppRegistryClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension ServiceCatalogAppRegistryClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension ServiceCatalogAppRegistryClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension ServiceCatalogAppRegistryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -460,6 +481,8 @@ extension ServiceCatalogAppRegistryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -534,6 +557,8 @@ extension ServiceCatalogAppRegistryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -608,6 +633,8 @@ extension ServiceCatalogAppRegistryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -681,6 +708,8 @@ extension ServiceCatalogAppRegistryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -750,6 +779,8 @@ extension ServiceCatalogAppRegistryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -819,6 +850,8 @@ extension ServiceCatalogAppRegistryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -905,6 +938,8 @@ extension ServiceCatalogAppRegistryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -975,6 +1010,8 @@ extension ServiceCatalogAppRegistryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -1044,6 +1081,8 @@ extension ServiceCatalogAppRegistryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -1115,6 +1154,8 @@ extension ServiceCatalogAppRegistryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -1182,6 +1223,8 @@ extension ServiceCatalogAppRegistryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -1250,6 +1293,8 @@ extension ServiceCatalogAppRegistryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -1320,6 +1365,8 @@ extension ServiceCatalogAppRegistryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -1390,6 +1437,8 @@ extension ServiceCatalogAppRegistryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -1459,6 +1508,8 @@ extension ServiceCatalogAppRegistryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -1529,6 +1580,8 @@ extension ServiceCatalogAppRegistryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -1599,6 +1652,8 @@ extension ServiceCatalogAppRegistryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -1668,6 +1723,8 @@ extension ServiceCatalogAppRegistryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -1742,6 +1799,8 @@ extension ServiceCatalogAppRegistryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -1811,6 +1870,8 @@ extension ServiceCatalogAppRegistryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -1883,6 +1944,8 @@ extension ServiceCatalogAppRegistryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -1955,6 +2018,8 @@ extension ServiceCatalogAppRegistryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() @@ -2028,6 +2093,8 @@ extension ServiceCatalogAppRegistryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicecatalog") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSServiceDiscovery/Package.swift.txt b/Sources/Services/AWSServiceDiscovery/Package.swift.txt index 1ff70f8b23c..f9675676a5d 100644 --- a/Sources/Services/AWSServiceDiscovery/Package.swift.txt +++ b/Sources/Services/AWSServiceDiscovery/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSServiceDiscovery/Sources/AWSServiceDiscovery/ServiceDiscoveryClient.swift b/Sources/Services/AWSServiceDiscovery/Sources/AWSServiceDiscovery/ServiceDiscoveryClient.swift index 117ba22e370..833b5156efc 100644 --- a/Sources/Services/AWSServiceDiscovery/Sources/AWSServiceDiscovery/ServiceDiscoveryClient.swift +++ b/Sources/Services/AWSServiceDiscovery/Sources/AWSServiceDiscovery/ServiceDiscoveryClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ServiceDiscoveryClient: ClientRuntime.Client { public static let clientName = "ServiceDiscoveryClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ServiceDiscoveryClient.ServiceDiscoveryClientConfiguration let serviceName = "ServiceDiscovery" @@ -94,6 +95,8 @@ extension ServiceDiscoveryClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension ServiceDiscoveryClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension ServiceDiscoveryClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension ServiceDiscoveryClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension ServiceDiscoveryClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension ServiceDiscoveryClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension ServiceDiscoveryClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension ServiceDiscoveryClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension ServiceDiscoveryClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension ServiceDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicediscovery") .withSigningRegion(value: config.signingRegion) .build() @@ -447,6 +468,8 @@ extension ServiceDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicediscovery") .withSigningRegion(value: config.signingRegion) .build() @@ -523,6 +546,8 @@ extension ServiceDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicediscovery") .withSigningRegion(value: config.signingRegion) .build() @@ -619,6 +644,8 @@ extension ServiceDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicediscovery") .withSigningRegion(value: config.signingRegion) .build() @@ -694,6 +721,8 @@ extension ServiceDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicediscovery") .withSigningRegion(value: config.signingRegion) .build() @@ -767,6 +796,8 @@ extension ServiceDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicediscovery") .withSigningRegion(value: config.signingRegion) .build() @@ -839,6 +870,8 @@ extension ServiceDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicediscovery") .withSigningRegion(value: config.signingRegion) .build() @@ -914,6 +947,8 @@ extension ServiceDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicediscovery") .withSigningRegion(value: config.signingRegion) .build() @@ -988,6 +1023,8 @@ extension ServiceDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicediscovery") .withSigningRegion(value: config.signingRegion) .build() @@ -1062,6 +1099,8 @@ extension ServiceDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicediscovery") .withSigningRegion(value: config.signingRegion) .build() @@ -1135,6 +1174,8 @@ extension ServiceDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicediscovery") .withSigningRegion(value: config.signingRegion) .build() @@ -1208,6 +1249,8 @@ extension ServiceDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicediscovery") .withSigningRegion(value: config.signingRegion) .build() @@ -1280,6 +1323,8 @@ extension ServiceDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicediscovery") .withSigningRegion(value: config.signingRegion) .build() @@ -1352,6 +1397,8 @@ extension ServiceDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicediscovery") .withSigningRegion(value: config.signingRegion) .build() @@ -1424,6 +1471,8 @@ extension ServiceDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicediscovery") .withSigningRegion(value: config.signingRegion) .build() @@ -1496,6 +1545,8 @@ extension ServiceDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicediscovery") .withSigningRegion(value: config.signingRegion) .build() @@ -1568,6 +1619,8 @@ extension ServiceDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicediscovery") .withSigningRegion(value: config.signingRegion) .build() @@ -1639,6 +1692,8 @@ extension ServiceDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicediscovery") .withSigningRegion(value: config.signingRegion) .build() @@ -1710,6 +1765,8 @@ extension ServiceDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicediscovery") .withSigningRegion(value: config.signingRegion) .build() @@ -1781,6 +1838,8 @@ extension ServiceDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicediscovery") .withSigningRegion(value: config.signingRegion) .build() @@ -1853,6 +1912,8 @@ extension ServiceDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicediscovery") .withSigningRegion(value: config.signingRegion) .build() @@ -1946,6 +2007,8 @@ extension ServiceDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicediscovery") .withSigningRegion(value: config.signingRegion) .build() @@ -2020,6 +2083,8 @@ extension ServiceDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicediscovery") .withSigningRegion(value: config.signingRegion) .build() @@ -2092,6 +2157,8 @@ extension ServiceDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicediscovery") .withSigningRegion(value: config.signingRegion) .build() @@ -2166,6 +2233,8 @@ extension ServiceDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicediscovery") .withSigningRegion(value: config.signingRegion) .build() @@ -2241,6 +2310,8 @@ extension ServiceDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicediscovery") .withSigningRegion(value: config.signingRegion) .build() @@ -2315,6 +2386,8 @@ extension ServiceDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicediscovery") .withSigningRegion(value: config.signingRegion) .build() @@ -2390,6 +2463,8 @@ extension ServiceDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicediscovery") .withSigningRegion(value: config.signingRegion) .build() @@ -2478,6 +2553,8 @@ extension ServiceDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicediscovery") .withSigningRegion(value: config.signingRegion) .build() @@ -2551,6 +2628,8 @@ extension ServiceDiscoveryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicediscovery") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSServiceQuotas/Package.swift.txt b/Sources/Services/AWSServiceQuotas/Package.swift.txt index b57806fdfac..712027fce72 100644 --- a/Sources/Services/AWSServiceQuotas/Package.swift.txt +++ b/Sources/Services/AWSServiceQuotas/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSServiceQuotas/Sources/AWSServiceQuotas/ServiceQuotasClient.swift b/Sources/Services/AWSServiceQuotas/Sources/AWSServiceQuotas/ServiceQuotasClient.swift index 4776cf676db..3cc09690e2d 100644 --- a/Sources/Services/AWSServiceQuotas/Sources/AWSServiceQuotas/ServiceQuotasClient.swift +++ b/Sources/Services/AWSServiceQuotas/Sources/AWSServiceQuotas/ServiceQuotasClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ServiceQuotasClient: ClientRuntime.Client { public static let clientName = "ServiceQuotasClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ServiceQuotasClient.ServiceQuotasClientConfiguration let serviceName = "Service Quotas" @@ -93,6 +94,8 @@ extension ServiceQuotasClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension ServiceQuotasClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension ServiceQuotasClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension ServiceQuotasClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension ServiceQuotasClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension ServiceQuotasClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension ServiceQuotasClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension ServiceQuotasClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension ServiceQuotasClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension ServiceQuotasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicequotas") .withSigningRegion(value: config.signingRegion) .build() @@ -452,6 +473,8 @@ extension ServiceQuotasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicequotas") .withSigningRegion(value: config.signingRegion) .build() @@ -530,6 +553,8 @@ extension ServiceQuotasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicequotas") .withSigningRegion(value: config.signingRegion) .build() @@ -605,6 +630,8 @@ extension ServiceQuotasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicequotas") .withSigningRegion(value: config.signingRegion) .build() @@ -683,6 +710,8 @@ extension ServiceQuotasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicequotas") .withSigningRegion(value: config.signingRegion) .build() @@ -758,6 +787,8 @@ extension ServiceQuotasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicequotas") .withSigningRegion(value: config.signingRegion) .build() @@ -833,6 +864,8 @@ extension ServiceQuotasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicequotas") .withSigningRegion(value: config.signingRegion) .build() @@ -912,6 +945,8 @@ extension ServiceQuotasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicequotas") .withSigningRegion(value: config.signingRegion) .build() @@ -988,6 +1023,8 @@ extension ServiceQuotasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicequotas") .withSigningRegion(value: config.signingRegion) .build() @@ -1064,6 +1101,8 @@ extension ServiceQuotasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicequotas") .withSigningRegion(value: config.signingRegion) .build() @@ -1140,6 +1179,8 @@ extension ServiceQuotasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicequotas") .withSigningRegion(value: config.signingRegion) .build() @@ -1218,6 +1259,8 @@ extension ServiceQuotasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicequotas") .withSigningRegion(value: config.signingRegion) .build() @@ -1294,6 +1337,8 @@ extension ServiceQuotasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicequotas") .withSigningRegion(value: config.signingRegion) .build() @@ -1369,6 +1414,8 @@ extension ServiceQuotasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicequotas") .withSigningRegion(value: config.signingRegion) .build() @@ -1444,6 +1491,8 @@ extension ServiceQuotasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicequotas") .withSigningRegion(value: config.signingRegion) .build() @@ -1524,6 +1573,8 @@ extension ServiceQuotasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicequotas") .withSigningRegion(value: config.signingRegion) .build() @@ -1603,6 +1654,8 @@ extension ServiceQuotasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicequotas") .withSigningRegion(value: config.signingRegion) .build() @@ -1680,6 +1733,8 @@ extension ServiceQuotasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicequotas") .withSigningRegion(value: config.signingRegion) .build() @@ -1755,6 +1810,8 @@ extension ServiceQuotasClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "servicequotas") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSShield/Package.swift.txt b/Sources/Services/AWSShield/Package.swift.txt index 95f9edffb38..12f47471d79 100644 --- a/Sources/Services/AWSShield/Package.swift.txt +++ b/Sources/Services/AWSShield/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSShield/Sources/AWSShield/ShieldClient.swift b/Sources/Services/AWSShield/Sources/AWSShield/ShieldClient.swift index cef214f5111..46aef4937a9 100644 --- a/Sources/Services/AWSShield/Sources/AWSShield/ShieldClient.swift +++ b/Sources/Services/AWSShield/Sources/AWSShield/ShieldClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class ShieldClient: ClientRuntime.Client { public static let clientName = "ShieldClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: ShieldClient.ShieldClientConfiguration let serviceName = "Shield" @@ -93,6 +94,8 @@ extension ShieldClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension ShieldClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension ShieldClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension ShieldClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension ShieldClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension ShieldClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension ShieldClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension ShieldClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension ShieldClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() @@ -449,6 +470,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() @@ -525,6 +548,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() @@ -600,6 +625,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() @@ -678,6 +705,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() @@ -754,6 +783,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() @@ -826,6 +857,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() @@ -899,6 +932,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() @@ -972,6 +1007,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() @@ -1046,6 +1083,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() @@ -1118,6 +1157,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() @@ -1189,6 +1230,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() @@ -1261,6 +1304,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() @@ -1333,6 +1378,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() @@ -1406,6 +1453,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() @@ -1478,6 +1527,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() @@ -1550,6 +1601,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() @@ -1625,6 +1678,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() @@ -1700,6 +1755,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() @@ -1776,6 +1833,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() @@ -1850,6 +1909,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() @@ -1925,6 +1986,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() @@ -2001,6 +2064,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() @@ -2076,6 +2141,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() @@ -2147,6 +2214,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() @@ -2220,6 +2289,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() @@ -2293,6 +2364,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() @@ -2366,6 +2439,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() @@ -2439,6 +2514,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() @@ -2512,6 +2589,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() @@ -2586,6 +2665,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() @@ -2660,6 +2741,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() @@ -2735,6 +2818,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() @@ -2809,6 +2894,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() @@ -2883,6 +2970,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() @@ -2958,6 +3047,8 @@ extension ShieldClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "shield") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSigner/Package.swift.txt b/Sources/Services/AWSSigner/Package.swift.txt index 61d13a44e3e..571f78e9229 100644 --- a/Sources/Services/AWSSigner/Package.swift.txt +++ b/Sources/Services/AWSSigner/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSigner/Sources/AWSSigner/SignerClient.swift b/Sources/Services/AWSSigner/Sources/AWSSigner/SignerClient.swift index 7d903860155..045959cb190 100644 --- a/Sources/Services/AWSSigner/Sources/AWSSigner/SignerClient.swift +++ b/Sources/Services/AWSSigner/Sources/AWSSigner/SignerClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SignerClient: ClientRuntime.Client { public static let clientName = "SignerClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SignerClient.SignerClientConfiguration let serviceName = "signer" @@ -95,6 +96,8 @@ extension SignerClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension SignerClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension SignerClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension SignerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension SignerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension SignerClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension SignerClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension SignerClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension SignerClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension SignerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "signer") .withSigningRegion(value: config.signingRegion) .build() @@ -447,6 +468,8 @@ extension SignerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "signer") .withSigningRegion(value: config.signingRegion) .build() @@ -517,6 +540,8 @@ extension SignerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "signer") .withSigningRegion(value: config.signingRegion) .build() @@ -587,6 +612,8 @@ extension SignerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "signer") .withSigningRegion(value: config.signingRegion) .build() @@ -658,6 +685,8 @@ extension SignerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "signer") .withSigningRegion(value: config.signingRegion) .build() @@ -728,6 +757,8 @@ extension SignerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "signer") .withSigningRegion(value: config.signingRegion) .build() @@ -800,6 +831,8 @@ extension SignerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "signer") .withSigningRegion(value: config.signingRegion) .build() @@ -871,6 +904,8 @@ extension SignerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "signer") .withSigningRegion(value: config.signingRegion) .build() @@ -942,6 +977,8 @@ extension SignerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "signer") .withSigningRegion(value: config.signingRegion) .build() @@ -1012,6 +1049,8 @@ extension SignerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "signer") .withSigningRegion(value: config.signingRegion) .build() @@ -1083,6 +1122,8 @@ extension SignerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "signer") .withSigningRegion(value: config.signingRegion) .build() @@ -1154,6 +1195,8 @@ extension SignerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "signer") .withSigningRegion(value: config.signingRegion) .build() @@ -1229,6 +1272,8 @@ extension SignerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "signer") .withSigningRegion(value: config.signingRegion) .build() @@ -1301,6 +1346,8 @@ extension SignerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "signer") .withSigningRegion(value: config.signingRegion) .build() @@ -1375,6 +1422,8 @@ extension SignerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "signer") .withSigningRegion(value: config.signingRegion) .build() @@ -1449,6 +1498,8 @@ extension SignerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "signer") .withSigningRegion(value: config.signingRegion) .build() @@ -1539,6 +1590,8 @@ extension SignerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "signer") .withSigningRegion(value: config.signingRegion) .build() @@ -1613,6 +1666,8 @@ extension SignerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "signer") .withSigningRegion(value: config.signingRegion) .build() @@ -1686,6 +1741,8 @@ extension SignerClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "signer") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSimSpaceWeaver/Package.swift.txt b/Sources/Services/AWSSimSpaceWeaver/Package.swift.txt index e42e9e57804..65e03ee59c0 100644 --- a/Sources/Services/AWSSimSpaceWeaver/Package.swift.txt +++ b/Sources/Services/AWSSimSpaceWeaver/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSimSpaceWeaver/Sources/AWSSimSpaceWeaver/SimSpaceWeaverClient.swift b/Sources/Services/AWSSimSpaceWeaver/Sources/AWSSimSpaceWeaver/SimSpaceWeaverClient.swift index 8b3802364b1..dd062ae364d 100644 --- a/Sources/Services/AWSSimSpaceWeaver/Sources/AWSSimSpaceWeaver/SimSpaceWeaverClient.swift +++ b/Sources/Services/AWSSimSpaceWeaver/Sources/AWSSimSpaceWeaver/SimSpaceWeaverClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SimSpaceWeaverClient: ClientRuntime.Client { public static let clientName = "SimSpaceWeaverClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SimSpaceWeaverClient.SimSpaceWeaverClientConfiguration let serviceName = "SimSpaceWeaver" @@ -95,6 +96,8 @@ extension SimSpaceWeaverClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension SimSpaceWeaverClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension SimSpaceWeaverClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension SimSpaceWeaverClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension SimSpaceWeaverClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension SimSpaceWeaverClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension SimSpaceWeaverClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension SimSpaceWeaverClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension SimSpaceWeaverClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -384,6 +403,8 @@ extension SimSpaceWeaverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "simspaceweaver") .withSigningRegion(value: config.signingRegion) .build() @@ -458,6 +479,8 @@ extension SimSpaceWeaverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "simspaceweaver") .withSigningRegion(value: config.signingRegion) .build() @@ -530,6 +553,8 @@ extension SimSpaceWeaverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "simspaceweaver") .withSigningRegion(value: config.signingRegion) .build() @@ -601,6 +626,8 @@ extension SimSpaceWeaverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "simspaceweaver") .withSigningRegion(value: config.signingRegion) .build() @@ -672,6 +699,8 @@ extension SimSpaceWeaverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "simspaceweaver") .withSigningRegion(value: config.signingRegion) .build() @@ -743,6 +772,8 @@ extension SimSpaceWeaverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "simspaceweaver") .withSigningRegion(value: config.signingRegion) .build() @@ -813,6 +844,8 @@ extension SimSpaceWeaverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "simspaceweaver") .withSigningRegion(value: config.signingRegion) .build() @@ -882,6 +915,8 @@ extension SimSpaceWeaverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "simspaceweaver") .withSigningRegion(value: config.signingRegion) .build() @@ -953,6 +988,8 @@ extension SimSpaceWeaverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "simspaceweaver") .withSigningRegion(value: config.signingRegion) .build() @@ -1028,6 +1065,8 @@ extension SimSpaceWeaverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "simspaceweaver") .withSigningRegion(value: config.signingRegion) .build() @@ -1102,6 +1141,8 @@ extension SimSpaceWeaverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "simspaceweaver") .withSigningRegion(value: config.signingRegion) .build() @@ -1177,6 +1218,8 @@ extension SimSpaceWeaverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "simspaceweaver") .withSigningRegion(value: config.signingRegion) .build() @@ -1251,6 +1294,8 @@ extension SimSpaceWeaverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "simspaceweaver") .withSigningRegion(value: config.signingRegion) .build() @@ -1325,6 +1370,8 @@ extension SimSpaceWeaverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "simspaceweaver") .withSigningRegion(value: config.signingRegion) .build() @@ -1397,6 +1444,8 @@ extension SimSpaceWeaverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "simspaceweaver") .withSigningRegion(value: config.signingRegion) .build() @@ -1468,6 +1517,8 @@ extension SimSpaceWeaverClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "simspaceweaver") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSnowDeviceManagement/Package.swift.txt b/Sources/Services/AWSSnowDeviceManagement/Package.swift.txt index 57ee028fdaf..19818649a0b 100644 --- a/Sources/Services/AWSSnowDeviceManagement/Package.swift.txt +++ b/Sources/Services/AWSSnowDeviceManagement/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSnowDeviceManagement/Sources/AWSSnowDeviceManagement/SnowDeviceManagementClient.swift b/Sources/Services/AWSSnowDeviceManagement/Sources/AWSSnowDeviceManagement/SnowDeviceManagementClient.swift index 4d7b11996dc..0faf43317b9 100644 --- a/Sources/Services/AWSSnowDeviceManagement/Sources/AWSSnowDeviceManagement/SnowDeviceManagementClient.swift +++ b/Sources/Services/AWSSnowDeviceManagement/Sources/AWSSnowDeviceManagement/SnowDeviceManagementClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SnowDeviceManagementClient: ClientRuntime.Client { public static let clientName = "SnowDeviceManagementClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SnowDeviceManagementClient.SnowDeviceManagementClientConfiguration let serviceName = "Snow Device Management" @@ -95,6 +96,8 @@ extension SnowDeviceManagementClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension SnowDeviceManagementClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension SnowDeviceManagementClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension SnowDeviceManagementClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension SnowDeviceManagementClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension SnowDeviceManagementClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension SnowDeviceManagementClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension SnowDeviceManagementClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension SnowDeviceManagementClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension SnowDeviceManagementClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snow-device-management") .withSigningRegion(value: config.signingRegion) .build() @@ -444,6 +465,8 @@ extension SnowDeviceManagementClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snow-device-management") .withSigningRegion(value: config.signingRegion) .build() @@ -519,6 +542,8 @@ extension SnowDeviceManagementClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snow-device-management") .withSigningRegion(value: config.signingRegion) .build() @@ -590,6 +615,8 @@ extension SnowDeviceManagementClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snow-device-management") .withSigningRegion(value: config.signingRegion) .build() @@ -664,6 +691,8 @@ extension SnowDeviceManagementClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snow-device-management") .withSigningRegion(value: config.signingRegion) .build() @@ -735,6 +764,8 @@ extension SnowDeviceManagementClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snow-device-management") .withSigningRegion(value: config.signingRegion) .build() @@ -806,6 +837,8 @@ extension SnowDeviceManagementClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snow-device-management") .withSigningRegion(value: config.signingRegion) .build() @@ -877,6 +910,8 @@ extension SnowDeviceManagementClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snow-device-management") .withSigningRegion(value: config.signingRegion) .build() @@ -949,6 +984,8 @@ extension SnowDeviceManagementClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snow-device-management") .withSigningRegion(value: config.signingRegion) .build() @@ -1019,6 +1056,8 @@ extension SnowDeviceManagementClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snow-device-management") .withSigningRegion(value: config.signingRegion) .build() @@ -1089,6 +1128,8 @@ extension SnowDeviceManagementClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snow-device-management") .withSigningRegion(value: config.signingRegion) .build() @@ -1159,6 +1200,8 @@ extension SnowDeviceManagementClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snow-device-management") .withSigningRegion(value: config.signingRegion) .build() @@ -1231,6 +1274,8 @@ extension SnowDeviceManagementClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snow-device-management") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSnowball/Package.swift.txt b/Sources/Services/AWSSnowball/Package.swift.txt index ff28d5b413c..70fc65f61ed 100644 --- a/Sources/Services/AWSSnowball/Package.swift.txt +++ b/Sources/Services/AWSSnowball/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSnowball/Sources/AWSSnowball/SnowballClient.swift b/Sources/Services/AWSSnowball/Sources/AWSSnowball/SnowballClient.swift index eed6975e10f..c97152e9ae5 100644 --- a/Sources/Services/AWSSnowball/Sources/AWSSnowball/SnowballClient.swift +++ b/Sources/Services/AWSSnowball/Sources/AWSSnowball/SnowballClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SnowballClient: ClientRuntime.Client { public static let clientName = "SnowballClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SnowballClient.SnowballClientConfiguration let serviceName = "Snowball" @@ -94,6 +95,8 @@ extension SnowballClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension SnowballClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension SnowballClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension SnowballClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension SnowballClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension SnowballClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension SnowballClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension SnowballClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension SnowballClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -369,6 +388,8 @@ extension SnowballClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snowball") .withSigningRegion(value: config.signingRegion) .build() @@ -442,6 +463,8 @@ extension SnowballClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snowball") .withSigningRegion(value: config.signingRegion) .build() @@ -514,6 +537,8 @@ extension SnowballClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snowball") .withSigningRegion(value: config.signingRegion) .build() @@ -588,6 +613,8 @@ extension SnowballClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snowball") .withSigningRegion(value: config.signingRegion) .build() @@ -750,6 +777,8 @@ extension SnowballClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snowball") .withSigningRegion(value: config.signingRegion) .build() @@ -821,6 +850,8 @@ extension SnowballClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snowball") .withSigningRegion(value: config.signingRegion) .build() @@ -896,6 +927,8 @@ extension SnowballClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snowball") .withSigningRegion(value: config.signingRegion) .build() @@ -967,6 +1000,8 @@ extension SnowballClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snowball") .withSigningRegion(value: config.signingRegion) .build() @@ -1039,6 +1074,8 @@ extension SnowballClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snowball") .withSigningRegion(value: config.signingRegion) .build() @@ -1110,6 +1147,8 @@ extension SnowballClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snowball") .withSigningRegion(value: config.signingRegion) .build() @@ -1181,6 +1220,8 @@ extension SnowballClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snowball") .withSigningRegion(value: config.signingRegion) .build() @@ -1254,6 +1295,8 @@ extension SnowballClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snowball") .withSigningRegion(value: config.signingRegion) .build() @@ -1326,6 +1369,8 @@ extension SnowballClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snowball") .withSigningRegion(value: config.signingRegion) .build() @@ -1398,6 +1443,8 @@ extension SnowballClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snowball") .withSigningRegion(value: config.signingRegion) .build() @@ -1464,6 +1511,8 @@ extension SnowballClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snowball") .withSigningRegion(value: config.signingRegion) .build() @@ -1536,6 +1585,8 @@ extension SnowballClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snowball") .withSigningRegion(value: config.signingRegion) .build() @@ -1608,6 +1659,8 @@ extension SnowballClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snowball") .withSigningRegion(value: config.signingRegion) .build() @@ -1679,6 +1732,8 @@ extension SnowballClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snowball") .withSigningRegion(value: config.signingRegion) .build() @@ -1751,6 +1806,8 @@ extension SnowballClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snowball") .withSigningRegion(value: config.signingRegion) .build() @@ -1822,6 +1879,8 @@ extension SnowballClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snowball") .withSigningRegion(value: config.signingRegion) .build() @@ -1894,6 +1953,8 @@ extension SnowballClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snowball") .withSigningRegion(value: config.signingRegion) .build() @@ -1965,6 +2026,8 @@ extension SnowballClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snowball") .withSigningRegion(value: config.signingRegion) .build() @@ -2037,6 +2100,8 @@ extension SnowballClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snowball") .withSigningRegion(value: config.signingRegion) .build() @@ -2112,6 +2177,8 @@ extension SnowballClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snowball") .withSigningRegion(value: config.signingRegion) .build() @@ -2188,6 +2255,8 @@ extension SnowballClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snowball") .withSigningRegion(value: config.signingRegion) .build() @@ -2260,6 +2329,8 @@ extension SnowballClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snowball") .withSigningRegion(value: config.signingRegion) .build() @@ -2331,6 +2402,8 @@ extension SnowballClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "snowball") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSocialMessaging/Package.swift.txt b/Sources/Services/AWSSocialMessaging/Package.swift.txt index 917b56736ce..75faef70940 100644 --- a/Sources/Services/AWSSocialMessaging/Package.swift.txt +++ b/Sources/Services/AWSSocialMessaging/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSocialMessaging/Sources/AWSSocialMessaging/SocialMessagingClient.swift b/Sources/Services/AWSSocialMessaging/Sources/AWSSocialMessaging/SocialMessagingClient.swift index 3a5adfceba2..e74b196ddef 100644 --- a/Sources/Services/AWSSocialMessaging/Sources/AWSSocialMessaging/SocialMessagingClient.swift +++ b/Sources/Services/AWSSocialMessaging/Sources/AWSSocialMessaging/SocialMessagingClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SocialMessagingClient: ClientRuntime.Client { public static let clientName = "SocialMessagingClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SocialMessagingClient.SocialMessagingClientConfiguration let serviceName = "SocialMessaging" @@ -94,6 +95,8 @@ extension SocialMessagingClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension SocialMessagingClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension SocialMessagingClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension SocialMessagingClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension SocialMessagingClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension SocialMessagingClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension SocialMessagingClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension SocialMessagingClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension SocialMessagingClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension SocialMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "social-messaging") .withSigningRegion(value: config.signingRegion) .build() @@ -448,6 +469,8 @@ extension SocialMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "social-messaging") .withSigningRegion(value: config.signingRegion) .build() @@ -521,6 +544,8 @@ extension SocialMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "social-messaging") .withSigningRegion(value: config.signingRegion) .build() @@ -595,6 +620,8 @@ extension SocialMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "social-messaging") .withSigningRegion(value: config.signingRegion) .build() @@ -669,6 +696,8 @@ extension SocialMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "social-messaging") .withSigningRegion(value: config.signingRegion) .build() @@ -744,6 +773,8 @@ extension SocialMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "social-messaging") .withSigningRegion(value: config.signingRegion) .build() @@ -819,6 +850,8 @@ extension SocialMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "social-messaging") .withSigningRegion(value: config.signingRegion) .build() @@ -891,6 +924,8 @@ extension SocialMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "social-messaging") .withSigningRegion(value: config.signingRegion) .build() @@ -966,6 +1001,8 @@ extension SocialMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "social-messaging") .withSigningRegion(value: config.signingRegion) .build() @@ -1040,6 +1077,8 @@ extension SocialMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "social-messaging") .withSigningRegion(value: config.signingRegion) .build() @@ -1116,6 +1155,8 @@ extension SocialMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "social-messaging") .withSigningRegion(value: config.signingRegion) .build() @@ -1190,6 +1231,8 @@ extension SocialMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "social-messaging") .withSigningRegion(value: config.signingRegion) .build() @@ -1264,6 +1307,8 @@ extension SocialMessagingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "social-messaging") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSsmSap/Package.swift.txt b/Sources/Services/AWSSsmSap/Package.swift.txt index 5c1b2315fe3..d8066adefdd 100644 --- a/Sources/Services/AWSSsmSap/Package.swift.txt +++ b/Sources/Services/AWSSsmSap/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSsmSap/Sources/AWSSsmSap/SsmSapClient.swift b/Sources/Services/AWSSsmSap/Sources/AWSSsmSap/SsmSapClient.swift index f6c3718e953..7a80ef33d9b 100644 --- a/Sources/Services/AWSSsmSap/Sources/AWSSsmSap/SsmSapClient.swift +++ b/Sources/Services/AWSSsmSap/Sources/AWSSsmSap/SsmSapClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SsmSapClient: ClientRuntime.Client { public static let clientName = "SsmSapClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SsmSapClient.SsmSapClientConfiguration let serviceName = "Ssm Sap" @@ -93,6 +94,8 @@ extension SsmSapClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension SsmSapClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension SsmSapClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension SsmSapClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension SsmSapClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension SsmSapClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension SsmSapClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension SsmSapClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension SsmSapClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -368,6 +387,8 @@ extension SsmSapClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-sap") .withSigningRegion(value: config.signingRegion) .build() @@ -440,6 +461,8 @@ extension SsmSapClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-sap") .withSigningRegion(value: config.signingRegion) .build() @@ -511,6 +534,8 @@ extension SsmSapClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-sap") .withSigningRegion(value: config.signingRegion) .build() @@ -583,6 +608,8 @@ extension SsmSapClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-sap") .withSigningRegion(value: config.signingRegion) .build() @@ -654,6 +681,8 @@ extension SsmSapClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-sap") .withSigningRegion(value: config.signingRegion) .build() @@ -725,6 +754,8 @@ extension SsmSapClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-sap") .withSigningRegion(value: config.signingRegion) .build() @@ -797,6 +828,8 @@ extension SsmSapClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-sap") .withSigningRegion(value: config.signingRegion) .build() @@ -869,6 +902,8 @@ extension SsmSapClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-sap") .withSigningRegion(value: config.signingRegion) .build() @@ -942,6 +977,8 @@ extension SsmSapClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-sap") .withSigningRegion(value: config.signingRegion) .build() @@ -1014,6 +1051,8 @@ extension SsmSapClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-sap") .withSigningRegion(value: config.signingRegion) .build() @@ -1085,6 +1124,8 @@ extension SsmSapClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-sap") .withSigningRegion(value: config.signingRegion) .build() @@ -1156,6 +1197,8 @@ extension SsmSapClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-sap") .withSigningRegion(value: config.signingRegion) .build() @@ -1228,6 +1271,8 @@ extension SsmSapClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-sap") .withSigningRegion(value: config.signingRegion) .build() @@ -1297,6 +1342,8 @@ extension SsmSapClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-sap") .withSigningRegion(value: config.signingRegion) .build() @@ -1370,6 +1417,8 @@ extension SsmSapClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-sap") .withSigningRegion(value: config.signingRegion) .build() @@ -1443,6 +1492,8 @@ extension SsmSapClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-sap") .withSigningRegion(value: config.signingRegion) .build() @@ -1517,6 +1568,8 @@ extension SsmSapClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-sap") .withSigningRegion(value: config.signingRegion) .build() @@ -1590,6 +1643,8 @@ extension SsmSapClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-sap") .withSigningRegion(value: config.signingRegion) .build() @@ -1662,6 +1717,8 @@ extension SsmSapClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-sap") .withSigningRegion(value: config.signingRegion) .build() @@ -1734,6 +1791,8 @@ extension SsmSapClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-sap") .withSigningRegion(value: config.signingRegion) .build() @@ -1806,6 +1865,8 @@ extension SsmSapClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "ssm-sap") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSStorageGateway/Package.swift.txt b/Sources/Services/AWSStorageGateway/Package.swift.txt index 42d7f61c627..f605829e8c8 100644 --- a/Sources/Services/AWSStorageGateway/Package.swift.txt +++ b/Sources/Services/AWSStorageGateway/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSStorageGateway/Sources/AWSStorageGateway/StorageGatewayClient.swift b/Sources/Services/AWSStorageGateway/Sources/AWSStorageGateway/StorageGatewayClient.swift index 27444e646a0..ee7baa4912c 100644 --- a/Sources/Services/AWSStorageGateway/Sources/AWSStorageGateway/StorageGatewayClient.swift +++ b/Sources/Services/AWSStorageGateway/Sources/AWSStorageGateway/StorageGatewayClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class StorageGatewayClient: ClientRuntime.Client { public static let clientName = "StorageGatewayClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: StorageGatewayClient.StorageGatewayClientConfiguration let serviceName = "Storage Gateway" @@ -94,6 +95,8 @@ extension StorageGatewayClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension StorageGatewayClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension StorageGatewayClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension StorageGatewayClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension StorageGatewayClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension StorageGatewayClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension StorageGatewayClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension StorageGatewayClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension StorageGatewayClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -382,6 +401,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -454,6 +475,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -539,6 +562,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -611,6 +636,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -685,6 +712,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -757,6 +786,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -829,6 +860,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -901,6 +934,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -973,6 +1008,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1045,6 +1082,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1117,6 +1156,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1189,6 +1230,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1261,6 +1304,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1338,6 +1383,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1411,6 +1458,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1493,6 +1542,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1565,6 +1616,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1637,6 +1690,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1709,6 +1764,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1781,6 +1838,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1855,6 +1914,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -1931,6 +1992,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2003,6 +2066,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2075,6 +2140,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2147,6 +2214,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2219,6 +2288,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2291,6 +2362,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2363,6 +2436,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2435,6 +2510,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2507,6 +2584,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2579,6 +2658,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2651,6 +2732,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2723,6 +2806,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2795,6 +2880,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2867,6 +2954,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -2939,6 +3028,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3011,6 +3102,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3095,6 +3188,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3167,6 +3262,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3239,6 +3336,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3311,6 +3410,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3383,6 +3484,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3455,6 +3558,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3527,6 +3632,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3599,6 +3706,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3671,6 +3780,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3743,6 +3854,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3815,6 +3928,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3887,6 +4002,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -3959,6 +4076,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4031,6 +4150,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4103,6 +4224,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4175,6 +4298,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4247,6 +4372,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4319,6 +4446,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4391,6 +4520,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4467,6 +4598,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4539,6 +4672,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4611,6 +4746,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4683,6 +4820,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4765,6 +4904,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4837,6 +4978,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4909,6 +5052,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -4989,6 +5134,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -5061,6 +5208,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -5140,6 +5289,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -5212,6 +5363,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -5284,6 +5437,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -5356,6 +5511,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -5428,6 +5585,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -5500,6 +5659,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -5572,6 +5733,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -5644,6 +5807,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -5716,6 +5881,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -5788,6 +5955,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -5860,6 +6029,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -5936,6 +6107,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -6008,6 +6181,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -6088,6 +6263,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -6160,6 +6337,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -6232,6 +6411,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -6304,6 +6485,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -6386,6 +6569,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -6468,6 +6653,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -6540,6 +6727,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -6612,6 +6801,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -6684,6 +6875,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -6756,6 +6949,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -6836,6 +7031,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() @@ -6908,6 +7105,8 @@ extension StorageGatewayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "storagegateway") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSupplyChain/Package.swift.txt b/Sources/Services/AWSSupplyChain/Package.swift.txt index 5bbbdafe730..68f4e30c28c 100644 --- a/Sources/Services/AWSSupplyChain/Package.swift.txt +++ b/Sources/Services/AWSSupplyChain/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSupplyChain/Sources/AWSSupplyChain/SupplyChainClient.swift b/Sources/Services/AWSSupplyChain/Sources/AWSSupplyChain/SupplyChainClient.swift index 61b8c17a31e..3aa5c4d1946 100644 --- a/Sources/Services/AWSSupplyChain/Sources/AWSSupplyChain/SupplyChainClient.swift +++ b/Sources/Services/AWSSupplyChain/Sources/AWSSupplyChain/SupplyChainClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SupplyChainClient: ClientRuntime.Client { public static let clientName = "SupplyChainClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SupplyChainClient.SupplyChainClientConfiguration let serviceName = "SupplyChain" @@ -95,6 +96,8 @@ extension SupplyChainClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension SupplyChainClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension SupplyChainClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension SupplyChainClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension SupplyChainClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension SupplyChainClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension SupplyChainClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension SupplyChainClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension SupplyChainClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension SupplyChainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "scn") .withSigningRegion(value: config.signingRegion) .build() @@ -451,6 +472,8 @@ extension SupplyChainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "scn") .withSigningRegion(value: config.signingRegion) .build() @@ -527,6 +550,8 @@ extension SupplyChainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "scn") .withSigningRegion(value: config.signingRegion) .build() @@ -603,6 +628,8 @@ extension SupplyChainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "scn") .withSigningRegion(value: config.signingRegion) .build() @@ -680,6 +707,8 @@ extension SupplyChainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "scn") .withSigningRegion(value: config.signingRegion) .build() @@ -753,6 +782,8 @@ extension SupplyChainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "scn") .withSigningRegion(value: config.signingRegion) .build() @@ -826,6 +857,8 @@ extension SupplyChainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "scn") .withSigningRegion(value: config.signingRegion) .build() @@ -899,6 +932,8 @@ extension SupplyChainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "scn") .withSigningRegion(value: config.signingRegion) .build() @@ -972,6 +1007,8 @@ extension SupplyChainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "scn") .withSigningRegion(value: config.signingRegion) .build() @@ -1045,6 +1082,8 @@ extension SupplyChainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "scn") .withSigningRegion(value: config.signingRegion) .build() @@ -1118,6 +1157,8 @@ extension SupplyChainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "scn") .withSigningRegion(value: config.signingRegion) .build() @@ -1191,6 +1232,8 @@ extension SupplyChainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "scn") .withSigningRegion(value: config.signingRegion) .build() @@ -1265,6 +1308,8 @@ extension SupplyChainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "scn") .withSigningRegion(value: config.signingRegion) .build() @@ -1339,6 +1384,8 @@ extension SupplyChainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "scn") .withSigningRegion(value: config.signingRegion) .build() @@ -1413,6 +1460,8 @@ extension SupplyChainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "scn") .withSigningRegion(value: config.signingRegion) .build() @@ -1486,6 +1535,8 @@ extension SupplyChainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "scn") .withSigningRegion(value: config.signingRegion) .build() @@ -1563,6 +1614,8 @@ extension SupplyChainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "scn") .withSigningRegion(value: config.signingRegion) .build() @@ -1639,6 +1692,8 @@ extension SupplyChainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "scn") .withSigningRegion(value: config.signingRegion) .build() @@ -1713,6 +1768,8 @@ extension SupplyChainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "scn") .withSigningRegion(value: config.signingRegion) .build() @@ -1789,6 +1846,8 @@ extension SupplyChainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "scn") .withSigningRegion(value: config.signingRegion) .build() @@ -1865,6 +1924,8 @@ extension SupplyChainClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "scn") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSupport/Package.swift.txt b/Sources/Services/AWSSupport/Package.swift.txt index 1ac79b1c4b1..f36bd6c568b 100644 --- a/Sources/Services/AWSSupport/Package.swift.txt +++ b/Sources/Services/AWSSupport/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSupport/Sources/AWSSupport/SupportClient.swift b/Sources/Services/AWSSupport/Sources/AWSSupport/SupportClient.swift index ad803392853..488d95161cb 100644 --- a/Sources/Services/AWSSupport/Sources/AWSSupport/SupportClient.swift +++ b/Sources/Services/AWSSupport/Sources/AWSSupport/SupportClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SupportClient: ClientRuntime.Client { public static let clientName = "SupportClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SupportClient.SupportClientConfiguration let serviceName = "Support" @@ -93,6 +94,8 @@ extension SupportClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension SupportClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension SupportClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension SupportClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension SupportClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension SupportClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension SupportClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension SupportClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension SupportClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension SupportClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "support") .withSigningRegion(value: config.signingRegion) .build() @@ -452,6 +473,8 @@ extension SupportClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "support") .withSigningRegion(value: config.signingRegion) .build() @@ -537,6 +560,8 @@ extension SupportClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "support") .withSigningRegion(value: config.signingRegion) .build() @@ -614,6 +639,8 @@ extension SupportClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "support") .withSigningRegion(value: config.signingRegion) .build() @@ -697,6 +724,8 @@ extension SupportClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "support") .withSigningRegion(value: config.signingRegion) .build() @@ -773,6 +802,8 @@ extension SupportClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "support") .withSigningRegion(value: config.signingRegion) .build() @@ -849,6 +880,8 @@ extension SupportClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "support") .withSigningRegion(value: config.signingRegion) .build() @@ -924,6 +957,8 @@ extension SupportClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "support") .withSigningRegion(value: config.signingRegion) .build() @@ -999,6 +1034,8 @@ extension SupportClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "support") .withSigningRegion(value: config.signingRegion) .build() @@ -1075,6 +1112,8 @@ extension SupportClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "support") .withSigningRegion(value: config.signingRegion) .build() @@ -1154,6 +1193,8 @@ extension SupportClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "support") .withSigningRegion(value: config.signingRegion) .build() @@ -1251,6 +1292,8 @@ extension SupportClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "support") .withSigningRegion(value: config.signingRegion) .build() @@ -1330,6 +1373,8 @@ extension SupportClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "support") .withSigningRegion(value: config.signingRegion) .build() @@ -1411,6 +1456,8 @@ extension SupportClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "support") .withSigningRegion(value: config.signingRegion) .build() @@ -1489,6 +1536,8 @@ extension SupportClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "support") .withSigningRegion(value: config.signingRegion) .build() @@ -1565,6 +1614,8 @@ extension SupportClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "support") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSupportApp/Package.swift.txt b/Sources/Services/AWSSupportApp/Package.swift.txt index 13bf9b543a5..64390cfe23c 100644 --- a/Sources/Services/AWSSupportApp/Package.swift.txt +++ b/Sources/Services/AWSSupportApp/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSupportApp/Sources/AWSSupportApp/SupportAppClient.swift b/Sources/Services/AWSSupportApp/Sources/AWSSupportApp/SupportAppClient.swift index 1fbf8d48647..8cbe24bc3b2 100644 --- a/Sources/Services/AWSSupportApp/Sources/AWSSupportApp/SupportAppClient.swift +++ b/Sources/Services/AWSSupportApp/Sources/AWSSupportApp/SupportAppClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -62,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SupportAppClient: ClientRuntime.Client { public static let clientName = "SupportAppClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SupportAppClient.SupportAppClientConfiguration let serviceName = "Support App" @@ -92,6 +93,8 @@ extension SupportAppClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -117,6 +120,8 @@ extension SupportAppClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -140,6 +145,8 @@ extension SupportAppClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -166,6 +173,8 @@ extension SupportAppClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -190,6 +199,8 @@ extension SupportAppClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -216,6 +227,8 @@ extension SupportAppClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -240,6 +253,8 @@ extension SupportAppClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -267,6 +282,8 @@ extension SupportAppClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -294,6 +311,8 @@ extension SupportAppClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -388,6 +407,8 @@ extension SupportAppClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "supportapp") .withSigningRegion(value: config.signingRegion) .build() @@ -460,6 +481,8 @@ extension SupportAppClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "supportapp") .withSigningRegion(value: config.signingRegion) .build() @@ -543,6 +566,8 @@ extension SupportAppClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "supportapp") .withSigningRegion(value: config.signingRegion) .build() @@ -629,6 +654,8 @@ extension SupportAppClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "supportapp") .withSigningRegion(value: config.signingRegion) .build() @@ -699,6 +726,8 @@ extension SupportAppClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "supportapp") .withSigningRegion(value: config.signingRegion) .build() @@ -767,6 +796,8 @@ extension SupportAppClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "supportapp") .withSigningRegion(value: config.signingRegion) .build() @@ -838,6 +869,8 @@ extension SupportAppClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "supportapp") .withSigningRegion(value: config.signingRegion) .build() @@ -910,6 +943,8 @@ extension SupportAppClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "supportapp") .withSigningRegion(value: config.signingRegion) .build() @@ -1007,6 +1042,8 @@ extension SupportAppClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "supportapp") .withSigningRegion(value: config.signingRegion) .build() @@ -1093,6 +1130,8 @@ extension SupportAppClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "supportapp") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSSynthetics/Package.swift.txt b/Sources/Services/AWSSynthetics/Package.swift.txt index 45d6e5d8e6f..0ad7b544385 100644 --- a/Sources/Services/AWSSynthetics/Package.swift.txt +++ b/Sources/Services/AWSSynthetics/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSSynthetics/Sources/AWSSynthetics/SyntheticsClient.swift b/Sources/Services/AWSSynthetics/Sources/AWSSynthetics/SyntheticsClient.swift index 5163809c75e..7f139bd6316 100644 --- a/Sources/Services/AWSSynthetics/Sources/AWSSynthetics/SyntheticsClient.swift +++ b/Sources/Services/AWSSynthetics/Sources/AWSSynthetics/SyntheticsClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class SyntheticsClient: ClientRuntime.Client { public static let clientName = "SyntheticsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: SyntheticsClient.SyntheticsClientConfiguration let serviceName = "synthetics" @@ -93,6 +94,8 @@ extension SyntheticsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension SyntheticsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension SyntheticsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension SyntheticsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension SyntheticsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension SyntheticsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension SyntheticsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension SyntheticsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension SyntheticsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -370,6 +389,8 @@ extension SyntheticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "synthetics") .withSigningRegion(value: config.signingRegion) .build() @@ -442,6 +463,8 @@ extension SyntheticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "synthetics") .withSigningRegion(value: config.signingRegion) .build() @@ -515,6 +538,8 @@ extension SyntheticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "synthetics") .withSigningRegion(value: config.signingRegion) .build() @@ -599,6 +624,8 @@ extension SyntheticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "synthetics") .withSigningRegion(value: config.signingRegion) .build() @@ -670,6 +697,8 @@ extension SyntheticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "synthetics") .withSigningRegion(value: config.signingRegion) .build() @@ -738,6 +767,8 @@ extension SyntheticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "synthetics") .withSigningRegion(value: config.signingRegion) .build() @@ -809,6 +840,8 @@ extension SyntheticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "synthetics") .withSigningRegion(value: config.signingRegion) .build() @@ -880,6 +913,8 @@ extension SyntheticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "synthetics") .withSigningRegion(value: config.signingRegion) .build() @@ -953,6 +988,8 @@ extension SyntheticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "synthetics") .withSigningRegion(value: config.signingRegion) .build() @@ -1024,6 +1061,8 @@ extension SyntheticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "synthetics") .withSigningRegion(value: config.signingRegion) .build() @@ -1093,6 +1132,8 @@ extension SyntheticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "synthetics") .withSigningRegion(value: config.signingRegion) .build() @@ -1166,6 +1207,8 @@ extension SyntheticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "synthetics") .withSigningRegion(value: config.signingRegion) .build() @@ -1235,6 +1278,8 @@ extension SyntheticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "synthetics") .withSigningRegion(value: config.signingRegion) .build() @@ -1308,6 +1353,8 @@ extension SyntheticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "synthetics") .withSigningRegion(value: config.signingRegion) .build() @@ -1379,6 +1426,8 @@ extension SyntheticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "synthetics") .withSigningRegion(value: config.signingRegion) .build() @@ -1453,6 +1502,8 @@ extension SyntheticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "synthetics") .withSigningRegion(value: config.signingRegion) .build() @@ -1523,6 +1574,8 @@ extension SyntheticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "synthetics") .withSigningRegion(value: config.signingRegion) .build() @@ -1593,6 +1646,8 @@ extension SyntheticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "synthetics") .withSigningRegion(value: config.signingRegion) .build() @@ -1664,6 +1719,8 @@ extension SyntheticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "synthetics") .withSigningRegion(value: config.signingRegion) .build() @@ -1738,6 +1795,8 @@ extension SyntheticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "synthetics") .withSigningRegion(value: config.signingRegion) .build() @@ -1810,6 +1869,8 @@ extension SyntheticsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "synthetics") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSTaxSettings/Package.swift.txt b/Sources/Services/AWSTaxSettings/Package.swift.txt index a496e5d3604..f097581f2f2 100644 --- a/Sources/Services/AWSTaxSettings/Package.swift.txt +++ b/Sources/Services/AWSTaxSettings/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSTaxSettings/Sources/AWSTaxSettings/TaxSettingsClient.swift b/Sources/Services/AWSTaxSettings/Sources/AWSTaxSettings/TaxSettingsClient.swift index 020165f0041..a81ec47bd14 100644 --- a/Sources/Services/AWSTaxSettings/Sources/AWSTaxSettings/TaxSettingsClient.swift +++ b/Sources/Services/AWSTaxSettings/Sources/AWSTaxSettings/TaxSettingsClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -62,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TaxSettingsClient: ClientRuntime.Client { public static let clientName = "TaxSettingsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: TaxSettingsClient.TaxSettingsClientConfiguration let serviceName = "TaxSettings" @@ -92,6 +93,8 @@ extension TaxSettingsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -117,6 +120,8 @@ extension TaxSettingsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -140,6 +145,8 @@ extension TaxSettingsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -166,6 +173,8 @@ extension TaxSettingsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -190,6 +199,8 @@ extension TaxSettingsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -216,6 +227,8 @@ extension TaxSettingsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -240,6 +253,8 @@ extension TaxSettingsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -267,6 +282,8 @@ extension TaxSettingsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -294,6 +311,8 @@ extension TaxSettingsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -367,6 +386,8 @@ extension TaxSettingsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tax") .withSigningRegion(value: config.signingRegion) .build() @@ -439,6 +460,8 @@ extension TaxSettingsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tax") .withSigningRegion(value: config.signingRegion) .build() @@ -604,6 +627,8 @@ extension TaxSettingsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tax") .withSigningRegion(value: config.signingRegion) .build() @@ -677,6 +702,8 @@ extension TaxSettingsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tax") .withSigningRegion(value: config.signingRegion) .build() @@ -750,6 +777,8 @@ extension TaxSettingsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tax") .withSigningRegion(value: config.signingRegion) .build() @@ -822,6 +851,8 @@ extension TaxSettingsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tax") .withSigningRegion(value: config.signingRegion) .build() @@ -891,6 +922,8 @@ extension TaxSettingsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tax") .withSigningRegion(value: config.signingRegion) .build() @@ -960,6 +993,8 @@ extension TaxSettingsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tax") .withSigningRegion(value: config.signingRegion) .build() @@ -1031,6 +1066,8 @@ extension TaxSettingsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tax") .withSigningRegion(value: config.signingRegion) .build() @@ -1103,6 +1140,8 @@ extension TaxSettingsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tax") .withSigningRegion(value: config.signingRegion) .build() @@ -1175,6 +1214,8 @@ extension TaxSettingsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tax") .withSigningRegion(value: config.signingRegion) .build() @@ -1247,6 +1288,8 @@ extension TaxSettingsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tax") .withSigningRegion(value: config.signingRegion) .build() @@ -1319,6 +1362,8 @@ extension TaxSettingsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tax") .withSigningRegion(value: config.signingRegion) .build() @@ -1394,6 +1439,8 @@ extension TaxSettingsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tax") .withSigningRegion(value: config.signingRegion) .build() @@ -1467,6 +1514,8 @@ extension TaxSettingsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tax") .withSigningRegion(value: config.signingRegion) .build() @@ -1632,6 +1681,8 @@ extension TaxSettingsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tax") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSTextract/Package.swift.txt b/Sources/Services/AWSTextract/Package.swift.txt index 546d9457d95..a0fccef9bc2 100644 --- a/Sources/Services/AWSTextract/Package.swift.txt +++ b/Sources/Services/AWSTextract/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSTextract/Sources/AWSTextract/TextractClient.swift b/Sources/Services/AWSTextract/Sources/AWSTextract/TextractClient.swift index 1baf497b8bf..d280a6a5bec 100644 --- a/Sources/Services/AWSTextract/Sources/AWSTextract/TextractClient.swift +++ b/Sources/Services/AWSTextract/Sources/AWSTextract/TextractClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TextractClient: ClientRuntime.Client { public static let clientName = "TextractClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: TextractClient.TextractClientConfiguration let serviceName = "Textract" @@ -95,6 +96,8 @@ extension TextractClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension TextractClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension TextractClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension TextractClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension TextractClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension TextractClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension TextractClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension TextractClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension TextractClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -392,6 +411,8 @@ extension TextractClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "textract") .withSigningRegion(value: config.signingRegion) .build() @@ -475,6 +496,8 @@ extension TextractClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "textract") .withSigningRegion(value: config.signingRegion) .build() @@ -554,6 +577,8 @@ extension TextractClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "textract") .withSigningRegion(value: config.signingRegion) .build() @@ -634,6 +659,8 @@ extension TextractClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "textract") .withSigningRegion(value: config.signingRegion) .build() @@ -718,6 +745,8 @@ extension TextractClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "textract") .withSigningRegion(value: config.signingRegion) .build() @@ -797,6 +826,8 @@ extension TextractClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "textract") .withSigningRegion(value: config.signingRegion) .build() @@ -875,6 +906,8 @@ extension TextractClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "textract") .withSigningRegion(value: config.signingRegion) .build() @@ -954,6 +987,8 @@ extension TextractClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "textract") .withSigningRegion(value: config.signingRegion) .build() @@ -1031,6 +1066,8 @@ extension TextractClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "textract") .withSigningRegion(value: config.signingRegion) .build() @@ -1108,6 +1145,8 @@ extension TextractClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "textract") .withSigningRegion(value: config.signingRegion) .build() @@ -1199,6 +1238,8 @@ extension TextractClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "textract") .withSigningRegion(value: config.signingRegion) .build() @@ -1277,6 +1318,8 @@ extension TextractClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "textract") .withSigningRegion(value: config.signingRegion) .build() @@ -1355,6 +1398,8 @@ extension TextractClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "textract") .withSigningRegion(value: config.signingRegion) .build() @@ -1433,6 +1478,8 @@ extension TextractClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "textract") .withSigningRegion(value: config.signingRegion) .build() @@ -1511,6 +1558,8 @@ extension TextractClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "textract") .withSigningRegion(value: config.signingRegion) .build() @@ -1588,6 +1637,8 @@ extension TextractClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "textract") .withSigningRegion(value: config.signingRegion) .build() @@ -1664,6 +1715,8 @@ extension TextractClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "textract") .withSigningRegion(value: config.signingRegion) .build() @@ -1741,6 +1794,8 @@ extension TextractClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "textract") .withSigningRegion(value: config.signingRegion) .build() @@ -1823,6 +1878,8 @@ extension TextractClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "textract") .withSigningRegion(value: config.signingRegion) .build() @@ -1905,6 +1962,8 @@ extension TextractClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "textract") .withSigningRegion(value: config.signingRegion) .build() @@ -1987,6 +2046,8 @@ extension TextractClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "textract") .withSigningRegion(value: config.signingRegion) .build() @@ -2075,6 +2136,8 @@ extension TextractClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "textract") .withSigningRegion(value: config.signingRegion) .build() @@ -2153,6 +2216,8 @@ extension TextractClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "textract") .withSigningRegion(value: config.signingRegion) .build() @@ -2230,6 +2295,8 @@ extension TextractClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "textract") .withSigningRegion(value: config.signingRegion) .build() @@ -2308,6 +2375,8 @@ extension TextractClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "textract") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSTimestreamInfluxDB/Package.swift.txt b/Sources/Services/AWSTimestreamInfluxDB/Package.swift.txt index d626ddb7e0b..a349aa192a0 100644 --- a/Sources/Services/AWSTimestreamInfluxDB/Package.swift.txt +++ b/Sources/Services/AWSTimestreamInfluxDB/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSTimestreamInfluxDB/Sources/AWSTimestreamInfluxDB/TimestreamInfluxDBClient.swift b/Sources/Services/AWSTimestreamInfluxDB/Sources/AWSTimestreamInfluxDB/TimestreamInfluxDBClient.swift index 22ebbafc8ed..a6dff88783c 100644 --- a/Sources/Services/AWSTimestreamInfluxDB/Sources/AWSTimestreamInfluxDB/TimestreamInfluxDBClient.swift +++ b/Sources/Services/AWSTimestreamInfluxDB/Sources/AWSTimestreamInfluxDB/TimestreamInfluxDBClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TimestreamInfluxDBClient: ClientRuntime.Client { public static let clientName = "TimestreamInfluxDBClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: TimestreamInfluxDBClient.TimestreamInfluxDBClientConfiguration let serviceName = "Timestream InfluxDB" @@ -93,6 +94,8 @@ extension TimestreamInfluxDBClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension TimestreamInfluxDBClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension TimestreamInfluxDBClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension TimestreamInfluxDBClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension TimestreamInfluxDBClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension TimestreamInfluxDBClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension TimestreamInfluxDBClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension TimestreamInfluxDBClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension TimestreamInfluxDBClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension TimestreamInfluxDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream-influxdb") .withSigningRegion(value: config.signingRegion) .build() @@ -449,6 +470,8 @@ extension TimestreamInfluxDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream-influxdb") .withSigningRegion(value: config.signingRegion) .build() @@ -525,6 +548,8 @@ extension TimestreamInfluxDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream-influxdb") .withSigningRegion(value: config.signingRegion) .build() @@ -600,6 +625,8 @@ extension TimestreamInfluxDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream-influxdb") .withSigningRegion(value: config.signingRegion) .build() @@ -675,6 +702,8 @@ extension TimestreamInfluxDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream-influxdb") .withSigningRegion(value: config.signingRegion) .build() @@ -750,6 +779,8 @@ extension TimestreamInfluxDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream-influxdb") .withSigningRegion(value: config.signingRegion) .build() @@ -825,6 +856,8 @@ extension TimestreamInfluxDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream-influxdb") .withSigningRegion(value: config.signingRegion) .build() @@ -896,6 +929,8 @@ extension TimestreamInfluxDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream-influxdb") .withSigningRegion(value: config.signingRegion) .build() @@ -968,6 +1003,8 @@ extension TimestreamInfluxDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream-influxdb") .withSigningRegion(value: config.signingRegion) .build() @@ -1039,6 +1076,8 @@ extension TimestreamInfluxDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream-influxdb") .withSigningRegion(value: config.signingRegion) .build() @@ -1115,6 +1154,8 @@ extension TimestreamInfluxDBClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream-influxdb") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSTimestreamQuery/Package.swift.txt b/Sources/Services/AWSTimestreamQuery/Package.swift.txt index f3d357b715a..4860aa23f46 100644 --- a/Sources/Services/AWSTimestreamQuery/Package.swift.txt +++ b/Sources/Services/AWSTimestreamQuery/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSTimestreamQuery/Sources/AWSTimestreamQuery/TimestreamQueryClient.swift b/Sources/Services/AWSTimestreamQuery/Sources/AWSTimestreamQuery/TimestreamQueryClient.swift index 2a2794674f1..404850b5a84 100644 --- a/Sources/Services/AWSTimestreamQuery/Sources/AWSTimestreamQuery/TimestreamQueryClient.swift +++ b/Sources/Services/AWSTimestreamQuery/Sources/AWSTimestreamQuery/TimestreamQueryClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TimestreamQueryClient: ClientRuntime.Client { public static let clientName = "TimestreamQueryClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: TimestreamQueryClient.TimestreamQueryClientConfiguration let serviceName = "Timestream Query" @@ -95,6 +96,8 @@ extension TimestreamQueryClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension TimestreamQueryClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension TimestreamQueryClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension TimestreamQueryClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension TimestreamQueryClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension TimestreamQueryClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension TimestreamQueryClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension TimestreamQueryClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension TimestreamQueryClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension TimestreamQueryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream") .withSigningRegion(value: config.signingRegion) .build() @@ -449,6 +470,8 @@ extension TimestreamQueryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream") .withSigningRegion(value: config.signingRegion) .build() @@ -526,6 +549,8 @@ extension TimestreamQueryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream") .withSigningRegion(value: config.signingRegion) .build() @@ -600,6 +625,8 @@ extension TimestreamQueryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream") .withSigningRegion(value: config.signingRegion) .build() @@ -682,6 +709,8 @@ extension TimestreamQueryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream") .withSigningRegion(value: config.signingRegion) .build() @@ -758,6 +787,8 @@ extension TimestreamQueryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream") .withSigningRegion(value: config.signingRegion) .build() @@ -834,6 +865,8 @@ extension TimestreamQueryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream") .withSigningRegion(value: config.signingRegion) .build() @@ -910,6 +943,8 @@ extension TimestreamQueryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream") .withSigningRegion(value: config.signingRegion) .build() @@ -984,6 +1019,8 @@ extension TimestreamQueryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream") .withSigningRegion(value: config.signingRegion) .build() @@ -1059,6 +1096,8 @@ extension TimestreamQueryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream") .withSigningRegion(value: config.signingRegion) .build() @@ -1144,6 +1183,8 @@ extension TimestreamQueryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream") .withSigningRegion(value: config.signingRegion) .build() @@ -1220,6 +1261,8 @@ extension TimestreamQueryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream") .withSigningRegion(value: config.signingRegion) .build() @@ -1294,6 +1337,8 @@ extension TimestreamQueryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream") .withSigningRegion(value: config.signingRegion) .build() @@ -1369,6 +1414,8 @@ extension TimestreamQueryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream") .withSigningRegion(value: config.signingRegion) .build() @@ -1445,6 +1492,8 @@ extension TimestreamQueryClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSTimestreamWrite/Package.swift.txt b/Sources/Services/AWSTimestreamWrite/Package.swift.txt index 17dc7986f97..d05b42c3774 100644 --- a/Sources/Services/AWSTimestreamWrite/Package.swift.txt +++ b/Sources/Services/AWSTimestreamWrite/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSTimestreamWrite/Sources/AWSTimestreamWrite/TimestreamWriteClient.swift b/Sources/Services/AWSTimestreamWrite/Sources/AWSTimestreamWrite/TimestreamWriteClient.swift index 5f903dc6af1..772e42dbc05 100644 --- a/Sources/Services/AWSTimestreamWrite/Sources/AWSTimestreamWrite/TimestreamWriteClient.swift +++ b/Sources/Services/AWSTimestreamWrite/Sources/AWSTimestreamWrite/TimestreamWriteClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TimestreamWriteClient: ClientRuntime.Client { public static let clientName = "TimestreamWriteClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: TimestreamWriteClient.TimestreamWriteClientConfiguration let serviceName = "Timestream Write" @@ -94,6 +95,8 @@ extension TimestreamWriteClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension TimestreamWriteClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension TimestreamWriteClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension TimestreamWriteClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension TimestreamWriteClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension TimestreamWriteClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension TimestreamWriteClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension TimestreamWriteClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension TimestreamWriteClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension TimestreamWriteClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream") .withSigningRegion(value: config.signingRegion) .build() @@ -452,6 +473,8 @@ extension TimestreamWriteClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream") .withSigningRegion(value: config.signingRegion) .build() @@ -530,6 +553,8 @@ extension TimestreamWriteClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream") .withSigningRegion(value: config.signingRegion) .build() @@ -606,6 +631,8 @@ extension TimestreamWriteClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream") .withSigningRegion(value: config.signingRegion) .build() @@ -682,6 +709,8 @@ extension TimestreamWriteClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream") .withSigningRegion(value: config.signingRegion) .build() @@ -757,6 +786,8 @@ extension TimestreamWriteClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream") .withSigningRegion(value: config.signingRegion) .build() @@ -833,6 +864,8 @@ extension TimestreamWriteClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream") .withSigningRegion(value: config.signingRegion) .build() @@ -915,6 +948,8 @@ extension TimestreamWriteClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream") .withSigningRegion(value: config.signingRegion) .build() @@ -991,6 +1026,8 @@ extension TimestreamWriteClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream") .withSigningRegion(value: config.signingRegion) .build() @@ -1066,6 +1103,8 @@ extension TimestreamWriteClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream") .withSigningRegion(value: config.signingRegion) .build() @@ -1141,6 +1180,8 @@ extension TimestreamWriteClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream") .withSigningRegion(value: config.signingRegion) .build() @@ -1217,6 +1258,8 @@ extension TimestreamWriteClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream") .withSigningRegion(value: config.signingRegion) .build() @@ -1291,6 +1334,8 @@ extension TimestreamWriteClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream") .withSigningRegion(value: config.signingRegion) .build() @@ -1367,6 +1412,8 @@ extension TimestreamWriteClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream") .withSigningRegion(value: config.signingRegion) .build() @@ -1442,6 +1489,8 @@ extension TimestreamWriteClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream") .withSigningRegion(value: config.signingRegion) .build() @@ -1517,6 +1566,8 @@ extension TimestreamWriteClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream") .withSigningRegion(value: config.signingRegion) .build() @@ -1594,6 +1645,8 @@ extension TimestreamWriteClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream") .withSigningRegion(value: config.signingRegion) .build() @@ -1670,6 +1723,8 @@ extension TimestreamWriteClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream") .withSigningRegion(value: config.signingRegion) .build() @@ -1763,6 +1818,8 @@ extension TimestreamWriteClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "timestream") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSTnb/Package.swift.txt b/Sources/Services/AWSTnb/Package.swift.txt index 87a2b41d9c3..a2242a7e0bf 100644 --- a/Sources/Services/AWSTnb/Package.swift.txt +++ b/Sources/Services/AWSTnb/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSTnb/Sources/AWSTnb/TnbClient.swift b/Sources/Services/AWSTnb/Sources/AWSTnb/TnbClient.swift index 8ad8a0b6712..4c45acf5f8c 100644 --- a/Sources/Services/AWSTnb/Sources/AWSTnb/TnbClient.swift +++ b/Sources/Services/AWSTnb/Sources/AWSTnb/TnbClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -68,7 +69,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TnbClient: ClientRuntime.Client { public static let clientName = "TnbClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: TnbClient.TnbClientConfiguration let serviceName = "tnb" @@ -98,6 +99,8 @@ extension TnbClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -123,6 +126,8 @@ extension TnbClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -146,6 +151,8 @@ extension TnbClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -172,6 +179,8 @@ extension TnbClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -196,6 +205,8 @@ extension TnbClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -222,6 +233,8 @@ extension TnbClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -246,6 +259,8 @@ extension TnbClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -273,6 +288,8 @@ extension TnbClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -300,6 +317,8 @@ extension TnbClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -375,6 +394,8 @@ extension TnbClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tnb") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension TnbClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tnb") .withSigningRegion(value: config.signingRegion) .build() @@ -521,6 +544,8 @@ extension TnbClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tnb") .withSigningRegion(value: config.signingRegion) .build() @@ -595,6 +620,8 @@ extension TnbClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tnb") .withSigningRegion(value: config.signingRegion) .build() @@ -669,6 +696,8 @@ extension TnbClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tnb") .withSigningRegion(value: config.signingRegion) .build() @@ -740,6 +769,8 @@ extension TnbClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tnb") .withSigningRegion(value: config.signingRegion) .build() @@ -811,6 +842,8 @@ extension TnbClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tnb") .withSigningRegion(value: config.signingRegion) .build() @@ -882,6 +915,8 @@ extension TnbClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tnb") .withSigningRegion(value: config.signingRegion) .build() @@ -953,6 +988,8 @@ extension TnbClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tnb") .withSigningRegion(value: config.signingRegion) .build() @@ -1024,6 +1061,8 @@ extension TnbClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tnb") .withSigningRegion(value: config.signingRegion) .build() @@ -1096,6 +1135,8 @@ extension TnbClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tnb") .withSigningRegion(value: config.signingRegion) .build() @@ -1168,6 +1209,8 @@ extension TnbClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tnb") .withSigningRegion(value: config.signingRegion) .build() @@ -1239,6 +1282,8 @@ extension TnbClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tnb") .withSigningRegion(value: config.signingRegion) .build() @@ -1310,6 +1355,8 @@ extension TnbClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tnb") .withSigningRegion(value: config.signingRegion) .build() @@ -1381,6 +1428,8 @@ extension TnbClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tnb") .withSigningRegion(value: config.signingRegion) .build() @@ -1453,6 +1502,8 @@ extension TnbClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tnb") .withSigningRegion(value: config.signingRegion) .build() @@ -1525,6 +1576,8 @@ extension TnbClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tnb") .withSigningRegion(value: config.signingRegion) .build() @@ -1599,6 +1652,8 @@ extension TnbClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tnb") .withSigningRegion(value: config.signingRegion) .build() @@ -1670,6 +1725,8 @@ extension TnbClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tnb") .withSigningRegion(value: config.signingRegion) .build() @@ -1741,6 +1798,8 @@ extension TnbClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tnb") .withSigningRegion(value: config.signingRegion) .build() @@ -1812,6 +1871,8 @@ extension TnbClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tnb") .withSigningRegion(value: config.signingRegion) .build() @@ -1883,6 +1944,8 @@ extension TnbClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tnb") .withSigningRegion(value: config.signingRegion) .build() @@ -1955,6 +2018,8 @@ extension TnbClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tnb") .withSigningRegion(value: config.signingRegion) .build() @@ -2026,6 +2091,8 @@ extension TnbClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tnb") .withSigningRegion(value: config.signingRegion) .build() @@ -2101,6 +2168,8 @@ extension TnbClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tnb") .withSigningRegion(value: config.signingRegion) .build() @@ -2176,6 +2245,8 @@ extension TnbClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tnb") .withSigningRegion(value: config.signingRegion) .build() @@ -2251,6 +2322,8 @@ extension TnbClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tnb") .withSigningRegion(value: config.signingRegion) .build() @@ -2325,6 +2398,8 @@ extension TnbClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tnb") .withSigningRegion(value: config.signingRegion) .build() @@ -2397,6 +2472,8 @@ extension TnbClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tnb") .withSigningRegion(value: config.signingRegion) .build() @@ -2472,6 +2549,8 @@ extension TnbClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tnb") .withSigningRegion(value: config.signingRegion) .build() @@ -2546,6 +2625,8 @@ extension TnbClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tnb") .withSigningRegion(value: config.signingRegion) .build() @@ -2620,6 +2701,8 @@ extension TnbClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tnb") .withSigningRegion(value: config.signingRegion) .build() @@ -2695,6 +2778,8 @@ extension TnbClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "tnb") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSTranscribe/Package.swift.txt b/Sources/Services/AWSTranscribe/Package.swift.txt index 334536ba726..c0fe9ad8f1c 100644 --- a/Sources/Services/AWSTranscribe/Package.swift.txt +++ b/Sources/Services/AWSTranscribe/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSTranscribe/Sources/AWSTranscribe/TranscribeClient.swift b/Sources/Services/AWSTranscribe/Sources/AWSTranscribe/TranscribeClient.swift index 6a5a01a336a..75718347f9a 100644 --- a/Sources/Services/AWSTranscribe/Sources/AWSTranscribe/TranscribeClient.swift +++ b/Sources/Services/AWSTranscribe/Sources/AWSTranscribe/TranscribeClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TranscribeClient: ClientRuntime.Client { public static let clientName = "TranscribeClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: TranscribeClient.TranscribeClientConfiguration let serviceName = "Transcribe" @@ -95,6 +96,8 @@ extension TranscribeClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension TranscribeClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension TranscribeClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension TranscribeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension TranscribeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension TranscribeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension TranscribeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension TranscribeClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension TranscribeClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -453,6 +474,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -527,6 +550,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -601,6 +626,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -675,6 +702,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -749,6 +778,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -822,6 +853,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -895,6 +928,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -968,6 +1003,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -1041,6 +1078,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -1115,6 +1154,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -1188,6 +1229,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -1262,6 +1305,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -1336,6 +1381,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -1410,6 +1457,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -1484,6 +1533,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -1558,6 +1609,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -1632,6 +1685,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -1706,6 +1761,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -1780,6 +1837,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -1854,6 +1913,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -1928,6 +1989,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -2002,6 +2065,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -2075,6 +2140,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -2149,6 +2216,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -2223,6 +2292,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -2297,6 +2368,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -2371,6 +2444,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -2445,6 +2520,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -2520,6 +2597,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -2593,6 +2672,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -2667,6 +2748,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -2741,6 +2824,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -2827,6 +2912,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -2913,6 +3000,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -3001,6 +3090,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -3083,6 +3174,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -3158,6 +3251,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -3233,6 +3328,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -3308,6 +3405,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -3383,6 +3482,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -3458,6 +3559,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -3532,6 +3635,8 @@ extension TranscribeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSTranscribeStreaming/Package.swift.txt b/Sources/Services/AWSTranscribeStreaming/Package.swift.txt index 1637e4712ba..4bf5f83336e 100644 --- a/Sources/Services/AWSTranscribeStreaming/Package.swift.txt +++ b/Sources/Services/AWSTranscribeStreaming/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKEventStreamsAuth", exact: "0.0.1" @@ -36,6 +40,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKEventStreamsAuth", package: "aws-sdk-swift.AWSSDKEventStreamsAuth" diff --git a/Sources/Services/AWSTranscribeStreaming/Sources/AWSTranscribeStreaming/TranscribeStreamingClient.swift b/Sources/Services/AWSTranscribeStreaming/Sources/AWSTranscribeStreaming/TranscribeStreamingClient.swift index e82b77a3330..b1657481bf5 100644 --- a/Sources/Services/AWSTranscribeStreaming/Sources/AWSTranscribeStreaming/TranscribeStreamingClient.swift +++ b/Sources/Services/AWSTranscribeStreaming/Sources/AWSTranscribeStreaming/TranscribeStreamingClient.swift @@ -21,6 +21,7 @@ import class SmithyHTTPAPI.HTTPRequest import class SmithyHTTPAPI.HTTPResponse import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -62,7 +63,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TranscribeStreamingClient: ClientRuntime.Client { public static let clientName = "TranscribeStreamingClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: TranscribeStreamingClient.TranscribeStreamingClientConfiguration let serviceName = "Transcribe Streaming" @@ -92,6 +93,8 @@ extension TranscribeStreamingClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -117,6 +120,8 @@ extension TranscribeStreamingClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -140,6 +145,8 @@ extension TranscribeStreamingClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -166,6 +173,8 @@ extension TranscribeStreamingClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -190,6 +199,8 @@ extension TranscribeStreamingClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -216,6 +227,8 @@ extension TranscribeStreamingClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -240,6 +253,8 @@ extension TranscribeStreamingClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -267,6 +282,8 @@ extension TranscribeStreamingClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -294,6 +311,8 @@ extension TranscribeStreamingClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -378,6 +397,8 @@ extension TranscribeStreamingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -463,6 +484,8 @@ extension TranscribeStreamingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() @@ -548,6 +571,8 @@ extension TranscribeStreamingClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transcribe") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSTransfer/Package.swift.txt b/Sources/Services/AWSTransfer/Package.swift.txt index 69e438cbcde..f4b815a2adc 100644 --- a/Sources/Services/AWSTransfer/Package.swift.txt +++ b/Sources/Services/AWSTransfer/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSTransfer/Sources/AWSTransfer/TransferClient.swift b/Sources/Services/AWSTransfer/Sources/AWSTransfer/TransferClient.swift index 14bb34e7a72..22bf26dc444 100644 --- a/Sources/Services/AWSTransfer/Sources/AWSTransfer/TransferClient.swift +++ b/Sources/Services/AWSTransfer/Sources/AWSTransfer/TransferClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TransferClient: ClientRuntime.Client { public static let clientName = "TransferClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: TransferClient.TransferClientConfiguration let serviceName = "Transfer" @@ -94,6 +95,8 @@ extension TransferClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension TransferClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension TransferClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension TransferClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension TransferClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension TransferClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension TransferClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension TransferClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension TransferClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -447,6 +468,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -523,6 +546,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -598,6 +623,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -675,6 +702,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -750,6 +779,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -825,6 +856,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -901,6 +934,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -975,6 +1010,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -1049,6 +1086,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -1123,6 +1162,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -1197,6 +1238,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -1272,6 +1315,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -1346,6 +1391,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -1421,6 +1468,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -1496,6 +1545,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -1570,6 +1621,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -1645,6 +1698,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -1721,6 +1776,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -1796,6 +1853,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -1870,6 +1929,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -1944,6 +2005,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -2018,6 +2081,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -2092,6 +2157,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -2166,6 +2233,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -2240,6 +2309,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -2314,6 +2385,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -2388,6 +2461,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -2462,6 +2537,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -2536,6 +2613,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -2611,6 +2690,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -2686,6 +2767,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -2760,6 +2843,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -2834,6 +2919,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -2910,6 +2997,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -2986,6 +3075,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -3061,6 +3152,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -3136,6 +3229,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -3211,6 +3306,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -3286,6 +3383,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -3361,6 +3460,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -3435,6 +3536,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -3510,6 +3613,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -3585,6 +3690,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -3659,6 +3766,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -3733,6 +3842,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -3807,6 +3918,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -3882,6 +3995,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -3956,6 +4071,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -4030,6 +4147,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -4106,6 +4225,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -4191,6 +4312,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -4274,6 +4397,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -4349,6 +4474,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -4424,6 +4551,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -4498,6 +4627,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -4572,6 +4703,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -4658,6 +4791,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -4732,6 +4867,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -4808,6 +4945,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -4884,6 +5023,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -4959,6 +5100,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -5035,6 +5178,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -5110,6 +5255,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -5185,6 +5332,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -5263,6 +5412,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -5338,6 +5489,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -5414,6 +5567,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() @@ -5490,6 +5645,8 @@ extension TransferClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "transfer") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSTranslate/Package.swift.txt b/Sources/Services/AWSTranslate/Package.swift.txt index 350e682a800..730e98b3d5d 100644 --- a/Sources/Services/AWSTranslate/Package.swift.txt +++ b/Sources/Services/AWSTranslate/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSTranslate/Sources/AWSTranslate/TranslateClient.swift b/Sources/Services/AWSTranslate/Sources/AWSTranslate/TranslateClient.swift index 902d36557e0..6c157f4f934 100644 --- a/Sources/Services/AWSTranslate/Sources/AWSTranslate/TranslateClient.swift +++ b/Sources/Services/AWSTranslate/Sources/AWSTranslate/TranslateClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TranslateClient: ClientRuntime.Client { public static let clientName = "TranslateClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: TranslateClient.TranslateClientConfiguration let serviceName = "Translate" @@ -95,6 +96,8 @@ extension TranslateClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension TranslateClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension TranslateClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension TranslateClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension TranslateClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension TranslateClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension TranslateClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension TranslateClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension TranslateClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -375,6 +394,8 @@ extension TranslateClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "translate") .withSigningRegion(value: config.signingRegion) .build() @@ -450,6 +471,8 @@ extension TranslateClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "translate") .withSigningRegion(value: config.signingRegion) .build() @@ -524,6 +547,8 @@ extension TranslateClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "translate") .withSigningRegion(value: config.signingRegion) .build() @@ -597,6 +622,8 @@ extension TranslateClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "translate") .withSigningRegion(value: config.signingRegion) .build() @@ -671,6 +698,8 @@ extension TranslateClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "translate") .withSigningRegion(value: config.signingRegion) .build() @@ -745,6 +774,8 @@ extension TranslateClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "translate") .withSigningRegion(value: config.signingRegion) .build() @@ -821,6 +852,8 @@ extension TranslateClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "translate") .withSigningRegion(value: config.signingRegion) .build() @@ -895,6 +928,8 @@ extension TranslateClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "translate") .withSigningRegion(value: config.signingRegion) .build() @@ -968,6 +1003,8 @@ extension TranslateClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "translate") .withSigningRegion(value: config.signingRegion) .build() @@ -1041,6 +1078,8 @@ extension TranslateClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "translate") .withSigningRegion(value: config.signingRegion) .build() @@ -1114,6 +1153,8 @@ extension TranslateClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "translate") .withSigningRegion(value: config.signingRegion) .build() @@ -1188,6 +1229,8 @@ extension TranslateClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "translate") .withSigningRegion(value: config.signingRegion) .build() @@ -1264,6 +1307,8 @@ extension TranslateClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "translate") .withSigningRegion(value: config.signingRegion) .build() @@ -1338,6 +1383,8 @@ extension TranslateClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "translate") .withSigningRegion(value: config.signingRegion) .build() @@ -1413,6 +1460,8 @@ extension TranslateClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "translate") .withSigningRegion(value: config.signingRegion) .build() @@ -1490,6 +1539,8 @@ extension TranslateClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "translate") .withSigningRegion(value: config.signingRegion) .build() @@ -1568,6 +1619,8 @@ extension TranslateClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "translate") .withSigningRegion(value: config.signingRegion) .build() @@ -1642,6 +1695,8 @@ extension TranslateClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "translate") .withSigningRegion(value: config.signingRegion) .build() @@ -1720,6 +1775,8 @@ extension TranslateClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "translate") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSTrustedAdvisor/Package.swift.txt b/Sources/Services/AWSTrustedAdvisor/Package.swift.txt index 42c608afbd1..a9898d4c3c0 100644 --- a/Sources/Services/AWSTrustedAdvisor/Package.swift.txt +++ b/Sources/Services/AWSTrustedAdvisor/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSTrustedAdvisor/Sources/AWSTrustedAdvisor/TrustedAdvisorClient.swift b/Sources/Services/AWSTrustedAdvisor/Sources/AWSTrustedAdvisor/TrustedAdvisorClient.swift index 0dbb988267f..c4fc463145f 100644 --- a/Sources/Services/AWSTrustedAdvisor/Sources/AWSTrustedAdvisor/TrustedAdvisorClient.swift +++ b/Sources/Services/AWSTrustedAdvisor/Sources/AWSTrustedAdvisor/TrustedAdvisorClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class TrustedAdvisorClient: ClientRuntime.Client { public static let clientName = "TrustedAdvisorClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: TrustedAdvisorClient.TrustedAdvisorClientConfiguration let serviceName = "TrustedAdvisor" @@ -94,6 +95,8 @@ extension TrustedAdvisorClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension TrustedAdvisorClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension TrustedAdvisorClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension TrustedAdvisorClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension TrustedAdvisorClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension TrustedAdvisorClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension TrustedAdvisorClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension TrustedAdvisorClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension TrustedAdvisorClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension TrustedAdvisorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "trustedadvisor") .withSigningRegion(value: config.signingRegion) .build() @@ -445,6 +466,8 @@ extension TrustedAdvisorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "trustedadvisor") .withSigningRegion(value: config.signingRegion) .build() @@ -516,6 +539,8 @@ extension TrustedAdvisorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "trustedadvisor") .withSigningRegion(value: config.signingRegion) .build() @@ -586,6 +611,8 @@ extension TrustedAdvisorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "trustedadvisor") .withSigningRegion(value: config.signingRegion) .build() @@ -658,6 +685,8 @@ extension TrustedAdvisorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "trustedadvisor") .withSigningRegion(value: config.signingRegion) .build() @@ -730,6 +759,8 @@ extension TrustedAdvisorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "trustedadvisor") .withSigningRegion(value: config.signingRegion) .build() @@ -801,6 +832,8 @@ extension TrustedAdvisorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "trustedadvisor") .withSigningRegion(value: config.signingRegion) .build() @@ -873,6 +906,8 @@ extension TrustedAdvisorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "trustedadvisor") .withSigningRegion(value: config.signingRegion) .build() @@ -944,6 +979,8 @@ extension TrustedAdvisorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "trustedadvisor") .withSigningRegion(value: config.signingRegion) .build() @@ -1017,6 +1054,8 @@ extension TrustedAdvisorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "trustedadvisor") .withSigningRegion(value: config.signingRegion) .build() @@ -1092,6 +1131,8 @@ extension TrustedAdvisorClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "trustedadvisor") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSVPCLattice/Package.swift.txt b/Sources/Services/AWSVPCLattice/Package.swift.txt index 271cb7bbc48..529e9f505f5 100644 --- a/Sources/Services/AWSVPCLattice/Package.swift.txt +++ b/Sources/Services/AWSVPCLattice/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSVPCLattice/Sources/AWSVPCLattice/VPCLatticeClient.swift b/Sources/Services/AWSVPCLattice/Sources/AWSVPCLattice/VPCLatticeClient.swift index e7991ad00c5..c99158bb2be 100644 --- a/Sources/Services/AWSVPCLattice/Sources/AWSVPCLattice/VPCLatticeClient.swift +++ b/Sources/Services/AWSVPCLattice/Sources/AWSVPCLattice/VPCLatticeClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class VPCLatticeClient: ClientRuntime.Client { public static let clientName = "VPCLatticeClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: VPCLatticeClient.VPCLatticeClientConfiguration let serviceName = "VPC Lattice" @@ -95,6 +96,8 @@ extension VPCLatticeClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension VPCLatticeClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension VPCLatticeClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension VPCLatticeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension VPCLatticeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension VPCLatticeClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension VPCLatticeClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension VPCLatticeClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension VPCLatticeClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -448,6 +469,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -525,6 +548,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -602,6 +627,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -679,6 +706,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -756,6 +785,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -833,6 +864,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -910,6 +943,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -987,6 +1022,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -1064,6 +1101,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -1141,6 +1180,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -1218,6 +1259,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -1293,6 +1336,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -1364,6 +1409,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -1436,6 +1483,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -1508,6 +1557,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -1579,6 +1630,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -1651,6 +1704,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -1722,6 +1777,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -1794,6 +1851,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -1866,6 +1925,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -1938,6 +1999,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -2010,6 +2073,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -2082,6 +2147,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -2154,6 +2221,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -2225,6 +2294,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -2297,6 +2368,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -2371,6 +2444,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -2442,6 +2517,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -2513,6 +2590,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -2584,6 +2663,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -2655,6 +2736,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -2726,6 +2809,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -2797,6 +2882,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -2868,6 +2955,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -2939,6 +3028,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -3010,6 +3101,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -3081,6 +3174,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -3152,6 +3247,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -3223,6 +3320,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -3293,6 +3392,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -3365,6 +3466,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -3436,6 +3539,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -3507,6 +3612,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -3578,6 +3685,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -3650,6 +3759,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -3721,6 +3832,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -3792,6 +3905,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -3863,6 +3978,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -3934,6 +4051,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -4005,6 +4124,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -4076,6 +4197,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -4147,6 +4270,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -4217,6 +4342,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -4289,6 +4416,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -4364,6 +4493,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -4438,6 +4569,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -4514,6 +4647,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -4588,6 +4723,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -4661,6 +4798,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -4734,6 +4873,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -4810,6 +4951,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -4885,6 +5028,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -4959,6 +5104,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -5035,6 +5182,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -5111,6 +5260,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -5186,6 +5337,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -5261,6 +5414,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() @@ -5337,6 +5492,8 @@ extension VPCLatticeClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "vpc-lattice") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSVerifiedPermissions/Package.swift.txt b/Sources/Services/AWSVerifiedPermissions/Package.swift.txt index c0cca77d43f..8b8a89c1878 100644 --- a/Sources/Services/AWSVerifiedPermissions/Package.swift.txt +++ b/Sources/Services/AWSVerifiedPermissions/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSVerifiedPermissions/Sources/AWSVerifiedPermissions/VerifiedPermissionsClient.swift b/Sources/Services/AWSVerifiedPermissions/Sources/AWSVerifiedPermissions/VerifiedPermissionsClient.swift index 0ad17418f73..95ff2d6a4ee 100644 --- a/Sources/Services/AWSVerifiedPermissions/Sources/AWSVerifiedPermissions/VerifiedPermissionsClient.swift +++ b/Sources/Services/AWSVerifiedPermissions/Sources/AWSVerifiedPermissions/VerifiedPermissionsClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class VerifiedPermissionsClient: ClientRuntime.Client { public static let clientName = "VerifiedPermissionsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: VerifiedPermissionsClient.VerifiedPermissionsClientConfiguration let serviceName = "VerifiedPermissions" @@ -95,6 +96,8 @@ extension VerifiedPermissionsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension VerifiedPermissionsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension VerifiedPermissionsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension VerifiedPermissionsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension VerifiedPermissionsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension VerifiedPermissionsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension VerifiedPermissionsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension VerifiedPermissionsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension VerifiedPermissionsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -391,6 +410,8 @@ extension VerifiedPermissionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "verifiedpermissions") .withSigningRegion(value: config.signingRegion) .build() @@ -486,6 +507,8 @@ extension VerifiedPermissionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "verifiedpermissions") .withSigningRegion(value: config.signingRegion) .build() @@ -581,6 +604,8 @@ extension VerifiedPermissionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "verifiedpermissions") .withSigningRegion(value: config.signingRegion) .build() @@ -685,6 +710,8 @@ extension VerifiedPermissionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "verifiedpermissions") .withSigningRegion(value: config.signingRegion) .build() @@ -790,6 +817,8 @@ extension VerifiedPermissionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "verifiedpermissions") .withSigningRegion(value: config.signingRegion) .build() @@ -887,6 +916,8 @@ extension VerifiedPermissionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "verifiedpermissions") .withSigningRegion(value: config.signingRegion) .build() @@ -985,6 +1016,8 @@ extension VerifiedPermissionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "verifiedpermissions") .withSigningRegion(value: config.signingRegion) .build() @@ -1082,6 +1115,8 @@ extension VerifiedPermissionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "verifiedpermissions") .withSigningRegion(value: config.signingRegion) .build() @@ -1178,6 +1213,8 @@ extension VerifiedPermissionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "verifiedpermissions") .withSigningRegion(value: config.signingRegion) .build() @@ -1272,6 +1309,8 @@ extension VerifiedPermissionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "verifiedpermissions") .withSigningRegion(value: config.signingRegion) .build() @@ -1368,6 +1407,8 @@ extension VerifiedPermissionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "verifiedpermissions") .withSigningRegion(value: config.signingRegion) .build() @@ -1463,6 +1504,8 @@ extension VerifiedPermissionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "verifiedpermissions") .withSigningRegion(value: config.signingRegion) .build() @@ -1558,6 +1601,8 @@ extension VerifiedPermissionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "verifiedpermissions") .withSigningRegion(value: config.signingRegion) .build() @@ -1653,6 +1698,8 @@ extension VerifiedPermissionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "verifiedpermissions") .withSigningRegion(value: config.signingRegion) .build() @@ -1748,6 +1795,8 @@ extension VerifiedPermissionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "verifiedpermissions") .withSigningRegion(value: config.signingRegion) .build() @@ -1843,6 +1892,8 @@ extension VerifiedPermissionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "verifiedpermissions") .withSigningRegion(value: config.signingRegion) .build() @@ -1938,6 +1989,8 @@ extension VerifiedPermissionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "verifiedpermissions") .withSigningRegion(value: config.signingRegion) .build() @@ -2033,6 +2086,8 @@ extension VerifiedPermissionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "verifiedpermissions") .withSigningRegion(value: config.signingRegion) .build() @@ -2128,6 +2183,8 @@ extension VerifiedPermissionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "verifiedpermissions") .withSigningRegion(value: config.signingRegion) .build() @@ -2223,6 +2280,8 @@ extension VerifiedPermissionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "verifiedpermissions") .withSigningRegion(value: config.signingRegion) .build() @@ -2317,6 +2376,8 @@ extension VerifiedPermissionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "verifiedpermissions") .withSigningRegion(value: config.signingRegion) .build() @@ -2412,6 +2473,8 @@ extension VerifiedPermissionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "verifiedpermissions") .withSigningRegion(value: config.signingRegion) .build() @@ -2509,6 +2572,8 @@ extension VerifiedPermissionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "verifiedpermissions") .withSigningRegion(value: config.signingRegion) .build() @@ -2605,6 +2670,8 @@ extension VerifiedPermissionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "verifiedpermissions") .withSigningRegion(value: config.signingRegion) .build() @@ -2729,6 +2796,8 @@ extension VerifiedPermissionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "verifiedpermissions") .withSigningRegion(value: config.signingRegion) .build() @@ -2825,6 +2894,8 @@ extension VerifiedPermissionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "verifiedpermissions") .withSigningRegion(value: config.signingRegion) .build() @@ -2921,6 +2992,8 @@ extension VerifiedPermissionsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "verifiedpermissions") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSVoiceID/Package.swift.txt b/Sources/Services/AWSVoiceID/Package.swift.txt index cdba88a5aca..704fd631f4c 100644 --- a/Sources/Services/AWSVoiceID/Package.swift.txt +++ b/Sources/Services/AWSVoiceID/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSVoiceID/Sources/AWSVoiceID/VoiceIDClient.swift b/Sources/Services/AWSVoiceID/Sources/AWSVoiceID/VoiceIDClient.swift index 80bc8bb621c..453de891fba 100644 --- a/Sources/Services/AWSVoiceID/Sources/AWSVoiceID/VoiceIDClient.swift +++ b/Sources/Services/AWSVoiceID/Sources/AWSVoiceID/VoiceIDClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class VoiceIDClient: ClientRuntime.Client { public static let clientName = "VoiceIDClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: VoiceIDClient.VoiceIDClientConfiguration let serviceName = "Voice ID" @@ -94,6 +95,8 @@ extension VoiceIDClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension VoiceIDClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension VoiceIDClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension VoiceIDClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension VoiceIDClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension VoiceIDClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension VoiceIDClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension VoiceIDClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension VoiceIDClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension VoiceIDClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "voiceid") .withSigningRegion(value: config.signingRegion) .build() @@ -450,6 +471,8 @@ extension VoiceIDClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "voiceid") .withSigningRegion(value: config.signingRegion) .build() @@ -528,6 +551,8 @@ extension VoiceIDClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "voiceid") .withSigningRegion(value: config.signingRegion) .build() @@ -605,6 +630,8 @@ extension VoiceIDClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "voiceid") .withSigningRegion(value: config.signingRegion) .build() @@ -681,6 +708,8 @@ extension VoiceIDClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "voiceid") .withSigningRegion(value: config.signingRegion) .build() @@ -757,6 +786,8 @@ extension VoiceIDClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "voiceid") .withSigningRegion(value: config.signingRegion) .build() @@ -833,6 +864,8 @@ extension VoiceIDClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "voiceid") .withSigningRegion(value: config.signingRegion) .build() @@ -908,6 +941,8 @@ extension VoiceIDClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "voiceid") .withSigningRegion(value: config.signingRegion) .build() @@ -983,6 +1018,8 @@ extension VoiceIDClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "voiceid") .withSigningRegion(value: config.signingRegion) .build() @@ -1058,6 +1095,8 @@ extension VoiceIDClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "voiceid") .withSigningRegion(value: config.signingRegion) .build() @@ -1133,6 +1172,8 @@ extension VoiceIDClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "voiceid") .withSigningRegion(value: config.signingRegion) .build() @@ -1208,6 +1249,8 @@ extension VoiceIDClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "voiceid") .withSigningRegion(value: config.signingRegion) .build() @@ -1283,6 +1326,8 @@ extension VoiceIDClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "voiceid") .withSigningRegion(value: config.signingRegion) .build() @@ -1359,6 +1404,8 @@ extension VoiceIDClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "voiceid") .withSigningRegion(value: config.signingRegion) .build() @@ -1435,6 +1482,8 @@ extension VoiceIDClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "voiceid") .withSigningRegion(value: config.signingRegion) .build() @@ -1509,6 +1558,8 @@ extension VoiceIDClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "voiceid") .withSigningRegion(value: config.signingRegion) .build() @@ -1584,6 +1635,8 @@ extension VoiceIDClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "voiceid") .withSigningRegion(value: config.signingRegion) .build() @@ -1659,6 +1712,8 @@ extension VoiceIDClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "voiceid") .withSigningRegion(value: config.signingRegion) .build() @@ -1734,6 +1789,8 @@ extension VoiceIDClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "voiceid") .withSigningRegion(value: config.signingRegion) .build() @@ -1809,6 +1866,8 @@ extension VoiceIDClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "voiceid") .withSigningRegion(value: config.signingRegion) .build() @@ -1884,6 +1943,8 @@ extension VoiceIDClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "voiceid") .withSigningRegion(value: config.signingRegion) .build() @@ -1959,6 +2020,8 @@ extension VoiceIDClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "voiceid") .withSigningRegion(value: config.signingRegion) .build() @@ -2036,6 +2099,8 @@ extension VoiceIDClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "voiceid") .withSigningRegion(value: config.signingRegion) .build() @@ -2113,6 +2178,8 @@ extension VoiceIDClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "voiceid") .withSigningRegion(value: config.signingRegion) .build() @@ -2191,6 +2258,8 @@ extension VoiceIDClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "voiceid") .withSigningRegion(value: config.signingRegion) .build() @@ -2268,6 +2337,8 @@ extension VoiceIDClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "voiceid") .withSigningRegion(value: config.signingRegion) .build() @@ -2344,6 +2415,8 @@ extension VoiceIDClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "voiceid") .withSigningRegion(value: config.signingRegion) .build() @@ -2420,6 +2493,8 @@ extension VoiceIDClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "voiceid") .withSigningRegion(value: config.signingRegion) .build() @@ -2496,6 +2571,8 @@ extension VoiceIDClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "voiceid") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSWAF/Package.swift.txt b/Sources/Services/AWSWAF/Package.swift.txt index 9f3257abf8e..668c4232eea 100644 --- a/Sources/Services/AWSWAF/Package.swift.txt +++ b/Sources/Services/AWSWAF/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSWAF/Sources/AWSWAF/WAFClient.swift b/Sources/Services/AWSWAF/Sources/AWSWAF/WAFClient.swift index 01db890dd15..c2f4775bc09 100644 --- a/Sources/Services/AWSWAF/Sources/AWSWAF/WAFClient.swift +++ b/Sources/Services/AWSWAF/Sources/AWSWAF/WAFClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WAFClient: ClientRuntime.Client { public static let clientName = "WAFClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: WAFClient.WAFClientConfiguration let serviceName = "WAF" @@ -93,6 +94,8 @@ extension WAFClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension WAFClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension WAFClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension WAFClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension WAFClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension WAFClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension WAFClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension WAFClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension WAFClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -400,6 +419,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -505,6 +526,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -610,6 +633,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -737,6 +762,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -822,6 +849,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -907,6 +936,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -1025,6 +1056,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -1111,6 +1144,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -1216,6 +1251,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -1321,6 +1358,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -1433,6 +1472,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -1550,6 +1591,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -1655,6 +1698,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -1749,6 +1794,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -1843,6 +1890,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -1937,6 +1986,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -2010,6 +2061,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -2083,6 +2136,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -2179,6 +2234,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -2273,6 +2330,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -2361,6 +2420,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -2457,6 +2518,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -2563,6 +2626,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -2657,6 +2722,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -2751,6 +2818,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -2847,6 +2916,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -2941,6 +3012,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -3014,6 +3087,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -3085,6 +3160,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -3163,6 +3240,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -3236,6 +3315,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -3309,6 +3390,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -3381,6 +3464,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -3453,6 +3538,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -3526,6 +3613,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -3618,6 +3707,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -3691,6 +3782,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -3764,6 +3857,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -3837,6 +3932,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -3909,6 +4006,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -3981,6 +4080,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -4054,6 +4155,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -4127,6 +4230,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -4200,6 +4305,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -4273,6 +4380,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -4364,6 +4473,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -4436,6 +4547,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -4508,6 +4621,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -4580,6 +4695,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -4671,6 +4788,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -4743,6 +4862,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -4815,6 +4936,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -4887,6 +5010,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -4958,6 +5083,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -5030,6 +5157,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -5102,6 +5231,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -5174,6 +5305,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -5246,6 +5379,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -5340,6 +5475,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -5412,6 +5549,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -5484,6 +5623,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -5565,6 +5706,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -5677,6 +5820,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -5772,6 +5917,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -5866,6 +6013,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -6002,6 +6151,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -6139,6 +6290,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -6287,6 +6440,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -6422,6 +6577,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -6538,6 +6695,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -6661,6 +6820,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -6800,6 +6961,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -6924,6 +7087,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -7065,6 +7230,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -7197,6 +7364,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -7341,6 +7510,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() @@ -7473,6 +7644,8 @@ extension WAFClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSWAFRegional/Package.swift.txt b/Sources/Services/AWSWAFRegional/Package.swift.txt index d9286ded0f6..50a463673d7 100644 --- a/Sources/Services/AWSWAFRegional/Package.swift.txt +++ b/Sources/Services/AWSWAFRegional/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSWAFRegional/Sources/AWSWAFRegional/WAFRegionalClient.swift b/Sources/Services/AWSWAFRegional/Sources/AWSWAFRegional/WAFRegionalClient.swift index 000941780cd..364d707155c 100644 --- a/Sources/Services/AWSWAFRegional/Sources/AWSWAFRegional/WAFRegionalClient.swift +++ b/Sources/Services/AWSWAFRegional/Sources/AWSWAFRegional/WAFRegionalClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WAFRegionalClient: ClientRuntime.Client { public static let clientName = "WAFRegionalClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: WAFRegionalClient.WAFRegionalClientConfiguration let serviceName = "WAF Regional" @@ -93,6 +94,8 @@ extension WAFRegionalClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension WAFRegionalClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension WAFRegionalClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension WAFRegionalClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension WAFRegionalClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension WAFRegionalClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension WAFRegionalClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension WAFRegionalClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension WAFRegionalClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -388,6 +407,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -493,6 +514,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -598,6 +621,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -703,6 +728,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -830,6 +857,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -915,6 +944,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -1000,6 +1031,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -1118,6 +1151,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -1204,6 +1239,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -1309,6 +1346,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -1414,6 +1453,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -1526,6 +1567,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -1643,6 +1686,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -1748,6 +1793,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -1842,6 +1889,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -1936,6 +1985,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -2030,6 +2081,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -2103,6 +2156,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -2176,6 +2231,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -2272,6 +2329,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -2366,6 +2425,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -2454,6 +2515,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -2550,6 +2613,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -2656,6 +2721,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -2750,6 +2817,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -2844,6 +2913,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -2940,6 +3011,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -3034,6 +3107,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -3126,6 +3201,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -3199,6 +3276,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -3270,6 +3349,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -3348,6 +3429,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -3421,6 +3504,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -3494,6 +3579,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -3566,6 +3653,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -3638,6 +3727,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -3711,6 +3802,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -3803,6 +3896,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -3876,6 +3971,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -3949,6 +4046,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -4022,6 +4121,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -4094,6 +4195,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -4166,6 +4269,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -4239,6 +4344,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -4312,6 +4419,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -4385,6 +4494,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -4478,6 +4589,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -4551,6 +4664,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -4642,6 +4757,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -4714,6 +4831,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -4786,6 +4905,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -4858,6 +4979,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -4949,6 +5072,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -5021,6 +5146,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -5093,6 +5220,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -5165,6 +5294,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -5257,6 +5388,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -5328,6 +5461,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -5400,6 +5535,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -5472,6 +5609,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -5544,6 +5683,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -5616,6 +5757,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -5710,6 +5853,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -5782,6 +5927,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -5854,6 +6001,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -5935,6 +6084,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -6047,6 +6198,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -6142,6 +6295,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -6236,6 +6391,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -6372,6 +6529,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -6509,6 +6668,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -6657,6 +6818,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -6792,6 +6955,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -6908,6 +7073,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -7031,6 +7198,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -7170,6 +7339,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -7294,6 +7465,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -7435,6 +7608,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -7567,6 +7742,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -7711,6 +7888,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() @@ -7843,6 +8022,8 @@ extension WAFRegionalClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "waf-regional") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSWAFV2/Package.swift.txt b/Sources/Services/AWSWAFV2/Package.swift.txt index 1b1cf012882..e53fb87c7f6 100644 --- a/Sources/Services/AWSWAFV2/Package.swift.txt +++ b/Sources/Services/AWSWAFV2/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSWAFV2/Sources/AWSWAFV2/WAFV2Client.swift b/Sources/Services/AWSWAFV2/Sources/AWSWAFV2/WAFV2Client.swift index 60298b2b6aa..23d5d605e1b 100644 --- a/Sources/Services/AWSWAFV2/Sources/AWSWAFV2/WAFV2Client.swift +++ b/Sources/Services/AWSWAFV2/Sources/AWSWAFV2/WAFV2Client.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WAFV2Client: ClientRuntime.Client { public static let clientName = "WAFV2Client" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: WAFV2Client.WAFV2ClientConfiguration let serviceName = "WAFV2" @@ -94,6 +95,8 @@ extension WAFV2Client { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension WAFV2Client { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension WAFV2Client { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension WAFV2Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension WAFV2Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension WAFV2Client { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension WAFV2Client { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension WAFV2Client { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension WAFV2Client { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -387,6 +406,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -474,6 +495,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -556,6 +579,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -642,6 +667,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -728,6 +755,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -817,6 +846,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -909,6 +940,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -992,6 +1025,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -1075,6 +1110,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -1161,6 +1198,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -1244,6 +1283,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -1325,6 +1366,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -1411,6 +1454,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -1497,6 +1542,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -1598,6 +1645,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -1679,6 +1728,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -1760,6 +1811,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -1844,6 +1897,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -1926,6 +1981,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -2008,6 +2065,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -2091,6 +2150,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -2173,6 +2234,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -2255,6 +2318,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -2337,6 +2402,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -2419,6 +2486,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -2500,6 +2569,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -2583,6 +2654,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -2665,6 +2738,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -2747,6 +2822,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -2828,6 +2905,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -2910,6 +2989,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -2993,6 +3074,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -3075,6 +3158,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -3157,6 +3242,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -3238,6 +3325,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -3319,6 +3408,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -3400,6 +3491,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -3481,6 +3574,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -3562,6 +3657,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -3643,6 +3740,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -3725,6 +3824,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -3806,6 +3907,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -3890,6 +3993,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -3971,6 +4076,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -4073,6 +4180,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -4156,6 +4265,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -4260,6 +4371,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -4345,6 +4458,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -4429,6 +4544,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -4531,6 +4648,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -4614,6 +4733,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -4716,6 +4837,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -4821,6 +4944,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() @@ -4928,6 +5053,8 @@ extension WAFV2Client { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wafv2") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSWellArchitected/Package.swift.txt b/Sources/Services/AWSWellArchitected/Package.swift.txt index 1714bbe998e..7c84dbb1a61 100644 --- a/Sources/Services/AWSWellArchitected/Package.swift.txt +++ b/Sources/Services/AWSWellArchitected/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSWellArchitected/Sources/AWSWellArchitected/WellArchitectedClient.swift b/Sources/Services/AWSWellArchitected/Sources/AWSWellArchitected/WellArchitectedClient.swift index a5355a97b0a..abf06b41682 100644 --- a/Sources/Services/AWSWellArchitected/Sources/AWSWellArchitected/WellArchitectedClient.swift +++ b/Sources/Services/AWSWellArchitected/Sources/AWSWellArchitected/WellArchitectedClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WellArchitectedClient: ClientRuntime.Client { public static let clientName = "WellArchitectedClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: WellArchitectedClient.WellArchitectedClientConfiguration let serviceName = "WellArchitected" @@ -94,6 +95,8 @@ extension WellArchitectedClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension WellArchitectedClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension WellArchitectedClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension WellArchitectedClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension WellArchitectedClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension WellArchitectedClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension WellArchitectedClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension WellArchitectedClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension WellArchitectedClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -372,6 +391,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -447,6 +468,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -523,6 +546,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -600,6 +625,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -677,6 +704,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -753,6 +782,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -830,6 +861,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -907,6 +940,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -984,6 +1019,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -1069,6 +1106,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -1146,6 +1185,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -1222,6 +1263,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -1296,6 +1339,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -1370,6 +1415,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -1444,6 +1491,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -1518,6 +1567,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -1592,6 +1643,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -1666,6 +1719,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -1740,6 +1795,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -1814,6 +1871,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -1889,6 +1948,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -1963,6 +2024,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -2035,6 +2098,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -2107,6 +2172,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -2178,6 +2245,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -2249,6 +2318,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -2321,6 +2392,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -2393,6 +2466,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -2465,6 +2540,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -2537,6 +2614,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -2608,6 +2687,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -2680,6 +2761,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -2751,6 +2834,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -2822,6 +2907,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -2893,6 +2980,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -2964,6 +3053,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -3037,6 +3128,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -3112,6 +3205,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -3184,6 +3279,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -3258,6 +3355,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -3332,6 +3431,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -3404,6 +3505,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -3476,6 +3579,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -3547,6 +3652,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -3619,6 +3726,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -3692,6 +3801,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -3765,6 +3876,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -3837,6 +3950,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -3908,6 +4023,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -3980,6 +4097,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -4051,6 +4170,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -4122,6 +4243,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -4191,6 +4314,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -4262,6 +4387,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -4334,6 +4461,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -4405,6 +4534,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -4476,6 +4607,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -4547,6 +4680,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -4620,6 +4755,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -4694,6 +4831,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -4769,6 +4908,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -4845,6 +4986,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -4920,6 +5063,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -4995,6 +5140,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -5070,6 +5217,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -5145,6 +5294,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -5220,6 +5371,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -5295,6 +5448,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -5370,6 +5525,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -5446,6 +5603,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -5522,6 +5681,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() @@ -5598,6 +5759,8 @@ extension WellArchitectedClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wellarchitected") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSWisdom/Package.swift.txt b/Sources/Services/AWSWisdom/Package.swift.txt index 338fd485af6..f2d9d5ac372 100644 --- a/Sources/Services/AWSWisdom/Package.swift.txt +++ b/Sources/Services/AWSWisdom/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSWisdom/Sources/AWSWisdom/WisdomClient.swift b/Sources/Services/AWSWisdom/Sources/AWSWisdom/WisdomClient.swift index 6d2d6ceed81..f169014e6db 100644 --- a/Sources/Services/AWSWisdom/Sources/AWSWisdom/WisdomClient.swift +++ b/Sources/Services/AWSWisdom/Sources/AWSWisdom/WisdomClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WisdomClient: ClientRuntime.Client { public static let clientName = "WisdomClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: WisdomClient.WisdomClientConfiguration let serviceName = "Wisdom" @@ -95,6 +96,8 @@ extension WisdomClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension WisdomClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension WisdomClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension WisdomClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension WisdomClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension WisdomClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension WisdomClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension WisdomClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension WisdomClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -521,6 +544,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -603,6 +628,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -678,6 +705,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -751,6 +780,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -824,6 +855,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -893,6 +926,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -962,6 +997,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -1032,6 +1069,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -1102,6 +1141,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -1171,6 +1212,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -1240,6 +1283,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -1309,6 +1354,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -1378,6 +1425,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -1447,6 +1496,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -1516,6 +1567,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -1585,6 +1638,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -1654,6 +1709,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -1724,6 +1781,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -1794,6 +1853,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -1863,6 +1924,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -1932,6 +1995,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -2002,6 +2067,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -2071,6 +2138,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -2140,6 +2209,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -2210,6 +2281,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -2278,6 +2351,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -2347,6 +2422,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -2421,6 +2498,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -2493,6 +2572,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -2562,6 +2643,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -2636,6 +2719,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -2709,6 +2794,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -2782,6 +2869,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -2858,6 +2947,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -2930,6 +3021,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -3000,6 +3093,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -3071,6 +3166,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -3143,6 +3240,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() @@ -3217,6 +3316,8 @@ extension WisdomClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "wisdom") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSWorkDocs/Package.swift.txt b/Sources/Services/AWSWorkDocs/Package.swift.txt index 315d429cc9b..51faee674a3 100644 --- a/Sources/Services/AWSWorkDocs/Package.swift.txt +++ b/Sources/Services/AWSWorkDocs/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSWorkDocs/Sources/AWSWorkDocs/WorkDocsClient.swift b/Sources/Services/AWSWorkDocs/Sources/AWSWorkDocs/WorkDocsClient.swift index 7fdb9c4e218..9228fc4d4f8 100644 --- a/Sources/Services/AWSWorkDocs/Sources/AWSWorkDocs/WorkDocsClient.swift +++ b/Sources/Services/AWSWorkDocs/Sources/AWSWorkDocs/WorkDocsClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WorkDocsClient: ClientRuntime.Client { public static let clientName = "WorkDocsClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: WorkDocsClient.WorkDocsClientConfiguration let serviceName = "WorkDocs" @@ -95,6 +96,8 @@ extension WorkDocsClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension WorkDocsClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension WorkDocsClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension WorkDocsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension WorkDocsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension WorkDocsClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension WorkDocsClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension WorkDocsClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension WorkDocsClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -374,6 +393,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -518,6 +541,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -596,6 +621,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -673,6 +700,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -754,6 +783,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -830,6 +861,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -904,6 +937,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -978,6 +1013,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -1053,6 +1090,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -1127,6 +1166,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -1200,6 +1241,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -1277,6 +1320,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -1352,6 +1397,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -1429,6 +1476,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -1503,6 +1552,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -1576,6 +1627,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -1648,6 +1701,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -1719,6 +1774,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -1791,6 +1848,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -1865,6 +1924,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -1941,6 +2002,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -2015,6 +2078,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -2087,6 +2152,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -2158,6 +2225,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -2230,6 +2299,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -2303,6 +2374,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -2378,6 +2451,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -2451,6 +2526,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -2525,6 +2602,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -2598,6 +2677,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -2673,6 +2754,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -2748,6 +2831,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -2821,6 +2906,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -2894,6 +2981,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -2976,6 +3065,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -3050,6 +3141,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -3121,6 +3214,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -3197,6 +3292,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -3268,6 +3365,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -3348,6 +3447,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -3426,6 +3527,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -3506,6 +3609,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() @@ -3585,6 +3690,8 @@ extension WorkDocsClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workdocs") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSWorkMail/Package.swift.txt b/Sources/Services/AWSWorkMail/Package.swift.txt index 59a097d3229..3bb09692647 100644 --- a/Sources/Services/AWSWorkMail/Package.swift.txt +++ b/Sources/Services/AWSWorkMail/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSWorkMail/Sources/AWSWorkMail/WorkMailClient.swift b/Sources/Services/AWSWorkMail/Sources/AWSWorkMail/WorkMailClient.swift index 30a0c1a8aa3..8199419255e 100644 --- a/Sources/Services/AWSWorkMail/Sources/AWSWorkMail/WorkMailClient.swift +++ b/Sources/Services/AWSWorkMail/Sources/AWSWorkMail/WorkMailClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WorkMailClient: ClientRuntime.Client { public static let clientName = "WorkMailClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: WorkMailClient.WorkMailClientConfiguration let serviceName = "WorkMail" @@ -95,6 +96,8 @@ extension WorkMailClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension WorkMailClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension WorkMailClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension WorkMailClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension WorkMailClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension WorkMailClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension WorkMailClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension WorkMailClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension WorkMailClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -451,6 +472,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -525,6 +548,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -599,6 +624,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -679,6 +706,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -754,6 +783,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -833,6 +864,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -904,6 +937,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -981,6 +1016,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -1056,6 +1093,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -1132,6 +1171,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -1211,6 +1252,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -1290,6 +1333,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -1362,6 +1407,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -1437,6 +1484,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -1509,6 +1558,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -1582,6 +1633,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -1659,6 +1712,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -1731,6 +1786,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -1804,6 +1861,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -1877,6 +1936,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -1952,6 +2013,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -2026,6 +2089,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -2099,6 +2164,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -2172,6 +2239,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -2246,6 +2315,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -2321,6 +2392,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -2394,6 +2467,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -2471,6 +2546,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -2546,6 +2623,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -2621,6 +2700,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -2695,6 +2776,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -2769,6 +2852,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -2843,6 +2928,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -2917,6 +3004,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -2989,6 +3078,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -3063,6 +3154,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -3135,6 +3228,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -3210,6 +3305,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -3286,6 +3383,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -3362,6 +3461,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -3440,6 +3541,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -3515,6 +3618,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -3589,6 +3694,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -3663,6 +3770,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -3739,6 +3848,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -3813,6 +3924,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -3887,6 +4000,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -3960,6 +4075,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -4035,6 +4152,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -4109,6 +4228,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -4181,6 +4302,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -4256,6 +4379,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -4329,6 +4454,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -4404,6 +4531,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -4478,6 +4607,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -4553,6 +4684,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -4626,6 +4759,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -4699,6 +4834,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -4772,6 +4909,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -4846,6 +4985,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -4920,6 +5061,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -4993,6 +5136,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -5064,6 +5209,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -5139,6 +5286,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -5215,6 +5364,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -5289,6 +5440,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -5360,6 +5513,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -5433,6 +5588,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -5509,6 +5666,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -5583,6 +5742,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -5657,6 +5818,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -5729,6 +5892,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -5804,6 +5969,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -5879,6 +6046,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -5953,6 +6122,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -6028,6 +6199,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -6110,6 +6283,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -6189,6 +6364,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -6264,6 +6441,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -6339,6 +6518,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -6413,6 +6594,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -6484,6 +6667,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -6558,6 +6743,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -6633,6 +6820,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -6709,6 +6898,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -6786,6 +6977,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -6861,6 +7054,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -6935,6 +7130,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -7016,6 +7213,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -7098,6 +7297,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() @@ -7176,6 +7377,8 @@ extension WorkMailClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmail") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSWorkMailMessageFlow/Package.swift.txt b/Sources/Services/AWSWorkMailMessageFlow/Package.swift.txt index d28f291bf15..8fda890874b 100644 --- a/Sources/Services/AWSWorkMailMessageFlow/Package.swift.txt +++ b/Sources/Services/AWSWorkMailMessageFlow/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSWorkMailMessageFlow/Sources/AWSWorkMailMessageFlow/WorkMailMessageFlowClient.swift b/Sources/Services/AWSWorkMailMessageFlow/Sources/AWSWorkMailMessageFlow/WorkMailMessageFlowClient.swift index 0e0e6e14928..6ad77645339 100644 --- a/Sources/Services/AWSWorkMailMessageFlow/Sources/AWSWorkMailMessageFlow/WorkMailMessageFlowClient.swift +++ b/Sources/Services/AWSWorkMailMessageFlow/Sources/AWSWorkMailMessageFlow/WorkMailMessageFlowClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WorkMailMessageFlowClient: ClientRuntime.Client { public static let clientName = "WorkMailMessageFlowClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: WorkMailMessageFlowClient.WorkMailMessageFlowClientConfiguration let serviceName = "WorkMailMessageFlow" @@ -93,6 +94,8 @@ extension WorkMailMessageFlowClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension WorkMailMessageFlowClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension WorkMailMessageFlowClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension WorkMailMessageFlowClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension WorkMailMessageFlowClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension WorkMailMessageFlowClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension WorkMailMessageFlowClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension WorkMailMessageFlowClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension WorkMailMessageFlowClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -366,6 +385,8 @@ extension WorkMailMessageFlowClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmailmessageflow") .withSigningRegion(value: config.signingRegion) .build() @@ -442,6 +463,8 @@ extension WorkMailMessageFlowClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workmailmessageflow") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSWorkSpaces/Package.swift.txt b/Sources/Services/AWSWorkSpaces/Package.swift.txt index 9929e1ca25a..f2b682ce507 100644 --- a/Sources/Services/AWSWorkSpaces/Package.swift.txt +++ b/Sources/Services/AWSWorkSpaces/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/Models.swift b/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/Models.swift index e6a168c8b77..61cce80c62d 100644 --- a/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/Models.swift +++ b/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/Models.swift @@ -1318,6 +1318,8 @@ extension WorkSpacesClientTypes { extension WorkSpacesClientTypes { public enum Compute: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable { + case generalpurpose4xlarge + case generalpurpose8xlarge case graphics case graphicspro case graphicsproG4dn @@ -1331,6 +1333,8 @@ extension WorkSpacesClientTypes { public static var allCases: [Compute] { return [ + .generalpurpose4xlarge, + .generalpurpose8xlarge, .graphics, .graphicspro, .graphicsproG4dn, @@ -1350,6 +1354,8 @@ extension WorkSpacesClientTypes { public var rawValue: Swift.String { switch self { + case .generalpurpose4xlarge: return "GENERALPURPOSE_4XLARGE" + case .generalpurpose8xlarge: return "GENERALPURPOSE_8XLARGE" case .graphics: return "GRAPHICS" case .graphicspro: return "GRAPHICSPRO" case .graphicsproG4dn: return "GRAPHICSPRO_G4DN" diff --git a/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/WorkSpacesClient.swift b/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/WorkSpacesClient.swift index cb99b396fea..11b96cfc66c 100644 --- a/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/WorkSpacesClient.swift +++ b/Sources/Services/AWSWorkSpaces/Sources/AWSWorkSpaces/WorkSpacesClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WorkSpacesClient: ClientRuntime.Client { public static let clientName = "WorkSpacesClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: WorkSpacesClient.WorkSpacesClientConfiguration let serviceName = "WorkSpaces" @@ -94,6 +95,8 @@ extension WorkSpacesClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension WorkSpacesClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension WorkSpacesClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension WorkSpacesClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension WorkSpacesClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension WorkSpacesClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension WorkSpacesClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension WorkSpacesClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension WorkSpacesClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -371,6 +390,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -447,6 +468,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -523,6 +546,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -603,6 +628,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -678,6 +705,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -755,6 +784,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -829,6 +860,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -904,6 +937,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -980,6 +1015,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -1055,6 +1092,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -1130,6 +1169,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -1203,6 +1244,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -1286,6 +1329,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -1362,6 +1407,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -1439,6 +1486,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -1519,6 +1568,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -1595,6 +1646,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -1670,6 +1723,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -1743,6 +1798,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -1816,6 +1873,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -1892,6 +1951,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -1966,6 +2027,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -2038,6 +2101,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -2112,6 +2177,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -2185,6 +2252,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -2261,6 +2330,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -2336,6 +2407,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -2407,6 +2480,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -2478,6 +2553,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -2552,6 +2629,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -2626,6 +2705,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -2700,6 +2781,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -2773,6 +2856,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -2846,6 +2931,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -2919,6 +3006,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -2993,6 +3082,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -3066,6 +3157,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -3140,6 +3233,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -3212,6 +3307,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -3283,6 +3380,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -3357,6 +3456,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -3428,6 +3529,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -3499,6 +3602,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -3572,6 +3677,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -3643,6 +3750,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -3716,6 +3825,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -3788,6 +3899,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -3859,6 +3972,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -3932,6 +4047,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -4005,6 +4122,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -4080,6 +4199,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -4155,6 +4276,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -4230,6 +4353,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -4304,6 +4429,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -4386,6 +4513,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -4462,6 +4591,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -4535,6 +4666,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -4607,6 +4740,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -4683,6 +4818,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -4758,6 +4895,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -4832,6 +4971,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -4906,6 +5047,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -4980,6 +5123,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -5054,6 +5199,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -5128,6 +5275,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -5200,6 +5349,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -5274,6 +5425,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -5354,6 +5507,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -5428,6 +5583,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -5499,6 +5656,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -5570,6 +5729,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -5649,6 +5810,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -5724,6 +5887,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -5798,6 +5963,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -5872,6 +6039,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -5938,6 +6107,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -6015,6 +6186,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -6081,6 +6254,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -6156,6 +6331,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -6222,6 +6399,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -6297,6 +6476,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -6372,6 +6553,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -6445,6 +6628,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -6526,6 +6711,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -6601,6 +6788,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -6676,6 +6865,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -6755,6 +6946,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() @@ -6832,6 +7025,8 @@ extension WorkSpacesClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSWorkSpacesThinClient/Package.swift.txt b/Sources/Services/AWSWorkSpacesThinClient/Package.swift.txt index 0cc8b13ec30..ae9b1f8d68f 100644 --- a/Sources/Services/AWSWorkSpacesThinClient/Package.swift.txt +++ b/Sources/Services/AWSWorkSpacesThinClient/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSWorkSpacesThinClient/Sources/AWSWorkSpacesThinClient/Models.swift b/Sources/Services/AWSWorkSpacesThinClient/Sources/AWSWorkSpacesThinClient/Models.swift index 79a13aa710f..703603d8ec8 100644 --- a/Sources/Services/AWSWorkSpacesThinClient/Sources/AWSWorkSpacesThinClient/Models.swift +++ b/Sources/Services/AWSWorkSpacesThinClient/Sources/AWSWorkSpacesThinClient/Models.swift @@ -421,6 +421,7 @@ extension WorkSpacesThinClientClientTypes { /// The minutes past the hour for the maintenance window start (00-59). public var startTimeMinute: Swift.Int? /// An option to select the default or custom maintenance window. + /// This member is required. public var type: WorkSpacesThinClientClientTypes.MaintenanceWindowType? public init( @@ -2577,7 +2578,7 @@ extension WorkSpacesThinClientClientTypes.MaintenanceWindow { static func read(from reader: SmithyJSON.Reader) throws -> WorkSpacesThinClientClientTypes.MaintenanceWindow { guard reader.hasContent else { throw SmithyReadWrite.ReaderError.requiredValueNotPresent } var value = WorkSpacesThinClientClientTypes.MaintenanceWindow() - value.type = try reader["type"].readIfPresent() + value.type = try reader["type"].readIfPresent() ?? .sdkUnknown("") value.startTimeHour = try reader["startTimeHour"].readIfPresent() value.startTimeMinute = try reader["startTimeMinute"].readIfPresent() value.endTimeHour = try reader["endTimeHour"].readIfPresent() diff --git a/Sources/Services/AWSWorkSpacesThinClient/Sources/AWSWorkSpacesThinClient/WorkSpacesThinClientClient.swift b/Sources/Services/AWSWorkSpacesThinClient/Sources/AWSWorkSpacesThinClient/WorkSpacesThinClientClient.swift index 6e2da3ac74f..34ccb067222 100644 --- a/Sources/Services/AWSWorkSpacesThinClient/Sources/AWSWorkSpacesThinClient/WorkSpacesThinClientClient.swift +++ b/Sources/Services/AWSWorkSpacesThinClient/Sources/AWSWorkSpacesThinClient/WorkSpacesThinClientClient.swift @@ -22,6 +22,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -64,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WorkSpacesThinClientClient: ClientRuntime.Client { public static let clientName = "WorkSpacesThinClientClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: WorkSpacesThinClientClient.WorkSpacesThinClientClientConfiguration let serviceName = "WorkSpaces Thin Client" @@ -94,6 +95,8 @@ extension WorkSpacesThinClientClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -119,6 +122,8 @@ extension WorkSpacesThinClientClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -142,6 +147,8 @@ extension WorkSpacesThinClientClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -168,6 +175,8 @@ extension WorkSpacesThinClientClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -192,6 +201,8 @@ extension WorkSpacesThinClientClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -218,6 +229,8 @@ extension WorkSpacesThinClientClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -242,6 +255,8 @@ extension WorkSpacesThinClientClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -269,6 +284,8 @@ extension WorkSpacesThinClientClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -296,6 +313,8 @@ extension WorkSpacesThinClientClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension WorkSpacesThinClientClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "thinclient") .withSigningRegion(value: config.signingRegion) .build() @@ -449,6 +470,8 @@ extension WorkSpacesThinClientClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "thinclient") .withSigningRegion(value: config.signingRegion) .build() @@ -523,6 +546,8 @@ extension WorkSpacesThinClientClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "thinclient") .withSigningRegion(value: config.signingRegion) .build() @@ -597,6 +622,8 @@ extension WorkSpacesThinClientClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "thinclient") .withSigningRegion(value: config.signingRegion) .build() @@ -672,6 +699,8 @@ extension WorkSpacesThinClientClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "thinclient") .withSigningRegion(value: config.signingRegion) .build() @@ -743,6 +772,8 @@ extension WorkSpacesThinClientClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "thinclient") .withSigningRegion(value: config.signingRegion) .build() @@ -814,6 +845,8 @@ extension WorkSpacesThinClientClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "thinclient") .withSigningRegion(value: config.signingRegion) .build() @@ -884,6 +917,8 @@ extension WorkSpacesThinClientClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "thinclient") .withSigningRegion(value: config.signingRegion) .build() @@ -955,6 +990,8 @@ extension WorkSpacesThinClientClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "thinclient") .withSigningRegion(value: config.signingRegion) .build() @@ -1026,6 +1063,8 @@ extension WorkSpacesThinClientClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "thinclient") .withSigningRegion(value: config.signingRegion) .build() @@ -1098,6 +1137,8 @@ extension WorkSpacesThinClientClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "thinclient") .withSigningRegion(value: config.signingRegion) .build() @@ -1170,6 +1211,8 @@ extension WorkSpacesThinClientClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "thinclient") .withSigningRegion(value: config.signingRegion) .build() @@ -1245,6 +1288,8 @@ extension WorkSpacesThinClientClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "thinclient") .withSigningRegion(value: config.signingRegion) .build() @@ -1317,6 +1362,8 @@ extension WorkSpacesThinClientClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "thinclient") .withSigningRegion(value: config.signingRegion) .build() @@ -1391,6 +1438,8 @@ extension WorkSpacesThinClientClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "thinclient") .withSigningRegion(value: config.signingRegion) .build() @@ -1465,6 +1514,8 @@ extension WorkSpacesThinClientClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "thinclient") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSWorkSpacesWeb/Package.swift.txt b/Sources/Services/AWSWorkSpacesWeb/Package.swift.txt index 9d750b01175..99353614303 100644 --- a/Sources/Services/AWSWorkSpacesWeb/Package.swift.txt +++ b/Sources/Services/AWSWorkSpacesWeb/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSWorkSpacesWeb/Sources/AWSWorkSpacesWeb/WorkSpacesWebClient.swift b/Sources/Services/AWSWorkSpacesWeb/Sources/AWSWorkSpacesWeb/WorkSpacesWebClient.swift index bea15c1ff1f..62567535354 100644 --- a/Sources/Services/AWSWorkSpacesWeb/Sources/AWSWorkSpacesWeb/WorkSpacesWebClient.swift +++ b/Sources/Services/AWSWorkSpacesWeb/Sources/AWSWorkSpacesWeb/WorkSpacesWebClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -65,7 +66,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class WorkSpacesWebClient: ClientRuntime.Client { public static let clientName = "WorkSpacesWebClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: WorkSpacesWebClient.WorkSpacesWebClientConfiguration let serviceName = "WorkSpaces Web" @@ -95,6 +96,8 @@ extension WorkSpacesWebClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -120,6 +123,8 @@ extension WorkSpacesWebClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -143,6 +148,8 @@ extension WorkSpacesWebClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -169,6 +176,8 @@ extension WorkSpacesWebClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -193,6 +202,8 @@ extension WorkSpacesWebClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -219,6 +230,8 @@ extension WorkSpacesWebClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -243,6 +256,8 @@ extension WorkSpacesWebClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -270,6 +285,8 @@ extension WorkSpacesWebClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -297,6 +314,8 @@ extension WorkSpacesWebClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -373,6 +392,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -446,6 +467,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -519,6 +542,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -592,6 +617,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -665,6 +692,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -738,6 +767,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -811,6 +842,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -885,6 +918,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -962,6 +997,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -1039,6 +1076,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -1115,6 +1154,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -1191,6 +1232,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -1268,6 +1311,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -1344,6 +1389,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -1420,6 +1467,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -1496,6 +1545,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -1571,6 +1622,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -1642,6 +1695,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -1713,6 +1768,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -1784,6 +1841,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -1855,6 +1914,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -1926,6 +1987,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -1997,6 +2060,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -2068,6 +2133,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -2139,6 +2206,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -2211,6 +2280,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -2283,6 +2354,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -2355,6 +2428,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -2427,6 +2502,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -2499,6 +2576,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -2571,6 +2650,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -2643,6 +2724,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -2714,6 +2797,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -2785,6 +2870,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -2856,6 +2943,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -2927,6 +3016,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -2998,6 +3089,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -3069,6 +3162,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -3140,6 +3235,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -3211,6 +3308,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -3282,6 +3381,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -3353,6 +3454,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -3424,6 +3527,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -3496,6 +3601,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -3567,6 +3674,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -3637,6 +3746,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -3708,6 +3819,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -3779,6 +3892,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -3850,6 +3965,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -3921,6 +4038,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -3992,6 +4111,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -4064,6 +4185,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -4136,6 +4259,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -4207,6 +4332,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -4278,6 +4405,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -4349,6 +4478,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -4420,6 +4551,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -4493,6 +4626,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -4568,6 +4703,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -4640,6 +4777,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -4715,6 +4854,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -4790,6 +4931,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -4865,6 +5008,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -4940,6 +5085,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -5017,6 +5164,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -5092,6 +5241,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -5167,6 +5318,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() @@ -5242,6 +5395,8 @@ extension WorkSpacesWebClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "workspaces-web") .withSigningRegion(value: config.signingRegion) .build() diff --git a/Sources/Services/AWSXRay/Package.swift.txt b/Sources/Services/AWSXRay/Package.swift.txt index 4603bd0c1d8..06590f9f562 100644 --- a/Sources/Services/AWSXRay/Package.swift.txt +++ b/Sources/Services/AWSXRay/Package.swift.txt @@ -15,6 +15,10 @@ let package = Package( id: "aws-sdk-swift.AWSClientRuntime", exact: "0.0.1" ), + .package( + id: "aws-sdk-swift.AWSSDKChecksums", + exact: "0.0.1" + ), .package( id: "aws-sdk-swift.AWSSDKHTTPAuth", exact: "0.0.1" @@ -32,6 +36,10 @@ let package = Package( name: "AWSClientRuntime", package: "aws-sdk-swift.AWSClientRuntime" ), + .product( + name: "AWSSDKChecksums", + package: "aws-sdk-swift.AWSSDKChecksums" + ), .product( name: "AWSSDKHTTPAuth", package: "aws-sdk-swift.AWSSDKHTTPAuth" diff --git a/Sources/Services/AWSXRay/Sources/AWSXRay/XRayClient.swift b/Sources/Services/AWSXRay/Sources/AWSXRay/XRayClient.swift index df1d1eadf67..c9c101f3160 100644 --- a/Sources/Services/AWSXRay/Sources/AWSXRay/XRayClient.swift +++ b/Sources/Services/AWSXRay/Sources/AWSXRay/XRayClient.swift @@ -23,6 +23,7 @@ import class SmithyHTTPAPI.HTTPResponse @_spi(SmithyReadWrite) import class SmithyJSON.Writer import enum AWSClientRuntime.AWSRetryErrorInfoProvider import enum AWSClientRuntime.AWSRetryMode +import enum AWSSDKChecksums.AWSChecksumCalculationMode import enum ClientRuntime.ClientLogMode import enum ClientRuntime.DefaultTelemetry import enum ClientRuntime.OrchestratorMetricsAttributesKeys @@ -63,7 +64,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes public class XRayClient: ClientRuntime.Client { public static let clientName = "XRayClient" - public static let version = "1.0.78" + public static let version = "1.1.1" let client: ClientRuntime.SdkHttpClient let config: XRayClient.XRayClientConfiguration let serviceName = "XRay" @@ -93,6 +94,8 @@ extension XRayClient { public var awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver public var awsRetryMode: AWSClientRuntime.AWSRetryMode public var maxAttempts: Swift.Int? + public var requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode + public var responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode public var ignoreConfiguredEndpointURLs: Swift.Bool? public var region: Swift.String? public var signingRegion: Swift.String? @@ -118,6 +121,8 @@ extension XRayClient { _ awsCredentialIdentityResolver: any SmithyIdentity.AWSCredentialIdentityResolver, _ awsRetryMode: AWSClientRuntime.AWSRetryMode, _ maxAttempts: Swift.Int?, + _ requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode, + _ responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode, _ ignoreConfiguredEndpointURLs: Swift.Bool?, _ region: Swift.String?, _ signingRegion: Swift.String?, @@ -141,6 +146,8 @@ extension XRayClient { self.awsCredentialIdentityResolver = awsCredentialIdentityResolver self.awsRetryMode = awsRetryMode self.maxAttempts = maxAttempts + self.requestChecksumCalculation = requestChecksumCalculation + self.responseChecksumValidation = responseChecksumValidation self.ignoreConfiguredEndpointURLs = ignoreConfiguredEndpointURLs self.region = region self.signingRegion = signingRegion @@ -167,6 +174,8 @@ extension XRayClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -191,6 +200,8 @@ extension XRayClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, region, signingRegion, @@ -217,6 +228,8 @@ extension XRayClient { awsCredentialIdentityResolver: (any SmithyIdentity.AWSCredentialIdentityResolver)? = nil, awsRetryMode: AWSClientRuntime.AWSRetryMode? = nil, maxAttempts: Swift.Int? = nil, + requestChecksumCalculation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, + responseChecksumValidation: AWSSDKChecksums.AWSChecksumCalculationMode? = nil, ignoreConfiguredEndpointURLs: Swift.Bool? = nil, region: Swift.String? = nil, signingRegion: Swift.String? = nil, @@ -241,6 +254,8 @@ extension XRayClient { try awsCredentialIdentityResolver ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(awsCredentialIdentityResolver), try awsRetryMode ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), maxAttempts, + try requestChecksumCalculation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.requestChecksumCalculation(requestChecksumCalculation), + try responseChecksumValidation ?? AWSClientRuntime.AWSClientConfigDefaultsProvider.responseChecksumValidation(responseChecksumValidation), ignoreConfiguredEndpointURLs, try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), try await AWSClientRuntime.AWSClientConfigDefaultsProvider.region(region), @@ -268,6 +283,8 @@ extension XRayClient { awsCredentialIdentityResolver: nil, awsRetryMode: nil, maxAttempts: nil, + requestChecksumCalculation: nil, + responseChecksumValidation: nil, ignoreConfiguredEndpointURLs: nil, region: nil, signingRegion: nil, @@ -295,6 +312,8 @@ extension XRayClient { try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(), try AWSClientRuntime.AWSClientConfigDefaultsProvider.retryMode(), nil, + try AWSClientConfigDefaultsProvider.requestChecksumCalculation(), + try AWSClientConfigDefaultsProvider.responseChecksumValidation(), nil, region, region, @@ -367,6 +386,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -439,6 +460,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -510,6 +533,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -582,6 +607,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -653,6 +680,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -725,6 +754,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -796,6 +827,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -867,6 +900,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -935,6 +970,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -1006,6 +1043,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -1077,6 +1116,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -1148,6 +1189,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -1219,6 +1262,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -1290,6 +1335,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -1361,6 +1408,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -1433,6 +1482,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -1504,6 +1555,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -1575,6 +1628,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -1646,6 +1701,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -1717,6 +1774,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -1788,6 +1847,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -1859,6 +1920,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -1930,6 +1993,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -1998,6 +2063,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -2069,6 +2136,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -2141,6 +2210,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -2213,6 +2284,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -2284,6 +2357,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -2359,6 +2434,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -2430,6 +2507,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -2525,6 +2604,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -2597,6 +2678,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -2670,6 +2753,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -2742,6 +2827,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -2813,6 +2900,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -2885,6 +2974,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -2956,6 +3047,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() @@ -3027,6 +3120,8 @@ extension XRayClient { .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4") .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: "aws.auth#sigv4a") .withRegion(value: config.region) + .withRequestChecksumCalculation(value: config.requestChecksumCalculation) + .withResponseChecksumValidation(value: config.responseChecksumValidation) .withSigningName(value: "xray") .withSigningRegion(value: config.signingRegion) .build() diff --git a/codegen/sdk-codegen/aws-models/api-gateway.json b/codegen/sdk-codegen/aws-models/api-gateway.json index 44117eaf165..f744b3430f4 100644 --- a/codegen/sdk-codegen/aws-models/api-gateway.json +++ b/codegen/sdk-codegen/aws-models/api-gateway.json @@ -2255,7 +2255,7 @@ "domainNameId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

The identifier for the domain name resource. Supported only for private custom domain names.

", + "smithy.api#documentation": "

The identifier for the domain name resource. Required for private custom domain names.

", "smithy.api#httpQuery": "domainNameId" } }, @@ -6765,7 +6765,7 @@ "domainNameId": { "target": "com.amazonaws.apigateway#String", "traits": { - "smithy.api#documentation": "

\n The identifier for the domain name resource. Supported only for private custom domain names.\n

", + "smithy.api#documentation": "

\n The identifier for the domain name resource. Required for private custom domain names.\n

", "smithy.api#httpQuery": "domainNameId" } } diff --git a/codegen/sdk-codegen/aws-models/bedrock-agent-runtime.json b/codegen/sdk-codegen/aws-models/bedrock-agent-runtime.json index 2627baf336f..471c981fc43 100644 --- a/codegen/sdk-codegen/aws-models/bedrock-agent-runtime.json +++ b/codegen/sdk-codegen/aws-models/bedrock-agent-runtime.json @@ -4657,7 +4657,7 @@ } ], "traits": { - "smithy.api#documentation": "\n

The CLI doesn't support streaming operations in Amazon Bedrock, including InvokeAgent.

\n
\n

Sends a prompt for the agent to process and respond to. Note the following fields for the request:

\n
    \n
  • \n

    To continue the same conversation with an agent, use the same sessionId value in the request.

    \n
  • \n
  • \n

    To activate trace enablement, turn enableTrace to true. Trace enablement helps you follow the agent's reasoning process that led it to the information it processed, the actions it took, and the final result it yielded. For more information, see Trace enablement.

    \n
  • \n
  • \n

    To stream agent responses, make sure that only orchestration prompt is enabled. Agent streaming is not supported for the following steps:\n

    \n
      \n
    • \n

      \n Pre-processing\n

      \n
    • \n
    • \n

      \n Post-processing\n

      \n
    • \n
    • \n

      Agent with 1 Knowledge base and User Input not enabled

      \n
    • \n
    \n
  • \n
  • \n

    End a conversation by setting endSession to true.

    \n
  • \n
  • \n

    In the sessionState object, you can include attributes for the session or prompt or, if you configured an action group to return control, results from invocation of the action group.

    \n
  • \n
\n

The response is returned in the bytes field of the chunk object.

\n
    \n
  • \n

    The attribution object contains citations for parts of the response.

    \n
  • \n
  • \n

    If you set enableTrace to true in the request, you can trace the agent's steps and reasoning process that led it to the response.

    \n
  • \n
  • \n

    If the action predicted was configured to return control, the response returns parameters for the action, elicited from the user, in the returnControl field.

    \n
  • \n
  • \n

    Errors are also surfaced in the response.

    \n
  • \n
", + "smithy.api#documentation": "\n \n

Sends a prompt for the agent to process and respond to. Note the following fields for the request:

\n
    \n
  • \n

    To continue the same conversation with an agent, use the same sessionId value in the request.

    \n
  • \n
  • \n

    To activate trace enablement, turn enableTrace to true. Trace enablement helps you follow the agent's reasoning process that led it to the information it processed, the actions it took, and the final result it yielded. For more information, see Trace enablement.

    \n
  • \n
  • \n

    To stream agent responses, make sure that only orchestration prompt is enabled. Agent streaming is not supported for the following steps:\n

    \n
      \n
    • \n

      \n Pre-processing\n

      \n
    • \n
    • \n

      \n Post-processing\n

      \n
    • \n
    • \n

      Agent with 1 Knowledge base and User Input not enabled

      \n
    • \n
    \n
  • \n
  • \n

    End a conversation by setting endSession to true.

    \n
  • \n
  • \n

    In the sessionState object, you can include attributes for the session or prompt or, if you configured an action group to return control, results from invocation of the action group.

    \n
  • \n
\n

The response contains both chunk and trace attributes.

\n

The final response is returned in the bytes field of the chunk object. The InvokeAgent returns one chunk for the entire interaction.

\n
    \n
  • \n

    The attribution object contains citations for parts of the response.

    \n
  • \n
  • \n

    If you set enableTrace to true in the request, you can trace the agent's steps and reasoning process that led it to the response.

    \n
  • \n
  • \n

    If the action predicted was configured to return control, the response returns parameters for the action, elicited from the user, in the returnControl field.

    \n
  • \n
  • \n

    Errors are also surfaced in the response.

    \n
  • \n
", "smithy.api#http": { "code": 200, "method": "POST", @@ -4928,7 +4928,7 @@ } ], "traits": { - "smithy.api#documentation": "

\n Invokes an inline Amazon Bedrock agent using the configurations you provide with the request.\n

\n
    \n
  • \n

    Specify the following fields for security purposes.

    \n
      \n
    • \n

      (Optional) customerEncryptionKeyArn – The Amazon Resource Name (ARN) of a KMS key to encrypt the creation of the agent.

      \n
    • \n
    • \n

      (Optional) idleSessionTTLinSeconds – Specify the number of seconds for which the agent should maintain session information. After this time expires, the subsequent InvokeInlineAgent request begins a new session.

      \n
    • \n
    \n
  • \n
  • \n

    To override the default prompt behavior for agent orchestration and to use advanced prompts, include a promptOverrideConfiguration object. \n For more information, see Advanced prompts.

    \n
  • \n
  • \n

    The agent instructions will not be honored if your agent has only one knowledge base, uses default prompts, has no action group, and user input is disabled.

    \n
  • \n
\n \n

The CLI doesn't support streaming operations in Amazon Bedrock, including InvokeInlineAgent.

\n
", + "smithy.api#documentation": "

\n Invokes an inline Amazon Bedrock agent using the configurations you provide with the request.\n

\n
    \n
  • \n

    Specify the following fields for security purposes.

    \n
      \n
    • \n

      (Optional) customerEncryptionKeyArn – The Amazon Resource Name (ARN) of a KMS key to encrypt the creation of the agent.

      \n
    • \n
    • \n

      (Optional) idleSessionTTLinSeconds – Specify the number of seconds for which the agent should maintain session information. After this time expires, the subsequent InvokeInlineAgent request begins a new session.

      \n
    • \n
    \n
  • \n
  • \n

    To override the default prompt behavior for agent orchestration and to use advanced prompts, include a promptOverrideConfiguration object. \n For more information, see Advanced prompts.

    \n
  • \n
  • \n

    The agent instructions will not be honored if your agent has only one knowledge base, uses default prompts, has no action group, and user input is disabled.

    \n
  • \n
\n \n ", "smithy.api#http": { "code": 200, "method": "POST", @@ -5026,6 +5026,12 @@ "traits": { "smithy.api#documentation": "

Model settings for the request.

" } + }, + "streamingConfigurations": { + "target": "com.amazonaws.bedrockagentruntime#StreamingConfigurations", + "traits": { + "smithy.api#documentation": "

\n Specifies the configurations for streaming.\n

\n \n

To use agent streaming, you need permissions to perform the bedrock:InvokeModelWithResponseStream action.

\n
" + } } }, "traits": { diff --git a/codegen/sdk-codegen/aws-models/cognito-identity.json b/codegen/sdk-codegen/aws-models/cognito-identity.json index e5ba8de9ed8..95471907b7b 100644 --- a/codegen/sdk-codegen/aws-models/cognito-identity.json +++ b/codegen/sdk-codegen/aws-models/cognito-identity.json @@ -297,6 +297,82 @@ } ], "rules": [ + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "us-east-1" + ] + } + ], + "endpoint": { + "url": "https://cognito-identity-fips.us-east-1.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "us-east-2" + ] + } + ], + "endpoint": { + "url": "https://cognito-identity-fips.us-east-2.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "us-west-1" + ] + } + ], + "endpoint": { + "url": "https://cognito-identity-fips.us-west-1.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + { + "ref": "Region" + }, + "us-west-2" + ] + } + ], + "endpoint": { + "url": "https://cognito-identity-fips.us-west-2.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, { "conditions": [], "endpoint": { @@ -401,6 +477,31 @@ } ], "rules": [ + { + "conditions": [ + { + "fn": "stringEquals", + "argv": [ + "aws", + { + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "name" + ] + } + ] + } + ], + "endpoint": { + "url": "https://cognito-identity.{Region}.amazonaws.com", + "properties": {}, + "headers": {} + }, + "type": "endpoint" + }, { "conditions": [], "endpoint": { @@ -446,237 +547,159 @@ "smithy.rules#endpointTests": { "testCases": [ { - "documentation": "For region ap-northeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://cognito-identity.ap-northeast-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-northeast-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-northeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://cognito-identity.ap-northeast-2.amazonaws.com" - } - }, - "params": { - "Region": "ap-northeast-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-south-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://cognito-identity.ap-south-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-south-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-southeast-1 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://cognito-identity.ap-southeast-1.amazonaws.com" - } - }, - "params": { - "Region": "ap-southeast-1", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ap-southeast-2 with FIPS disabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://cognito-identity.ap-southeast-2.amazonaws.com" - } - }, - "params": { - "Region": "ap-southeast-2", - "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region ca-central-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://cognito-identity.ca-central-1.amazonaws.com" + "url": "https://cognito-identity.us-east-1.amazonaws.com" } }, "params": { - "Region": "ca-central-1", + "Region": "us-east-1", "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For region eu-central-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://cognito-identity.eu-central-1.amazonaws.com" + "url": "https://cognito-identity-fips.us-east-1.amazonaws.com" } }, "params": { - "Region": "eu-central-1", - "UseFIPS": false, + "Region": "us-east-1", + "UseFIPS": true, "UseDualStack": false } }, { - "documentation": "For region eu-north-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://cognito-identity.eu-north-1.amazonaws.com" + "url": "https://cognito-identity.us-east-1.amazonaws.com" } }, "params": { - "Region": "eu-north-1", + "Region": "us-east-1", "UseFIPS": false, - "UseDualStack": false + "UseDualStack": true } }, { - "documentation": "For region eu-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://cognito-identity.eu-west-1.amazonaws.com" + "url": "https://cognito-identity-fips.us-east-1.amazonaws.com" } }, "params": { - "Region": "eu-west-1", - "UseFIPS": false, - "UseDualStack": false + "Region": "us-east-1", + "UseFIPS": true, + "UseDualStack": true } }, { - "documentation": "For region eu-west-2 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://cognito-identity.eu-west-2.amazonaws.com" + "url": "https://cognito-identity.us-east-2.amazonaws.com" } }, "params": { - "Region": "eu-west-2", + "Region": "us-east-2", "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For region eu-west-3 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://cognito-identity.eu-west-3.amazonaws.com" + "url": "https://cognito-identity-fips.us-east-2.amazonaws.com" } }, "params": { - "Region": "eu-west-3", - "UseFIPS": false, + "Region": "us-east-2", + "UseFIPS": true, "UseDualStack": false } }, { - "documentation": "For region me-south-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-2 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://cognito-identity.me-south-1.amazonaws.com" + "url": "https://cognito-identity.us-east-2.amazonaws.com" } }, "params": { - "Region": "me-south-1", + "Region": "us-east-2", "UseFIPS": false, - "UseDualStack": false + "UseDualStack": true } }, { - "documentation": "For region sa-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-east-2 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://cognito-identity.sa-east-1.amazonaws.com" + "url": "https://cognito-identity-fips.us-east-2.amazonaws.com" } }, "params": { - "Region": "sa-east-1", - "UseFIPS": false, - "UseDualStack": false + "Region": "us-east-2", + "UseFIPS": true, + "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://cognito-identity.us-east-1.amazonaws.com" + "url": "https://cognito-identity.us-west-1.amazonaws.com" } }, "params": { - "Region": "us-east-1", + "Region": "us-west-1", "UseFIPS": false, "UseDualStack": false } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack disabled", + "documentation": "For region us-west-1 with FIPS enabled and DualStack disabled", "expect": { "endpoint": { - "url": "https://cognito-identity-fips.us-east-1.amazonaws.com" + "url": "https://cognito-identity-fips.us-west-1.amazonaws.com" } }, "params": { - "Region": "us-east-1", + "Region": "us-west-1", "UseFIPS": true, "UseDualStack": false } }, { - "documentation": "For region us-east-2 with FIPS disabled and DualStack disabled", + "documentation": "For region us-west-1 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://cognito-identity.us-east-2.amazonaws.com" + "url": "https://cognito-identity.us-west-1.amazonaws.com" } }, "params": { - "Region": "us-east-2", + "Region": "us-west-1", "UseFIPS": false, - "UseDualStack": false - } - }, - { - "documentation": "For region us-east-2 with FIPS enabled and DualStack disabled", - "expect": { - "endpoint": { - "url": "https://cognito-identity-fips.us-east-2.amazonaws.com" - } - }, - "params": { - "Region": "us-east-2", - "UseFIPS": true, - "UseDualStack": false + "UseDualStack": true } }, { - "documentation": "For region us-west-1 with FIPS disabled and DualStack disabled", + "documentation": "For region us-west-1 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://cognito-identity.us-west-1.amazonaws.com" + "url": "https://cognito-identity-fips.us-west-1.amazonaws.com" } }, "params": { "Region": "us-west-1", - "UseFIPS": false, - "UseDualStack": false + "UseFIPS": true, + "UseDualStack": true } }, { @@ -706,28 +729,28 @@ } }, { - "documentation": "For region us-east-1 with FIPS enabled and DualStack enabled", + "documentation": "For region us-west-2 with FIPS disabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://cognito-identity-fips.us-east-1.api.aws" + "url": "https://cognito-identity.us-west-2.amazonaws.com" } }, "params": { - "Region": "us-east-1", - "UseFIPS": true, + "Region": "us-west-2", + "UseFIPS": false, "UseDualStack": true } }, { - "documentation": "For region us-east-1 with FIPS disabled and DualStack enabled", + "documentation": "For region us-west-2 with FIPS enabled and DualStack enabled", "expect": { "endpoint": { - "url": "https://cognito-identity.us-east-1.api.aws" + "url": "https://cognito-identity-fips.us-west-2.amazonaws.com" } }, "params": { - "Region": "us-east-1", - "UseFIPS": false, + "Region": "us-west-2", + "UseFIPS": true, "UseDualStack": true } }, diff --git a/codegen/sdk-codegen/aws-models/ecs.json b/codegen/sdk-codegen/aws-models/ecs.json index 9173873b692..45d15364d6e 100644 --- a/codegen/sdk-codegen/aws-models/ecs.json +++ b/codegen/sdk-codegen/aws-models/ecs.json @@ -2402,7 +2402,7 @@ "linuxParameters": { "target": "com.amazonaws.ecs#LinuxParameters", "traits": { - "smithy.api#documentation": "

Linux-specific modifications that are applied to the container, such as Linux kernel\n\t\t\tcapabilities. For more information see KernelCapabilities.

\n \n

This parameter is not supported for Windows containers.

\n
" + "smithy.api#documentation": "

Linux-specific modifications that are applied to the default Docker container configuration, such as Linux kernel\n\t\t\tcapabilities. For more information see KernelCapabilities.

\n \n

This parameter is not supported for Windows containers.

\n
" } }, "secrets": { diff --git a/codegen/sdk-codegen/aws-models/partnercentral-selling.json b/codegen/sdk-codegen/aws-models/partnercentral-selling.json index 02fdd1918c6..e25abe9f00b 100644 --- a/codegen/sdk-codegen/aws-models/partnercentral-selling.json +++ b/codegen/sdk-codegen/aws-models/partnercentral-selling.json @@ -4,6 +4,17 @@ "com.amazonaws.partnercentralselling#AWSPartnerCentralSelling": { "type": "service", "version": "2022-07-26", + "operations": [ + { + "target": "com.amazonaws.partnercentralselling#ListTagsForResource" + }, + { + "target": "com.amazonaws.partnercentralselling#TagResource" + }, + { + "target": "com.amazonaws.partnercentralselling#UntagResource" + } + ], "resources": [ { "target": "com.amazonaws.partnercentralselling#Engagement" @@ -418,6 +429,9 @@ { "target": "com.amazonaws.partnercentralselling#AccessDeniedException" }, + { + "target": "com.amazonaws.partnercentralselling#ConflictException" + }, { "target": "com.amazonaws.partnercentralselling#InternalServerException" }, @@ -438,7 +452,7 @@ "aws.iam#iamAction": { "documentation": "Grants permission to accept Engagement Invitations on AWS Partner Central" }, - "smithy.api#documentation": "

\n Use the AcceptEngagementInvitation action to accept an engagement invitation shared by AWS. \n Accepting the invitation indicates your willingness to participate in the engagement, \n granting you access to all engagement-related data.\n

", + "smithy.api#documentation": "

Use the AcceptEngagementInvitation action to accept an engagement\n invitation shared by AWS. Accepting the invitation indicates your willingness to\n participate in the engagement, granting you access to all engagement-related\n data.

", "smithy.api#http": { "method": "POST", "uri": "/AcceptEngagementInvitation", @@ -452,14 +466,14 @@ "Catalog": { "target": "com.amazonaws.partnercentralselling#CatalogIdentifier", "traits": { - "smithy.api#documentation": "

\n The CatalogType parameter specifies the catalog associated with the engagement invitation. \n Accepted values are AWS and Sandbox, \n which determine the environment in which the engagement invitation is managed.\n

", + "smithy.api#documentation": "

The CatalogType parameter specifies the catalog associated with the\n engagement invitation. Accepted values are AWS and Sandbox,\n which determine the environment in which the engagement invitation is managed.

", "smithy.api#required": {} } }, "Identifier": { "target": "com.amazonaws.partnercentralselling#EngagementInvitationArnOrIdentifier", "traits": { - "smithy.api#documentation": "

\n The Identifier parameter in the AcceptEngagementInvitationRequest specifies the unique \n identifier of the EngagementInvitation to be accepted. \n Providing the correct identifier ensures that the intended invitation is accepted.\n

", + "smithy.api#documentation": "

The Identifier parameter in the\n AcceptEngagementInvitationRequest specifies the unique identifier of\n the EngagementInvitation to be accepted. Providing the correct identifier\n ensures that the intended invitation is accepted.

", "smithy.api#required": {} } } @@ -3540,7 +3554,7 @@ "aws.iam#iamAction": { "documentation": "Grants permission to creating engagements in AWS Partner Central" }, - "smithy.api#documentation": "

\n The CreateEngagement action allows you to create an Engagement, \n which serves as a collaborative space between different parties such as AWS Partners and AWS Sellers. \n This action automatically adds the caller's AWS account as an active member of the newly created Engagement.\n

", + "smithy.api#documentation": "

The CreateEngagement action allows you to create an\n Engagement, which serves as a collaborative space between different\n parties such as AWS Partners and AWS Sellers. This action automatically adds the\n caller's AWS account as an active member of the newly created\n Engagement.

", "smithy.api#http": { "method": "POST", "uri": "/CreateEngagement", @@ -3584,7 +3598,7 @@ "aws.iam#iamAction": { "documentation": "Grants permission to creating engagement invitations in AWS Partner Central" }, - "smithy.api#documentation": "

\nThis action creates an invitation from a sender to a single receiver to join an engagement.\n

", + "smithy.api#documentation": "

This action creates an invitation from a sender to a single receiver to join an\n engagement.

", "smithy.api#http": { "method": "POST", "uri": "/CreateEngagementInvitation", @@ -3599,14 +3613,14 @@ "Catalog": { "target": "com.amazonaws.partnercentralselling#CatalogIdentifier", "traits": { - "smithy.api#documentation": "

\n Specifies the catalog related to the engagement. \n Accepted values are AWS and Sandbox, \n which determine the environment in which the engagement is managed.\n

", + "smithy.api#documentation": "

Specifies the catalog related to the engagement. Accepted values are AWS\n and Sandbox, which determine the environment in which the engagement is\n managed.

", "smithy.api#required": {} } }, "ClientToken": { "target": "com.amazonaws.partnercentralselling#ClientToken", "traits": { - "smithy.api#documentation": "

\n Specifies a unique, client-generated UUID to ensure that the request is handled exactly once. \n This token helps prevent duplicate invitation creations.\n

", + "smithy.api#documentation": "

Specifies a unique, client-generated UUID to ensure that the request is handled\n exactly once. This token helps prevent duplicate invitation creations.

", "smithy.api#idempotencyToken": {}, "smithy.api#required": {} } @@ -3614,14 +3628,14 @@ "EngagementIdentifier": { "target": "com.amazonaws.partnercentralselling#EngagementIdentifier", "traits": { - "smithy.api#documentation": "

\n The unique identifier of the Engagement associated with the invitation. \n This parameter ensures the invitation is created within the correct Engagement context.\n

", + "smithy.api#documentation": "

The unique identifier of the Engagement associated with the invitation.\n This parameter ensures the invitation is created within the correct\n Engagement context.

", "smithy.api#required": {} } }, "Invitation": { "target": "com.amazonaws.partnercentralselling#Invitation", "traits": { - "smithy.api#documentation": "

\nThe Invitation object all information necessary to initiate an engagement invitation to a partner. \nIt contains a personalized message from the sender, the invitation's receiver, and a payload. The Payload can \nbe the OpportunityInvitation, which includes detailed structures for sender contacts, partner responsibilities, customer \ninformation, and project details.

", + "smithy.api#documentation": "

The Invitation object all information necessary to initiate an\n engagement invitation to a partner. It contains a personalized message from the sender,\n the invitation's receiver, and a payload. The Payload can be the\n OpportunityInvitation, which includes detailed structures for sender\n contacts, partner responsibilities, customer information, and project details.

", "smithy.api#required": {} } } @@ -3636,14 +3650,14 @@ "Id": { "target": "com.amazonaws.partnercentralselling#EngagementInvitationIdentifier", "traits": { - "smithy.api#documentation": "

\n Unique identifier assigned to the newly created engagement invitation.\n

", + "smithy.api#documentation": "

Unique identifier assigned to the newly created engagement invitation.

", "smithy.api#required": {} } }, "Arn": { "target": "com.amazonaws.partnercentralselling#EngagementInvitationArn", "traits": { - "smithy.api#documentation": "

\n The Amazon Resource Name (ARN) that uniquely identifies the engagement\n invitation.\n

", + "smithy.api#documentation": "

The Amazon Resource Name (ARN) that uniquely identifies the engagement invitation.\n

", "smithy.api#required": {} } } @@ -3658,14 +3672,14 @@ "Catalog": { "target": "com.amazonaws.partnercentralselling#CatalogIdentifier", "traits": { - "smithy.api#documentation": "

\n The CreateEngagementRequest$Catalog parameter specifies the catalog related to the engagement. \n Accepted values are AWS and Sandbox, \n which determine the environment in which the engagement is managed.\n

", + "smithy.api#documentation": "

The CreateEngagementRequest$Catalog parameter specifies the catalog\n related to the engagement. Accepted values are AWS and\n Sandbox, which determine the environment in which the engagement is\n managed.

", "smithy.api#required": {} } }, "ClientToken": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

\n The CreateEngagementRequest$ClientToken parameter specifies a unique, case-sensitive identifier to ensure that the request is handled exactly once. \n The value must not exceed sixty-four alphanumeric characters.\n

", + "smithy.api#documentation": "

The CreateEngagementRequest$ClientToken parameter specifies a unique,\n case-sensitive identifier to ensure that the request is handled exactly once. The value\n must not exceed sixty-four alphanumeric characters.

", "smithy.api#idempotencyToken": {}, "smithy.api#pattern": "^[!-~]{1,64}$", "smithy.api#required": {} @@ -3674,21 +3688,21 @@ "Title": { "target": "com.amazonaws.partnercentralselling#EngagementTitle", "traits": { - "smithy.api#documentation": "

\nSpecifies the title of the Engagement.\n

", + "smithy.api#documentation": "

Specifies the title of the Engagement.

", "smithy.api#required": {} } }, "Description": { "target": "com.amazonaws.partnercentralselling#EngagementDescription", "traits": { - "smithy.api#documentation": "

\nProvides a description of the Engagement.\n

", + "smithy.api#documentation": "

Provides a description of the Engagement.

", "smithy.api#required": {} } }, "Contexts": { "target": "com.amazonaws.partnercentralselling#EngagementContexts", "traits": { - "smithy.api#documentation": "

\n The Contexts field is a required array of objects, with a maximum of 5 contexts allowed, \n specifying detailed information about customer projects associated with the Engagement. \n Each context object contains a Type field indicating the context type, \n which must be CustomerProject in this version, and a Payload field containing the CustomerProject details. The CustomerProject object is composed of two main components: Customer and Project. The Customer object includes information such as CompanyName, WebsiteUrl, Industry, and CountryCode, providing essential details about the customer. The Project object contains Title, BusinessProblem, and TargetCompletionDate, offering insights into the specific project associated with the customer. This structure allows comprehensive context to be included within the Engagement, \n facilitating effective collaboration between parties by providing relevant customer and project information.\n

" + "smithy.api#documentation": "

The Contexts field is a required array of objects, with a maximum of 5\n contexts allowed, specifying detailed information about customer projects associated\n with the Engagement. Each context object contains a Type field indicating\n the context type, which must be CustomerProject in this version, and a\n Payload field containing the CustomerProject details. The\n CustomerProject object is composed of two main components:\n Customer and Project. The Customer object\n includes information such as CompanyName, WebsiteUrl,\n Industry, and CountryCode, providing essential details\n about the customer. The Project object contains Title,\n BusinessProblem, and TargetCompletionDate, offering\n insights into the specific project associated with the customer. This structure allows\n comprehensive context to be included within the Engagement, facilitating effective\n collaboration between parties by providing relevant customer and project\n information.

" } } }, @@ -3702,13 +3716,13 @@ "Id": { "target": "com.amazonaws.partnercentralselling#EngagementIdentifier", "traits": { - "smithy.api#documentation": "

\nUnique identifier assigned to the newly created engagement.\n

" + "smithy.api#documentation": "

Unique identifier assigned to the newly created engagement.

" } }, "Arn": { "target": "com.amazonaws.partnercentralselling#EngagementArn", "traits": { - "smithy.api#documentation": "

\nThe Amazon Resource Name (ARN) that identifies the engagement.\n

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) that identifies the engagement.

" } } }, @@ -3751,7 +3765,7 @@ "aws.iam#iamAction": { "documentation": "Grants permission to create new Opportunities on AWS Partner Central" }, - "smithy.api#documentation": "

Creates an Opportunity record in Partner Central. Use this operation to\n create a potential business opportunity for submission to Amazon Web Services. Creating\n an opportunity sets Lifecycle.ReviewStatus to Pending\n Submission.

\n

To submit an opportunity, follow these steps:

\n
    \n
  1. \n

    To create the opportunity, use CreateOpportunity.

    \n
  2. \n
  3. \n

    To associate a solution with the opportunity, use\n AssociateOpportunity.

    \n
  4. \n
  5. \n

    To submit the opportunity, use\n StartEngagementFromOpportunityTask.

    \n
  6. \n
\n

After submission, you can't edit the opportunity until the review is complete. But\n opportunities in the Pending Submission state must have complete details.\n You can update the opportunity while it's in the Pending Submission\n state.

\n

There's a set of mandatory fields to create opportunities, but consider providing\n optional fields to enrich the opportunity record.

", + "smithy.api#documentation": "

Creates an Opportunity record in Partner Central. Use this operation to\n create a potential business opportunity for submission to Amazon Web Services. Creating\n an opportunity sets Lifecycle.ReviewStatus to Pending\n Submission.

\n

To submit an opportunity, follow these steps:

\n
    \n
  1. \n

    To create the opportunity, use CreateOpportunity.

    \n
  2. \n
  3. \n

    To associate a solution with the opportunity, use\n AssociateOpportunity.

    \n
  4. \n
  5. \n

    To start the engagement with AWS, use\n StartEngagementFromOpportunity.

    \n
  6. \n
\n

After submission, you can't edit the opportunity until the review is complete. But\n opportunities in the Pending Submission state must have complete details.\n You can update the opportunity while it's in the Pending Submission\n state.

\n

There's a set of mandatory fields to create opportunities, but consider providing\n optional fields to enrich the opportunity record.

", "smithy.api#http": { "method": "POST", "uri": "/CreateOpportunity", @@ -3773,7 +3787,7 @@ "PrimaryNeedsFromAws": { "target": "com.amazonaws.partnercentralselling#PrimaryNeedsFromAws", "traits": { - "smithy.api#documentation": "

Identifies the type of support the partner needs from Amazon Web Services.

\n

Valid values:

\n
    \n
  • \n

    Cosell—Architectural Validation: Confirmation from Amazon Web Services that the\n partner's proposed solution architecture is aligned with Amazon Web Services best\n practices and poses minimal architectural risks.

    \n
  • \n
  • \n

    Cosell—Business Presentation: Request Amazon Web Services seller's\n participation in a joint customer presentation.

    \n
  • \n
  • \n

    Cosell—Competitive Information: Access to Amazon Web Services competitive\n resources and support for the partner's proposed solution.

    \n
  • \n
  • \n

    Cosell—Pricing Assistance: Connect with an Amazon Web Services seller for\n support situations where a partner may be receiving an upfront discount on a\n service (for example: EDP deals).

    \n
  • \n
  • \n

    Cosell—Technical Consultation: Connect with an Amazon Web Services Solutions\n Architect to address the partner's questions about the proposed solution.

    \n
  • \n
  • \n

    Cosell—Total Cost of Ownership Evaluation: Assistance with quoting different\n cost savings of proposed solutions on Amazon Web Services versus on-premises or a\n traditional hosting environment.

    \n
  • \n
  • \n

    Cosell—Deal Support: Request Amazon Web Services seller's support to progress\n the opportunity (for example: joint customer call, strategic\n positioning).

    \n
  • \n
  • \n

    Cosell—Support for Public Tender/RFx: Opportunity related to the public sector\n where the partner needs Amazon Web Services RFx support.

    \n
  • \n
  • \n

    Do Not Need Support from AWS Sales Rep: Indicates that a partner doesn't need\n support from an Amazon Web Services sales representative, and the partner solely\n manages the opportunity. It's possible to request coselling support on these\n opportunities at any stage during their lifecycles. This is also known as a\n for-visibility-only (FVO) opportunity.

    \n
  • \n
" + "smithy.api#documentation": "

Identifies the type of support the partner needs from Amazon Web Services.

\n

Valid values:

\n
    \n
  • \n

    Cosell—Architectural Validation: Confirmation from Amazon Web Services that the\n partner's proposed solution architecture is aligned with Amazon Web Services best\n practices and poses minimal architectural risks.

    \n
  • \n
  • \n

    Cosell—Business Presentation: Request Amazon Web Services seller's\n participation in a joint customer presentation.

    \n
  • \n
  • \n

    Cosell—Competitive Information: Access to Amazon Web Services competitive\n resources and support for the partner's proposed solution.

    \n
  • \n
  • \n

    Cosell—Pricing Assistance: Connect with an Amazon Web Services seller for\n support situations where a partner may be receiving an upfront discount on a\n service (for example: EDP deals).

    \n
  • \n
  • \n

    Cosell—Technical Consultation: Connect with an Amazon Web Services Solutions\n Architect to address the partner's questions about the proposed solution.

    \n
  • \n
  • \n

    Cosell—Total Cost of Ownership Evaluation: Assistance with quoting different\n cost savings of proposed solutions on Amazon Web Services versus on-premises or a\n traditional hosting environment.

    \n
  • \n
  • \n

    Cosell—Deal Support: Request Amazon Web Services seller's support to progress\n the opportunity (for example: joint customer call, strategic\n positioning).

    \n
  • \n
  • \n

    Cosell—Support for Public Tender/RFx: Opportunity related to the public sector\n where the partner needs Amazon Web Services RFx support.

    \n
  • \n
" } }, "NationalSecurity": { @@ -3917,7 +3931,7 @@ "aws.iam#iamAction": { "documentation": "Grants permission to creating resource snapshots in AWS Partner Central" }, - "smithy.api#documentation": "

\n This action allows you to create an immutable snapshot of a specific resource, such as an opportunity, \n within the context of an engagement. \n The snapshot captures a subset of the resource's data based on the schema defined by the provided template.

", + "smithy.api#documentation": "

This action allows you to create an immutable snapshot of a specific resource, such\n as an opportunity, within the context of an engagement. The snapshot captures a subset\n of the resource's data based on the schema defined by the provided template.

", "smithy.api#http": { "method": "POST", "uri": "/CreateResourceSnapshot", @@ -3958,7 +3972,7 @@ "aws.iam#iamAction": { "documentation": "Grants permission to creating resource snapshot jobs in AWS Partner Central" }, - "smithy.api#documentation": "

\n Use this action to create a job to generate a snapshot of the specified resource\n within an engagement. It initiates an asynchronous process to create a resource\n snapshot. The job creates a new snapshot only if the resource state has changed,\n adhering to the same access control and immutability rules as direct snapshot creation.\n

", + "smithy.api#documentation": "

Use this action to create a job to generate a snapshot of the specified resource\n within an engagement. It initiates an asynchronous process to create a resource\n snapshot. The job creates a new snapshot only if the resource state has changed,\n adhering to the same access control and immutability rules as direct snapshot\n creation.

", "smithy.api#http": { "method": "POST", "uri": "/CreateResourceSnapshotJob", @@ -3973,14 +3987,14 @@ "Catalog": { "target": "com.amazonaws.partnercentralselling#CatalogIdentifier", "traits": { - "smithy.api#documentation": "

\n Specifies the catalog in which to create the snapshot job. Valid values are\n AWS and Sandbox.\n

", + "smithy.api#documentation": "

Specifies the catalog in which to create the snapshot job. Valid values are\n AWS and Sandbox.

", "smithy.api#required": {} } }, "ClientToken": { "target": "com.amazonaws.partnercentralselling#ClientToken", "traits": { - "smithy.api#documentation": "

\n Specifies a unique, client-generated UUID to ensure that the request is handled exactly once. \n This token helps prevent duplicate snapshot job creations.\n

", + "smithy.api#documentation": "

A client-generated UUID used for idempotency check. The token helps prevent duplicate\n job creations.

", "smithy.api#idempotencyToken": {}, "smithy.api#pattern": "^[!-~]{1,64}$", "smithy.api#required": {} @@ -3989,30 +4003,36 @@ "EngagementIdentifier": { "target": "com.amazonaws.partnercentralselling#EngagementIdentifier", "traits": { - "smithy.api#documentation": "

\n Specifies the identifier of the engagement associated with the resource to be\n snapshotted.\n

", + "smithy.api#documentation": "

Specifies the identifier of the engagement associated with the resource to be\n snapshotted.

", "smithy.api#required": {} } }, "ResourceType": { "target": "com.amazonaws.partnercentralselling#ResourceType", "traits": { - "smithy.api#documentation": "

\n The type of resource for which the snapshot job is being created. Must be one of the\n supported resource types Opportunity.\n

", + "smithy.api#documentation": "

The type of resource for which the snapshot job is being created. Must be one of the\n supported resource types i.e. Opportunity\n

", "smithy.api#required": {} } }, "ResourceIdentifier": { "target": "com.amazonaws.partnercentralselling#ResourceIdentifier", "traits": { - "smithy.api#documentation": "

\n Specifies the identifier of the specific resource to be snapshotted. The format\n depends on the ResourceType.\n

", + "smithy.api#documentation": "

Specifies the identifier of the specific resource to be snapshotted. The format\n depends on the ResourceType.

", "smithy.api#required": {} } }, "ResourceSnapshotTemplateIdentifier": { "target": "com.amazonaws.partnercentralselling#ResourceTemplateName", "traits": { - "smithy.api#documentation": "

\n Specifies the name of the template that defines the schema for the snapshot.\n

", + "smithy.api#documentation": "

Specifies the name of the template that defines the schema for the snapshot.

", "smithy.api#required": {} } + }, + "Tags": { + "target": "com.amazonaws.partnercentralselling#TagList", + "traits": { + "smithy.api#documentation": "A list of objects specifying each tag name and value." + } } }, "traits": { @@ -4025,13 +4045,13 @@ "Id": { "target": "com.amazonaws.partnercentralselling#ResourceSnapshotJobIdentifier", "traits": { - "smithy.api#documentation": "

\n The unique identifier for the created snapshot job.\n

" + "smithy.api#documentation": "

The unique identifier for the created snapshot job.

" } }, "Arn": { "target": "com.amazonaws.partnercentralselling#ResourceSnapshotJobArn", "traits": { - "smithy.api#documentation": "

\n The Amazon Resource Name (ARN) of the created snapshot job.\n

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the created snapshot job.

" } } }, @@ -4045,42 +4065,42 @@ "Catalog": { "target": "com.amazonaws.partnercentralselling#CatalogIdentifier", "traits": { - "smithy.api#documentation": "

\n Specifies the catalog where the snapshot is created. Valid values are\n AWS and Sandbox.\n

", + "smithy.api#documentation": "

Specifies the catalog where the snapshot is created. Valid values are\n AWS and Sandbox.

", "smithy.api#required": {} } }, "EngagementIdentifier": { "target": "com.amazonaws.partnercentralselling#EngagementIdentifier", "traits": { - "smithy.api#documentation": "

\n The unique identifier of the engagement associated with this snapshot. This field\n links the snapshot to a specific engagement context.\n

", + "smithy.api#documentation": "

The unique identifier of the engagement associated with this snapshot. This field\n links the snapshot to a specific engagement context.

", "smithy.api#required": {} } }, "ResourceType": { "target": "com.amazonaws.partnercentralselling#ResourceType", "traits": { - "smithy.api#documentation": "

\n Specifies the type of resource for which the snapshot is being created. This field\n determines the structure and content of the snapshot. Must be one of the supported\n resource types, such as: Opportunity.\n

", + "smithy.api#documentation": "

Specifies the type of resource for which the snapshot is being created. This field\n determines the structure and content of the snapshot. Must be one of the supported\n resource types, such as: Opportunity.

", "smithy.api#required": {} } }, "ResourceIdentifier": { "target": "com.amazonaws.partnercentralselling#ResourceIdentifier", "traits": { - "smithy.api#documentation": "

\n The unique identifier of the specific resource to be snapshotted. The format and\n constraints of this identifier depend on the ResourceType specified. For example: For\n Opportunity type, it will be an opportunity ID.\n

", + "smithy.api#documentation": "

The unique identifier of the specific resource to be snapshotted. The format and\n constraints of this identifier depend on the ResourceType specified. For\n example: For Opportunity type, it will be an opportunity ID.

", "smithy.api#required": {} } }, "ResourceSnapshotTemplateIdentifier": { "target": "com.amazonaws.partnercentralselling#ResourceTemplateName", "traits": { - "smithy.api#documentation": "

\n The name of the template that defines the schema for the snapshot. This template\n determines which subset of the resource data will be included in the snapshot. Must\n correspond to an existing and valid template for the specified ResourceType.\n

", + "smithy.api#documentation": "

The name of the template that defines the schema for the snapshot. This template\n determines which subset of the resource data will be included in the snapshot. Must\n correspond to an existing and valid template for the specified\n ResourceType.

", "smithy.api#required": {} } }, "ClientToken": { "target": "com.amazonaws.partnercentralselling#ClientToken", "traits": { - "smithy.api#documentation": "

\n Specifies a unique, client-generated UUID to ensure that the request is handled exactly once. \n This token helps prevent duplicate snapshot creations.\n

", + "smithy.api#documentation": "

Specifies a unique, client-generated UUID to ensure that the request is handled\n exactly once. This token helps prevent duplicate snapshot creations.

", "smithy.api#idempotencyToken": {}, "smithy.api#pattern": "^[!-~]{1,64}$", "smithy.api#required": {} @@ -4097,13 +4117,13 @@ "Arn": { "target": "com.amazonaws.partnercentralselling#ResourceArn", "traits": { - "smithy.api#documentation": "

\n Specifies the Amazon Resource Name (ARN) that uniquely identifies the snapshot\n created.\n

" + "smithy.api#documentation": "

Specifies the Amazon Resource Name (ARN) that uniquely identifies the snapshot\n created.

" } }, "Revision": { "target": "com.amazonaws.partnercentralselling#ResourceSnapshotRevision", "traits": { - "smithy.api#documentation": "

\n Specifies the revision number of the created snapshot. This field provides important\n information about the snapshot's place in the sequence of snapshots for the given\n resource.\n

" + "smithy.api#documentation": "

Specifies the revision number of the created snapshot. This field provides important\n information about the snapshot's place in the sequence of snapshots for the given\n resource.

" } } }, @@ -5162,12 +5182,12 @@ "Project": { "target": "com.amazonaws.partnercentralselling#EngagementCustomerProjectDetails", "traits": { - "smithy.api#documentation": "

\n Information about the customer project associated with the Engagement.\n

" + "smithy.api#documentation": "

Information about the customer project associated with the Engagement.

" } } }, "traits": { - "smithy.api#documentation": "

\n The CustomerProjects structure in Engagements offers a flexible framework for managing\n customer-project relationships. It supports multiple customers per Engagement and\n multiple projects per customer, while also allowing for customers without projects and\n projects without specific customers.\n

\n

All Engagement members have full visibility of customers and their associated\n projects, enabling the capture of relevant context even when project details are not\n fully defined. This structure also facilitates targeted invitations, allowing partners\n to focus on specific customers and their business problems when sending Engagement\n invitations.

" + "smithy.api#documentation": "

The CustomerProjects structure in Engagements offers a flexible framework for managing\n customer-project relationships. It supports multiple customers per Engagement and\n multiple projects per customer, while also allowing for customers without projects and\n projects without specific customers.

\n

All Engagement members have full visibility of customers and their associated\n projects, enabling the capture of relevant context even when project details are not\n fully defined. This structure also facilitates targeted invitations, allowing partners\n to focus on specific customers and their business problems when sending Engagement\n invitations.

" } }, "com.amazonaws.partnercentralselling#CustomerSummary": { @@ -5208,6 +5228,9 @@ { "target": "com.amazonaws.partnercentralselling#AccessDeniedException" }, + { + "target": "com.amazonaws.partnercentralselling#ConflictException" + }, { "target": "com.amazonaws.partnercentralselling#ResourceNotFoundException" }, @@ -5222,7 +5245,7 @@ "aws.iam#iamAction": { "documentation": "Grants permission to deleting resource snapshot jobs on AWS Partner Central" }, - "smithy.api#documentation": "

\n Use this action to deletes a previously created resource snapshot job. The job must be\n in a stopped state before it can be deleted.\n

", + "smithy.api#documentation": "

Use this action to deletes a previously created resource snapshot job. The job must\n be in a stopped state before it can be deleted.

", "smithy.api#http": { "method": "POST", "uri": "/DeleteResourceSnapshotJob", @@ -5237,14 +5260,14 @@ "Catalog": { "target": "com.amazonaws.partnercentralselling#CatalogIdentifier", "traits": { - "smithy.api#documentation": "

\n Specifies the catalog from which to delete the snapshot job. Valid values are\n AWS and Sandbox. \n

", + "smithy.api#documentation": "

Specifies the catalog from which to delete the snapshot job. Valid values are\n AWS and Sandbox.

", "smithy.api#required": {} } }, "ResourceSnapshotJobIdentifier": { "target": "com.amazonaws.partnercentralselling#ResourceSnapshotJobIdentifier", "traits": { - "smithy.api#documentation": "

\n The unique identifier of the resource snapshot job to be deleted.\n

", + "smithy.api#documentation": "

The unique identifier of the resource snapshot job to be deleted.

", "smithy.api#required": {}, "smithy.api#resourceIdentifier": "Identifier" } @@ -5483,19 +5506,19 @@ "Type": { "target": "com.amazonaws.partnercentralselling#EngagementContextType", "traits": { - "smithy.api#documentation": "

\n Specifies the type of Engagement context. Valid values are \"CustomerProject\" or\n \"Document\", indicating whether the context relates to a customer project or a document\n respectively. \n

", + "smithy.api#documentation": "

Specifies the type of Engagement context. Valid values are \"CustomerProject\" or\n \"Document\", indicating whether the context relates to a customer project or a document\n respectively.

", "smithy.api#required": {} } }, "Payload": { "target": "com.amazonaws.partnercentralselling#EngagementContextPayload", "traits": { - "smithy.api#documentation": "

\n Contains the specific details of the Engagement context. The structure of this payload\n varies depending on the Type field. \n

" + "smithy.api#documentation": "

Contains the specific details of the Engagement context. The structure of this payload\n varies depending on the Type field.

" } } }, "traits": { - "smithy.api#documentation": "

\n Provides detailed context information for an Engagement. This structure allows for\n specifying the type of context and its associated payload. \n

" + "smithy.api#documentation": "

Provides detailed context information for an Engagement. This structure allows for\n specifying the type of context and its associated payload.

" } }, "com.amazonaws.partnercentralselling#EngagementContextPayload": { @@ -5504,12 +5527,12 @@ "CustomerProject": { "target": "com.amazonaws.partnercentralselling#CustomerProjectsContext", "traits": { - "smithy.api#documentation": "

\n Contains detailed information about a customer project when the context type is\n \"CustomerProject\". This field is present only when the Type in EngagementContextDetails\n is set to \"CustomerProject\".\n

" + "smithy.api#documentation": "

Contains detailed information about a customer project when the context type is\n \"CustomerProject\". This field is present only when the Type in EngagementContextDetails\n is set to \"CustomerProject\".

" } } }, "traits": { - "smithy.api#documentation": "

\n Represents the payload of an Engagement context. The structure of this payload varies\n based on the context type specified in the EngagementContextDetails.\n

" + "smithy.api#documentation": "

Represents the payload of an Engagement context. The structure of this payload varies\n based on the context type specified in the EngagementContextDetails.

" } }, "com.amazonaws.partnercentralselling#EngagementContextType": { @@ -5586,28 +5609,28 @@ "Title": { "target": "com.amazonaws.partnercentralselling#EngagementCustomerProjectTitle", "traits": { - "smithy.api#documentation": "

\n The title of the project.\n

", + "smithy.api#documentation": "

The title of the project.

", "smithy.api#required": {} } }, "BusinessProblem": { "target": "com.amazonaws.partnercentralselling#EngagementCustomerBusinessProblem", "traits": { - "smithy.api#documentation": "

\n A description of the business problem the project aims to solve.\n

", + "smithy.api#documentation": "

A description of the business problem the project aims to solve.

", "smithy.api#required": {} } }, "TargetCompletionDate": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

\n The target completion date for the customer's project.\n

", + "smithy.api#documentation": "

The target completion date for the customer's project.

", "smithy.api#pattern": "^[1-9][0-9]{3}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

\n Provides comprehensive details about a customer project associated with an Engagement.\n This may include information such as project goals, timelines, and specific customer\n requirements.\n

" + "smithy.api#documentation": "

Provides comprehensive details about a customer project associated with an Engagement.\n This may include information such as project goals, timelines, and specific customer\n requirements.

" } }, "com.amazonaws.partnercentralselling#EngagementCustomerProjectTitle": { @@ -5793,7 +5816,7 @@ "EngagementId": { "target": "com.amazonaws.partnercentralselling#EngagementIdentifier", "traits": { - "smithy.api#documentation": "

\n The identifier of the Engagement associated with this invitation. This links the\n invitation to its parent Engagement. \n

" + "smithy.api#documentation": "

The identifier of the Engagement associated with this invitation. This links the\n invitation to its parent Engagement.

" } }, "EngagementTitle": { @@ -5871,24 +5894,24 @@ "CompanyName": { "target": "com.amazonaws.partnercentralselling#MemberCompanyName", "traits": { - "smithy.api#documentation": "

\n The official name of the member's company or organization.\n

" + "smithy.api#documentation": "

The official name of the member's company or organization.

" } }, "WebsiteUrl": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

\n The URL of the member company's website. This offers a way to find more information\n about the member organization and serves as an additional identifier.\n

" + "smithy.api#documentation": "

The URL of the member company's website. This offers a way to find more information\n about the member organization and serves as an additional identifier.

" } }, "AccountId": { "target": "com.amazonaws.partnercentralselling#AwsAccount", "traits": { - "smithy.api#documentation": "

\n This is the unique identifier for the AWS account associated with the member\n organization. It's used for AWS-related operations and identity verification. \n

" + "smithy.api#documentation": "

This is the unique identifier for the AWS account associated with the member\n organization. It's used for AWS-related operations and identity verification.

" } } }, "traits": { - "smithy.api#documentation": "

Engagement members are the participants in an Engagement, which is likely a\n collaborative project or business opportunity within the AWS partner network. Members\n can be different partner organizations or AWS accounts that are working together on a\n specific engagement.

\n

Each member is represented by their AWS Account ID, Company Name, and associated\n details. Members have a status within the Engagement (PENDING, ACCEPTED, REJECTED, or\n WITHDRAWN), indicating their current state of participation. Only existing members of an\n Engagement can view the list of other members. This implies a level of privacy and\n access control within the Engagement structure.

" + "smithy.api#documentation": "

Engagement members are the participants in an Engagement, which is likely a\n collaborative project or business opportunity within the AWS partner network. Members\n can be different partner organizations or AWS accounts that are working together on a\n specific engagement.

\n

Each member is represented by their AWS Account ID, Company Name, and associated\n details. Members have a status within the Engagement (PENDING, ACCEPTED, REJECTED, or\n WITHDRAWN), indicating their current state of participation. Only existing members of an\n Engagement can view the list of other members. This implies a level of privacy and\n access control within the Engagement structure.

" } }, "com.amazonaws.partnercentralselling#EngagementMemberSummaries": { @@ -5903,18 +5926,18 @@ "CompanyName": { "target": "com.amazonaws.partnercentralselling#MemberCompanyName", "traits": { - "smithy.api#documentation": "

\n The official name of the member's company or organization.\n

" + "smithy.api#documentation": "

The official name of the member's company or organization.

" } }, "WebsiteUrl": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

\n The URL of the member company's website. This offers a way to find more information\n about the member organization and serves as an additional identifier.\n

" + "smithy.api#documentation": "

The URL of the member company's website. This offers a way to find more information\n about the member organization and serves as an additional identifier.

" } } }, "traits": { - "smithy.api#documentation": "

\n The EngagementMemberSummary provides a snapshot of essential information about\n participants in an AWS Partner Central Engagement. This compact data structure\n encapsulates key details of each member, facilitating efficient collaboration and\n management within the Engagement.\n

" + "smithy.api#documentation": "

The EngagementMemberSummary provides a snapshot of essential information about\n participants in an AWS Partner Central Engagement. This compact data structure\n encapsulates key details of each member, facilitating efficient collaboration and\n management within the Engagement.

" } }, "com.amazonaws.partnercentralselling#EngagementMembers": { @@ -5944,37 +5967,37 @@ "Catalog": { "target": "com.amazonaws.partnercentralselling#CatalogIdentifier", "traits": { - "smithy.api#documentation": "

\n Indicates the environment in which the resource and engagement exist.\n

", + "smithy.api#documentation": "

Indicates the environment in which the resource and engagement exist.

", "smithy.api#required": {} } }, "EngagementId": { "target": "com.amazonaws.partnercentralselling#EngagementIdentifier", "traits": { - "smithy.api#documentation": "

\n A unique identifier for the engagement associated with the resource.\n

" + "smithy.api#documentation": "

A unique identifier for the engagement associated with the resource.

" } }, "ResourceType": { "target": "com.amazonaws.partnercentralselling#ResourceType", "traits": { - "smithy.api#documentation": "

\n Categorizes the type of resource associated with the engagement.\n

" + "smithy.api#documentation": "

Categorizes the type of resource associated with the engagement.

" } }, "ResourceId": { "target": "com.amazonaws.partnercentralselling#ResourceIdentifier", "traits": { - "smithy.api#documentation": "

\n A unique identifier for the specific resource. Varies depending on the resource\n type.\n

" + "smithy.api#documentation": "

A unique identifier for the specific resource. Varies depending on the resource type.\n

" } }, "CreatedBy": { "target": "com.amazonaws.partnercentralselling#AwsAccount", "traits": { - "smithy.api#documentation": "

\n The AWS account ID of the entity that created the association.\n

" + "smithy.api#documentation": "

The AWS account ID of the entity that owns the resource. Identifies the account\n responsible for or having primary control over the resource.

" } } }, "traits": { - "smithy.api#documentation": "

\n This provide a streamlined view of the relationships between engagements and\n resources. These summaries offer a crucial link between collaborative engagements and\n the specific resources involved, such as opportunities.These summaries are particularly\n valuable for partners navigating complex engagements with multiple resources. They\n enable quick insights into resource distribution across engagements, support efficient\n resource management, and help maintain a clear overview of collaborative activities.\n

" + "smithy.api#documentation": "

This provide a streamlined view of the relationships between engagements and\n resources. These summaries offer a crucial link between collaborative engagements and\n the specific resources involved, such as opportunities.These summaries are particularly\n valuable for partners navigating complex engagements with multiple resources. They\n enable quick insights into resource distribution across engagements, support efficient\n resource management, and help maintain a clear overview of collaborative activities.\n

" } }, "com.amazonaws.partnercentralselling#EngagementResourceAssociationSummaryList": { @@ -6012,20 +6035,20 @@ "SortOrder": { "target": "com.amazonaws.partnercentralselling#SortOrder", "traits": { - "smithy.api#documentation": "

\n The order in which to sort the results.\n

", + "smithy.api#documentation": "

The order in which to sort the results.

", "smithy.api#required": {} } }, "SortBy": { "target": "com.amazonaws.partnercentralselling#EngagementSortName", "traits": { - "smithy.api#documentation": "

\n The field by which to sort the results.\n

", + "smithy.api#documentation": "

The field by which to sort the results.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

\n Specifies the sorting parameters for listing Engagements.\n

" + "smithy.api#documentation": "

Specifies the sorting parameters for listing Engagements.

" } }, "com.amazonaws.partnercentralselling#EngagementSortName": { @@ -6045,42 +6068,42 @@ "Arn": { "target": "com.amazonaws.partnercentralselling#EngagementArn", "traits": { - "smithy.api#documentation": "

\n The Amazon Resource Name (ARN) of the created engagement.\n

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the created Engagement.

" } }, "Id": { "target": "com.amazonaws.partnercentralselling#EngagementIdentifier", "traits": { - "smithy.api#documentation": "

\n The unique identifier for the engagement.\n

" + "smithy.api#documentation": "

The unique identifier for the Engagement.

" } }, "Title": { "target": "com.amazonaws.partnercentralselling#EngagementTitle", "traits": { - "smithy.api#documentation": "

\n The title of the engagement.\n

" + "smithy.api#documentation": "

The title of the Engagement.

" } }, "CreatedAt": { "target": "com.amazonaws.partnercentralselling#DateTime", "traits": { - "smithy.api#documentation": "

\n The date and time when the engagement was created.\n

" + "smithy.api#documentation": "

The date and time when the Engagement was created.

" } }, "CreatedBy": { "target": "com.amazonaws.partnercentralselling#AwsAccount", "traits": { - "smithy.api#documentation": "

\n The AWS account ID of the engagement creator.\n

" + "smithy.api#documentation": "

The AWS Account ID of the Engagement creator.

" } }, "MemberCount": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

\n The number of members in the engagement.\n

" + "smithy.api#documentation": "

The number of members in the Engagement.

" } } }, "traits": { - "smithy.api#documentation": "

\n An object that contains an Engagement's subset of fields.\n

" + "smithy.api#documentation": "

An object that contains an Engagement's subset of fields.

" } }, "com.amazonaws.partnercentralselling#EngagementSummaryList": { @@ -6137,7 +6160,7 @@ "EstimationUrl": { "target": "com.amazonaws.partnercentralselling#WebsiteUrl", "traits": { - "smithy.api#documentation": "

\n A URL providing additional information or context about the spend estimation.\n

" + "smithy.api#documentation": "

A URL providing additional information or context about the spend estimation.

" } } }, @@ -6354,7 +6377,7 @@ "aws.iam#iamAction": { "documentation": "Grants permission to retrieval of engagement details in AWS Partner Central" }, - "smithy.api#documentation": "

\n Use this action to retrieve the engagement record for a given\n EngagementIdentifier.\n

", + "smithy.api#documentation": "

Use this action to retrieve the engagement record for a given\n EngagementIdentifier.

", "smithy.api#http": { "method": "POST", "uri": "/GetEngagement", @@ -6451,7 +6474,7 @@ "EngagementId": { "target": "com.amazonaws.partnercentralselling#EngagementIdentifier", "traits": { - "smithy.api#documentation": "

\n The identifier of the engagement associated with this invitation.This ID links the\n invitation to its corresponding engagement.\n

" + "smithy.api#documentation": "

The identifier of the engagement associated with this invitation.This ID links the\n invitation to its corresponding engagement.

" } }, "EngagementTitle": { @@ -6521,19 +6544,19 @@ "InvitationMessage": { "target": "com.amazonaws.partnercentralselling#InvitationMessage", "traits": { - "smithy.api#documentation": "

\n The message sent to the invited partner when the invitation was created.\n

" + "smithy.api#documentation": "

The message sent to the invited partner when the invitation was created.

" } }, "EngagementDescription": { "target": "com.amazonaws.partnercentralselling#EngagementDescription", "traits": { - "smithy.api#documentation": "

\n The description of the engagement associated with this invitation.\n

" + "smithy.api#documentation": "

The description of the engagement associated with this invitation.

" } }, "ExistingMembers": { "target": "com.amazonaws.partnercentralselling#EngagementMemberSummaries", "traits": { - "smithy.api#documentation": "

\n A list of active members currently part of the Engagement. This array contains a\n maximum of 10 members, each represented by an object with the following\n properties.\n

\n
    \n
  • \n

    \n CompanyName: The name of the member's company. \n

    \n
  • \n
  • \n

    \n WebsiteUrl: The website URL of the member's company. \n

    \n
  • \n
" + "smithy.api#documentation": "

A list of active members currently part of the Engagement. This array contains a\n maximum of 10 members, each represented by an object with the following\n properties.

\n
    \n
  • \n

    CompanyName: The name of the member's company.

    \n
  • \n
  • \n

    WebsiteUrl: The website URL of the member's company.

    \n
  • \n
" } } }, @@ -6547,14 +6570,14 @@ "Catalog": { "target": "com.amazonaws.partnercentralselling#CatalogIdentifier", "traits": { - "smithy.api#documentation": "

\n Specifies the catalog related to the engagement request. Valid values are\n AWS and Sandbox.\n

", + "smithy.api#documentation": "

Specifies the catalog related to the engagement request. Valid values are\n AWS and Sandbox.

", "smithy.api#required": {} } }, "Identifier": { "target": "com.amazonaws.partnercentralselling#EngagementArnOrIdentifier", "traits": { - "smithy.api#documentation": "

\n Specifies the identifier of the Engagement record to retrieve.\n

", + "smithy.api#documentation": "

Specifies the identifier of the Engagement record to retrieve.

", "smithy.api#required": {} } } @@ -6569,49 +6592,49 @@ "Id": { "target": "com.amazonaws.partnercentralselling#EngagementIdentifier", "traits": { - "smithy.api#documentation": "

\n The unique resource identifier of the engagement retrieved.\n

" + "smithy.api#documentation": "

The unique resource identifier of the engagement retrieved.

" } }, "Arn": { "target": "com.amazonaws.partnercentralselling#EngagementArn", "traits": { - "smithy.api#documentation": "

\n The Amazon Resource Name (ARN) of the engagement retrieved.\n

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the engagement retrieved.

" } }, "Title": { "target": "com.amazonaws.partnercentralselling#EngagementTitle", "traits": { - "smithy.api#documentation": "

\n The title of the engagement. It provides a brief, descriptive name for the engagement\n that is meaningful and easily recognizable.\n

" + "smithy.api#documentation": "

The title of the engagement. It provides a brief, descriptive name for the engagement\n that is meaningful and easily recognizable.

" } }, "Description": { "target": "com.amazonaws.partnercentralselling#EngagementDescription", "traits": { - "smithy.api#documentation": "

\n A more detailed description of the engagement. This provides additional context or\n information about the engagement's purpose or scope. \n

" + "smithy.api#documentation": "

A more detailed description of the engagement. This provides additional context or\n information about the engagement's purpose or scope.

" } }, "CreatedAt": { "target": "com.amazonaws.partnercentralselling#DateTime", "traits": { - "smithy.api#documentation": "

\n The date and time when the Engagement was created, presented in ISO 8601 format (UTC).\n For example: \"2023-05-01T20:37:46Z\". This timestamp helps track the lifecycle of the\n Engagement.\n

" + "smithy.api#documentation": "

The date and time when the Engagement was created, presented in ISO 8601 format (UTC).\n For example: \"2023-05-01T20:37:46Z\". This timestamp helps track the lifecycle of the\n Engagement.

" } }, "CreatedBy": { "target": "com.amazonaws.partnercentralselling#AwsAccount", "traits": { - "smithy.api#documentation": "

\n The AWS account ID of the user who originally created the engagement. This field helps\n in tracking the origin of the engagement.\n

" + "smithy.api#documentation": "

The AWS account ID of the user who originally created the engagement. This field helps\n in tracking the origin of the engagement.

" } }, "MemberCount": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

\n Specifies the current count of members participating in the Engagement. This count\n includes all active members regardless of their roles or permissions within the\n Engagement.\n

" + "smithy.api#documentation": "

Specifies the current count of members participating in the Engagement. This count\n includes all active members regardless of their roles or permissions within the\n Engagement.

" } }, "Contexts": { "target": "com.amazonaws.partnercentralselling#EngagementContexts", "traits": { - "smithy.api#documentation": "

\n A list of context objects associated with the engagement. Each context provides\n additional information related to the Engagement, such as customer projects or\n documents.\n

" + "smithy.api#documentation": "

A list of context objects associated with the engagement. Each context provides\n additional information related to the Engagement, such as customer projects or\n documents.

" } } }, @@ -6695,7 +6718,7 @@ "PrimaryNeedsFromAws": { "target": "com.amazonaws.partnercentralselling#PrimaryNeedsFromAws", "traits": { - "smithy.api#documentation": "

Identifies the type of support the partner needs from Amazon Web Services.

\n

Valid values:

\n
    \n
  • \n

    Cosell—Architectural Validation: Confirmation from Amazon Web Services that the\n partner's proposed solution architecture is aligned with Amazon Web Services best\n practices and poses minimal architectural risks.

    \n
  • \n
  • \n

    Cosell—Business Presentation: Request Amazon Web Services seller's\n participation in a joint customer presentation.

    \n
  • \n
  • \n

    Cosell—Competitive Information: Access to Amazon Web Services competitive\n resources and support for the partner's proposed solution.

    \n
  • \n
  • \n

    Cosell—Pricing Assistance: Connect with an Amazon Web Services seller for\n support situations where a partner may be receiving an upfront discount on a\n service (for example: EDP deals).

    \n
  • \n
  • \n

    Cosell—Technical Consultation: Connect with an Amazon Web Services Solutions\n Architect to address the partner's questions about the proposed solution.

    \n
  • \n
  • \n

    Cosell—Total Cost of Ownership Evaluation: Assistance with quoting different\n cost savings of proposed solutions on Amazon Web Services versus on-premises or a\n traditional hosting environment.

    \n
  • \n
  • \n

    Cosell—Deal Support: Request Amazon Web Services seller's support to progress\n the opportunity (for example: joint customer call, strategic\n positioning).

    \n
  • \n
  • \n

    Cosell—Support for Public Tender/RFx: Opportunity related to the public sector\n where the partner needs Amazon Web Services RFx support.

    \n
  • \n
  • \n

    Do Not Need Support from Amazon Web Services Sales Rep: Indicates that a\n partner doesn't need support from an Amazon Web Services sales representative,\n and the partner solely manages the opportunity. It's possible to request\n coselling support on these opportunities at any stage during their lifecycle.\n Also known as, for-visibility-only (FVO) opportunity.

    \n
  • \n
" + "smithy.api#documentation": "

Identifies the type of support the partner needs from Amazon Web Services.

\n

Valid values:

\n
    \n
  • \n

    Cosell—Architectural Validation: Confirmation from Amazon Web Services that the\n partner's proposed solution architecture is aligned with Amazon Web Services best\n practices and poses minimal architectural risks.

    \n
  • \n
  • \n

    Cosell—Business Presentation: Request Amazon Web Services seller's\n participation in a joint customer presentation.

    \n
  • \n
  • \n

    Cosell—Competitive Information: Access to Amazon Web Services competitive\n resources and support for the partner's proposed solution.

    \n
  • \n
  • \n

    Cosell—Pricing Assistance: Connect with an Amazon Web Services seller for\n support situations where a partner may be receiving an upfront discount on a\n service (for example: EDP deals).

    \n
  • \n
  • \n

    Cosell—Technical Consultation: Connect with an Amazon Web Services Solutions\n Architect to address the partner's questions about the proposed solution.

    \n
  • \n
  • \n

    Cosell—Total Cost of Ownership Evaluation: Assistance with quoting different\n cost savings of proposed solutions on Amazon Web Services versus on-premises or a\n traditional hosting environment.

    \n
  • \n
  • \n

    Cosell—Deal Support: Request Amazon Web Services seller's support to progress\n the opportunity (for example: joint customer call, strategic\n positioning).

    \n
  • \n
  • \n

    Cosell—Support for Public Tender/RFx: Opportunity related to the public sector\n where the partner needs Amazon Web Services RFx support.

    \n
  • \n
" } }, "NationalSecurity": { @@ -6861,7 +6884,7 @@ "aws.iam#iamAction": { "documentation": "Grants permission to retrieving resource snapshot job details in AWS Partner Central" }, - "smithy.api#documentation": "

\n Use this action to retrieves information about a specific resource snapshot\n job.\n

", + "smithy.api#documentation": "

Use this action to retrieves information about a specific resource snapshot\n job.

", "smithy.api#http": { "method": "POST", "uri": "/GetResourceSnapshotJob", @@ -6876,14 +6899,14 @@ "Catalog": { "target": "com.amazonaws.partnercentralselling#CatalogIdentifier", "traits": { - "smithy.api#documentation": "

\n Specifies the catalog related to the request. Valid values are:\n

\n
    \n
  • \n

    AWS: Retrieves the snapshot job from the production AWS environment.

    \n
  • \n
  • \n

    Sandbox: Retrieves the snapshot job from a sandbox environment used for\n testing or development purposes.

    \n
  • \n
", + "smithy.api#documentation": "

Specifies the catalog related to the request. Valid values are:

\n
    \n
  • \n

    AWS: Retrieves the snapshot job from the production AWS environment.

    \n
  • \n
  • \n

    Sandbox: Retrieves the snapshot job from a sandbox environment used for\n testing or development purposes.

    \n
  • \n
", "smithy.api#required": {} } }, "ResourceSnapshotJobIdentifier": { "target": "com.amazonaws.partnercentralselling#ResourceSnapshotJobIdentifier", "traits": { - "smithy.api#documentation": "

\n The unique identifier of the resource snapshot job to be retrieved. This identifier is\n crucial for pinpointing the specific job you want to query.\n

", + "smithy.api#documentation": "

The unique identifier of the resource snapshot job to be retrieved. This identifier is\n crucial for pinpointing the specific job you want to query.

", "smithy.api#required": {}, "smithy.api#resourceIdentifier": "Identifier" } @@ -6899,74 +6922,74 @@ "Catalog": { "target": "com.amazonaws.partnercentralselling#CatalogIdentifier", "traits": { - "smithy.api#documentation": "

\n The catalog in which the snapshot job was created. This will match the catalog\n specified in the request.\n

", + "smithy.api#documentation": "

The catalog in which the snapshot job was created. This will match the Catalog\n specified in the request.

", "smithy.api#required": {} } }, "Id": { "target": "com.amazonaws.partnercentralselling#ResourceSnapshotJobIdentifier", "traits": { - "smithy.api#documentation": "

\n The unique identifier of the snapshot job. This matches the\n ResourceSnapshotJobIdentifier provided in the request. \n

" + "smithy.api#documentation": "

The unique identifier of the snapshot job. This matches the\n ResourceSnapshotJobIdentifier provided in the request.

" } }, "Arn": { "target": "com.amazonaws.partnercentralselling#ResourceSnapshotJobArn", "traits": { - "smithy.api#documentation": "

\n he Amazon Resource Name (ARN) of the snapshot job. This globally unique identifier\n can be used for resource-specific operations across AWS services. \n

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the snapshot job. This globally unique identifier\n can be used for resource-specific operations across AWS services.

" } }, "EngagementId": { "target": "com.amazonaws.partnercentralselling#EngagementIdentifier", "traits": { - "smithy.api#documentation": "

\n The identifier of the engagement associated with this snapshot job. This links the job\n to a specific engagement context. \n

" + "smithy.api#documentation": "

The identifier of the engagement associated with this snapshot job. This links the job\n to a specific engagement context.

" } }, "ResourceType": { "target": "com.amazonaws.partnercentralselling#ResourceType", "traits": { - "smithy.api#documentation": "

\n The type of resource being snapshotted. This would have Opportunity as a value as it\n is dependent on the supported resource type. \n

" + "smithy.api#documentation": "

The type of resource being snapshotted. This would have \"Opportunity\" as a value as it\n is dependent on the supported resource type.

" } }, "ResourceId": { "target": "com.amazonaws.partnercentralselling#ResourceIdentifier", "traits": { - "smithy.api#documentation": "

\n The identifier of the specific resource being snapshotted. The format may vary\n depending on the ResourceType.\n

" + "smithy.api#documentation": "

The identifier of the specific resource being snapshotted. The format might vary\n depending on the ResourceType.

" } }, "ResourceArn": { "target": "com.amazonaws.partnercentralselling#ResourceArn", "traits": { - "smithy.api#documentation": "

\n The Amazon Resource Name (ARN) of the resource being snapshotted. This provides a\n globally unique identifier for the resource across AWS.\n

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource being snapshotted. This provides a\n globally unique identifier for the resource across AWS.

" } }, "ResourceSnapshotTemplateName": { "target": "com.amazonaws.partnercentralselling#ResourceTemplateName", "traits": { - "smithy.api#documentation": "

\n The name of the template used for creating the snapshot. This is the same as the\n template name. It defines the structure and content of the snapshot.\n

" + "smithy.api#documentation": "

The name of the template used for creating the snapshot. This is the same as the\n template name. It defines the structure and content of the snapshot.

" } }, "CreatedAt": { "target": "com.amazonaws.partnercentralselling#DateTime", "traits": { - "smithy.api#documentation": "

\n The date and time when the snapshot job was created, in ISO 8601 format (UTC).\n Example: \"2023-05-01T20:37:46Z\"\n

" + "smithy.api#documentation": "

The date and time when the snapshot job was created in ISO 8601 format (UTC).\n Example: \"2023-05-01T20:37:46Z\"

" } }, "Status": { "target": "com.amazonaws.partnercentralselling#ResourceSnapshotJobStatus", "traits": { - "smithy.api#documentation": "

\n The current status of the snapshot job. Valid values:\n

\n
    \n
  • \n

    STOPPED: The job is not currently running.

    \n
  • \n
  • \n

    RUNNING: The job is actively executing.

    \n
  • \n
" + "smithy.api#documentation": "

The current status of the snapshot job. Valid values:

\n
    \n
  • \n

    STOPPED: The job is not currently running.

    \n
  • \n
  • \n

    RUNNING: The job is actively executing.

    \n
  • \n
" } }, "LastSuccessfulExecutionDate": { "target": "com.amazonaws.partnercentralselling#DateTime", "traits": { - "smithy.api#documentation": "

\n The date and time of the last successful execution of the job, in ISO 8601 format\n (UTC). Example: \"2023-05-01T20:37:46Z\"\n

" + "smithy.api#documentation": "

The date and time of the last successful execution of the job, in ISO 8601 format\n (UTC). Example: \"2023-05-01T20:37:46Z\"

" } }, "LastFailure": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

\n If the job has encountered any failures, this field contains the error message from\n the most recent failure. This can be useful for troubleshooting issues with the job.\n

" + "smithy.api#documentation": "

If the job has encountered any failures, this field contains the error message from\n the most recent failure. This can be useful for troubleshooting issues with the job.\n

" } } }, @@ -7036,7 +7059,7 @@ "Arn": { "target": "com.amazonaws.partnercentralselling#ResourceArn", "traits": { - "smithy.api#documentation": "

\n The Amazon Resource Name (ARN) of the snapshot. This globally unique identifier can be\n used for resource-specific operations across AWS services.\n

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) that uniquely identifies the resource snapshot.

" } }, "CreatedBy": { @@ -7060,25 +7083,25 @@ "ResourceType": { "target": "com.amazonaws.partnercentralselling#ResourceType", "traits": { - "smithy.api#documentation": "

\n The type of the resource that was snapshotted. Matches the ResourceType specified in\n the request.\n

" + "smithy.api#documentation": "

The type of the resource that was snapshotted. Matches the ResourceType specified in\n the request.

" } }, "ResourceId": { "target": "com.amazonaws.partnercentralselling#ResourceIdentifier", "traits": { - "smithy.api#documentation": "

\n The identifier of the specific resource that was snapshotted. Matches the\n ResourceIdentifier specified in the request.\n

" + "smithy.api#documentation": "

The identifier of the specific resource that was snapshotted. Matches the\n ResourceIdentifier specified in the request.

" } }, "ResourceSnapshotTemplateName": { "target": "com.amazonaws.partnercentralselling#ResourceTemplateName", "traits": { - "smithy.api#documentation": "

\n The name of the view used for this snapshot. This is the same as the template\n name.\n

" + "smithy.api#documentation": "

The name of the view used for this snapshot. This is the same as the template\n name.

" } }, "Revision": { "target": "com.amazonaws.partnercentralselling#ResourceSnapshotRevision", "traits": { - "smithy.api#documentation": "

\n The revision number of this snapshot. This is a positive integer that is sequential\n and unique within the context of a resource view.\n

" + "smithy.api#documentation": "

The revision number of this snapshot. This is a positive integer that is sequential\n and unique within the context of a resource view.

" } }, "Payload": { @@ -7118,7 +7141,7 @@ "aws.iam#iamAction": { "documentation": "Grants permission to retrieving system settings settings in AWS Partner Central" }, - "smithy.api#documentation": "

Retrieves the currently set system settings, which include the IAM Role used for resource snapshot jobs.

", + "smithy.api#documentation": "

Retrieves the currently set system settings, which include the IAM Role used for\n resource snapshot jobs.

", "smithy.api#http": { "method": "POST", "uri": "/GetSellingSystemSettings", @@ -7133,7 +7156,7 @@ "Catalog": { "target": "com.amazonaws.partnercentralselling#CatalogIdentifier", "traits": { - "smithy.api#documentation": "

Specifies the catalog in which the settings are defined. Acceptable values include\n AWS for production and Sandbox for testing\n environments.

", + "smithy.api#documentation": "

Specifies the catalog in which the settings are defined. Acceptable values include\n AWS for production and Sandbox for testing\n environments.

", "smithy.api#required": {} } } @@ -7148,7 +7171,7 @@ "Catalog": { "target": "com.amazonaws.partnercentralselling#CatalogIdentifier", "traits": { - "smithy.api#documentation": "

Specifies the catalog in which the settings are defined. Acceptable values include\n AWS for production and Sandbox for testing\n environments.

", + "smithy.api#documentation": "

Specifies the catalog in which the settings are defined. Acceptable values include\n AWS for production and Sandbox for testing\n environments.

", "smithy.api#required": {} } }, @@ -7355,7 +7378,7 @@ "Message": { "target": "com.amazonaws.partnercentralselling#InvitationMessage", "traits": { - "smithy.api#documentation": "

\n A message accompanying the invitation.\n

", + "smithy.api#documentation": "

A message accompanying the invitation.

", "smithy.api#required": {} } }, @@ -7373,7 +7396,7 @@ } }, "traits": { - "smithy.api#documentation": "

\n The Invitation structure represents an invitation exchanged between partners and AWS.\n It includes a message, receiver information, and a payload providing context for the\n invitation.\n

" + "smithy.api#documentation": "

The Invitation structure represents an invitation exchanged between partners and AWS.\n It includes a message, receiver information, and a payload providing context for the\n invitation.

" } }, "com.amazonaws.partnercentralselling#InvitationMessage": { @@ -7558,25 +7581,25 @@ "TargetCloseDate": { "target": "com.amazonaws.partnercentralselling#Date", "traits": { - "smithy.api#documentation": "

\n The projected launch date of the opportunity shared through a snapshot.\n

" + "smithy.api#documentation": "

The projected launch date of the opportunity shared through a snapshot.

" } }, "ReviewStatus": { "target": "com.amazonaws.partnercentralselling#ReviewStatus", "traits": { - "smithy.api#documentation": "

\n Defines the approval status of the opportunity shared through a snapshot.\n

" + "smithy.api#documentation": "

Defines the approval status of the opportunity shared through a snapshot.

" } }, "Stage": { "target": "com.amazonaws.partnercentralselling#Stage", "traits": { - "smithy.api#documentation": "

\n Defines the current stage of the opportunity shared through a snapshot.\n

" + "smithy.api#documentation": "

Defines the current stage of the opportunity shared through a snapshot.

" } }, "NextSteps": { "target": "com.amazonaws.partnercentralselling#PiiString", "traits": { - "smithy.api#documentation": "

\n Describes the next steps for the opportunity shared through a snapshot.\n

", + "smithy.api#documentation": "

Describes the next steps for the opportunity shared through a snapshot.

", "smithy.api#length": { "max": 255 } @@ -7584,7 +7607,7 @@ } }, "traits": { - "smithy.api#documentation": "

\n Provides the lifecycle view of an opportunity resource shared through a\n snapshot.\n

" + "smithy.api#documentation": "

Provides the lifecycle view of an opportunity resource shared through a snapshot.\n

" } }, "com.amazonaws.partnercentralselling#LifeCycleSummary": { @@ -7652,60 +7675,60 @@ "TaskId": { "target": "com.amazonaws.partnercentralselling#TaskIdentifier", "traits": { - "smithy.api#documentation": "

\n Unique identifier of the task.\n

" + "smithy.api#documentation": "

Unique identifier of the task.

" } }, "TaskArn": { "target": "com.amazonaws.partnercentralselling#TaskArn", "traits": { - "smithy.api#documentation": "

\n The Amazon Resource Name (ARN) that uniquely identifies the task.\n

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) that uniquely identifies the task.

" } }, "StartTime": { "target": "com.amazonaws.partnercentralselling#DateTime", "traits": { - "smithy.api#documentation": "

\n Task start timestamp.\n

" + "smithy.api#documentation": "

Task start timestamp.

" } }, "TaskStatus": { "target": "com.amazonaws.partnercentralselling#TaskStatus", "traits": { - "smithy.api#documentation": "

\n Status of the task.\n

" + "smithy.api#documentation": "

Status of the task.

" } }, "Message": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

\n Detailed message describing the failure and possible recovery steps.\n

" + "smithy.api#documentation": "

Detailed message describing the failure and possible recovery steps.

" } }, "ReasonCode": { "target": "com.amazonaws.partnercentralselling#ReasonCode", "traits": { - "smithy.api#documentation": "

\n A code pointing to the specific reason for the failure.\n

" + "smithy.api#documentation": "

A code pointing to the specific reason for the failure.

" } }, "OpportunityId": { "target": "com.amazonaws.partnercentralselling#OpportunityIdentifier", "traits": { - "smithy.api#documentation": "

\n Unique identifier of opportunity that was created.\n

" + "smithy.api#documentation": "

Unique identifier of opportunity that was created.

" } }, "ResourceSnapshotJobId": { "target": "com.amazonaws.partnercentralselling#ResourceSnapshotJobIdentifier", "traits": { - "smithy.api#documentation": "

\n Unique identifier of the resource snapshot job that was created.\n

" + "smithy.api#documentation": "

Unique identifier of the resource snapshot job that was created.

" } }, "EngagementInvitationId": { "target": "com.amazonaws.partnercentralselling#EngagementInvitationIdentifier", "traits": { - "smithy.api#documentation": "

\n The unique identifier of the engagement invitation that was accepted.\n

" + "smithy.api#documentation": "

The unique identifier of the engagement invitation that was accepted.

" } } }, "traits": { - "smithy.api#documentation": "

\n Specifies a subset of fields associated with tasks related to accepting an engagement\n invitation.\n

" + "smithy.api#documentation": "

Specifies a subset of fields associated with tasks related to accepting an engagement\n invitation.

" } }, "com.amazonaws.partnercentralselling#ListEngagementByAcceptingInvitationTasks": { @@ -7737,7 +7760,7 @@ "aws.iam#iamAction": { "documentation": "Grants permission to listing engagements by accepting invitation tasks in AWS Partner\nCentral" }, - "smithy.api#documentation": "

\n Lists all in-progress, completed, or failed StartEngagementByAcceptingInvitationTask\n tasks that were initiated by the caller's account. \n

", + "smithy.api#documentation": "

Lists all in-progress, completed, or failed StartEngagementByAcceptingInvitationTask\n tasks that were initiated by the caller's account.

", "smithy.api#http": { "method": "POST", "uri": "/ListEngagementByAcceptingInvitationTasks", @@ -7758,7 +7781,7 @@ "MaxResults": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

\n Use this parameter to control the number of items returned in each request, which can\n be useful for performance tuning and managing large result sets.\n

", + "smithy.api#documentation": "

Use this parameter to control the number of items returned in each request, which can\n be useful for performance tuning and managing large result sets.

", "smithy.api#range": { "min": 1, "max": 1000 @@ -7768,7 +7791,7 @@ "NextToken": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

\n Use this parameter for pagination when the result set spans multiple pages. This value\n is obtained from the NextToken field in the response of a previous call to this API.\n

", + "smithy.api#documentation": "

Use this parameter for pagination when the result set spans multiple pages. This\n value is obtained from the NextToken field in the response of a previous call to this\n API.

", "smithy.api#length": { "min": 1, "max": 2048 @@ -7778,38 +7801,38 @@ "Sort": { "target": "com.amazonaws.partnercentralselling#ListTasksSortBase", "traits": { - "smithy.api#documentation": "

\n Specifies the sorting criteria for the returned results. This allows you to order the\n tasks based on specific attributes.\n

" + "smithy.api#documentation": "

Specifies the sorting criteria for the returned results. This allows you to order the\n tasks based on specific attributes.

" } }, "Catalog": { "target": "com.amazonaws.partnercentralselling#CatalogIdentifier", "traits": { - "smithy.api#documentation": "

\n Specifies the catalog related to the request. Valid values are:\n

\n
    \n
  • \n

    AWS: Retrieves the request from the production AWS environment.

    \n
  • \n
  • \n

    Sandbox: Retrieves the request from a sandbox environment used for testing or\n development purposes.

    \n
  • \n
", + "smithy.api#documentation": "

Specifies the catalog related to the request. Valid values are:

\n
    \n
  • \n

    AWS: Retrieves the request from the production AWS environment.

    \n
  • \n
  • \n

    Sandbox: Retrieves the request from a sandbox environment used for testing or\n development purposes.

    \n
  • \n
", "smithy.api#required": {} } }, "TaskStatus": { "target": "com.amazonaws.partnercentralselling#TaskStatuses", "traits": { - "smithy.api#documentation": "

\n Filters the tasks based on their current status. This allows you to focus on tasks in\n specific states.\n

" + "smithy.api#documentation": "

Filters the tasks based on their current status. This allows you to focus on tasks in\n specific states.

" } }, "OpportunityIdentifier": { "target": "com.amazonaws.partnercentralselling#OpportunityIdentifiers", "traits": { - "smithy.api#documentation": "

\n Filters tasks by the identifiers of the opportunities they created or are associated\n with.\n

" + "smithy.api#documentation": "

Filters tasks by the identifiers of the opportunities they created or are associated\n with.

" } }, "EngagementInvitationIdentifier": { "target": "com.amazonaws.partnercentralselling#EngagementInvitationIdentifiers", "traits": { - "smithy.api#documentation": "

\n Filters tasks by the identifiers of the engagement invitations they are\n processing.\n

" + "smithy.api#documentation": "

Filters tasks by the identifiers of the engagement invitations they are processing.\n

" } }, "TaskIdentifier": { "target": "com.amazonaws.partnercentralselling#TaskIdentifiers", "traits": { - "smithy.api#documentation": "

\n Filters tasks by their unique identifiers. Use this when you want to retrieve\n information about specific tasks. \n

" + "smithy.api#documentation": "

Filters tasks by their unique identifiers. Use this when you want to retrieve\n information about specific tasks.

" } } }, @@ -7823,13 +7846,13 @@ "TaskSummaries": { "target": "com.amazonaws.partnercentralselling#ListEngagementByAcceptingInvitationTaskSummaries", "traits": { - "smithy.api#documentation": "

\n An array of EngagementByAcceptingInvitationTaskSummary objects, each representing a\n task that matches the specified filters. The array may be empty if no tasks match the\n criteria.\n

" + "smithy.api#documentation": "

An array of EngagementByAcceptingInvitationTaskSummary objects, each\n representing a task that matches the specified filters. The array may be empty if no\n tasks match the criteria.

" } }, "NextToken": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

\n A token used for pagination to retrieve the next page of results.If there are more\n results available, this field will contain a token that can be used in a subsequent API\n call to retrieve the next page. If there are no more results, this field will be null or\n an empty string.\n

" + "smithy.api#documentation": "

A token used for pagination to retrieve the next page of results.If there are more\n results available, this field will contain a token that can be used in a subsequent API\n call to retrieve the next page. If there are no more results, this field will be null or\n an empty string.

" } } }, @@ -7849,66 +7872,66 @@ "TaskId": { "target": "com.amazonaws.partnercentralselling#TaskIdentifier", "traits": { - "smithy.api#documentation": "

\n A unique identifier for a specific task.\n

" + "smithy.api#documentation": "

A unique identifier for a specific task.

" } }, "TaskArn": { "target": "com.amazonaws.partnercentralselling#TaskArn", "traits": { - "smithy.api#documentation": "

\n The Amazon Resource Name (ARN) uniquely identifying this task within AWS. This ARN can\n be used for referencing the task in other AWS services or APIs.\n

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) uniquely identifying this task within AWS. This ARN\n can be used for referencing the task in other AWS services or APIs.

" } }, "StartTime": { "target": "com.amazonaws.partnercentralselling#DateTime", "traits": { - "smithy.api#documentation": "

\n The timestamp indicating when the task was initiated, in RFC 3339 5.6 date-time\n format.\n

" + "smithy.api#documentation": "

The timestamp indicating when the task was initiated, in RFC 3339 5.6 date-time\n format.

" } }, "TaskStatus": { "target": "com.amazonaws.partnercentralselling#TaskStatus", "traits": { - "smithy.api#documentation": "

\n The current status of the task.\n

" + "smithy.api#documentation": "

The current status of the task.

" } }, "Message": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

\n A detailed message providing additional information about the task, especially useful\n in case of failures. This field may contain error details or other relevant information\n about the task's execution\n

" + "smithy.api#documentation": "

A detailed message providing additional information about the task, especially useful\n in case of failures. This field may contain error details or other relevant information\n about the task's execution

" } }, "ReasonCode": { "target": "com.amazonaws.partnercentralselling#ReasonCode", "traits": { - "smithy.api#documentation": "

\n A code indicating the specific reason for a task failure. This field is populated when\n the task status is FAILED and provides a categorized reason for the failure.\n

" + "smithy.api#documentation": "

A code indicating the specific reason for a task failure. This field is populated\n when the task status is FAILED and provides a categorized reason for the failure.\n

" } }, "OpportunityId": { "target": "com.amazonaws.partnercentralselling#OpportunityIdentifier", "traits": { - "smithy.api#documentation": "

\n The unique identifier of the original Opportunity from which the Engagement is being\n created. This field helps track the source of the Engagement creation task. \n

" + "smithy.api#documentation": "

The unique identifier of the original Opportunity from which the Engagement is being\n created. This field helps track the source of the Engagement creation task.

" } }, "ResourceSnapshotJobId": { "target": "com.amazonaws.partnercentralselling#ResourceSnapshotJobIdentifier", "traits": { - "smithy.api#documentation": "

\n The identifier of the resource snapshot job associated with this task, if a snapshot\n was created as part of the Engagement creation process.\n

" + "smithy.api#documentation": "

The identifier of the resource snapshot job associated with this task, if a snapshot\n was created as part of the Engagement creation process.

" } }, "EngagementId": { "target": "com.amazonaws.partnercentralselling#EngagementIdentifier", "traits": { - "smithy.api#documentation": "

\n The unique identifier of the engagement created as a result of the task. This field is\n populated when the task is completed successfully. \n

" + "smithy.api#documentation": "

The unique identifier of the engagement created as a result of the task. This field\n is populated when the task is completed successfully.

" } }, "EngagementInvitationId": { "target": "com.amazonaws.partnercentralselling#EngagementInvitationIdentifier", "traits": { - "smithy.api#documentation": "

\n The unique identifier of the engagement identifier created as a result of the task. This field is\n populated when the task is completed successfully.\n

" + "smithy.api#documentation": "

The unique identifier of the Engagement Invitation.

" } } }, "traits": { - "smithy.api#documentation": "

\n Provides a summary of a task related to creating an engagement from an opportunity.\n This structure contains key information about the task's status, associated identifiers,\n and any failure details.\n

" + "smithy.api#documentation": "

Provides a summary of a task related to creating an engagement from an opportunity.\n This structure contains key information about the task's status, associated identifiers,\n and any failure details.

" } }, "com.amazonaws.partnercentralselling#ListEngagementFromOpportunityTasks": { @@ -7940,7 +7963,7 @@ "aws.iam#iamAction": { "documentation": "Grants permission to listing engagements from opportunity tasks in AWS Partner Central" }, - "smithy.api#documentation": "

\n Lists all in-progress, completed, or failed EngagementFromOpportunity tasks that were\n initiated by the caller's account.\n

", + "smithy.api#documentation": "

Lists all in-progress, completed, or failed EngagementFromOpportunity\n tasks that were initiated by the caller's account.

", "smithy.api#http": { "method": "POST", "uri": "/ListEngagementFromOpportunityTasks", @@ -7961,7 +7984,7 @@ "MaxResults": { "target": "smithy.api#Integer", "traits": { - "smithy.api#documentation": "

\n Specifies the maximum number of results to return in a single page of the response.Use\n this parameter to control the number of items returned in each request, which can be\n useful for performance tuning and managing large result sets. \n

", + "smithy.api#documentation": "

Specifies the maximum number of results to return in a single page of the\n response.Use this parameter to control the number of items returned in each request,\n which can be useful for performance tuning and managing large result sets.

", "smithy.api#range": { "min": 1, "max": 1000 @@ -7971,7 +7994,7 @@ "NextToken": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

\n The token for requesting the next page of results. This value is obtained from the\n NextToken field in the response of a previous call to this API. Use this parameter for\n pagination when the result set spans multiple pages.\n

", + "smithy.api#documentation": "

The token for requesting the next page of results. This value is obtained from the\n NextToken field in the response of a previous call to this API. Use this parameter for\n pagination when the result set spans multiple pages.

", "smithy.api#length": { "min": 1, "max": 2048 @@ -7981,38 +8004,38 @@ "Sort": { "target": "com.amazonaws.partnercentralselling#ListTasksSortBase", "traits": { - "smithy.api#documentation": "

\n Specifies the sorting criteria for the returned results. This allows you to order the\n tasks based on specific attributes. \n

" + "smithy.api#documentation": "

Specifies the sorting criteria for the returned results. This allows you to order the\n tasks based on specific attributes.

" } }, "Catalog": { "target": "com.amazonaws.partnercentralselling#CatalogIdentifier", "traits": { - "smithy.api#documentation": "

\n Specifies the catalog related to the request. Valid values are:\n

\n
    \n
  • \n

    AWS: Retrieves the request from the production AWS environment.

    \n
  • \n
  • \n

    Sandbox: Retrieves the request from a sandbox environment used for testing or\n development purposes.

    \n
  • \n
", + "smithy.api#documentation": "

Specifies the catalog related to the request. Valid values are:

\n
    \n
  • \n

    AWS: Retrieves the request from the production AWS environment.

    \n
  • \n
  • \n

    Sandbox: Retrieves the request from a sandbox environment used for testing or\n development purposes.

    \n
  • \n
", "smithy.api#required": {} } }, "TaskStatus": { "target": "com.amazonaws.partnercentralselling#TaskStatuses", "traits": { - "smithy.api#documentation": "

\n Filters the tasks based on their current status. This allows you to focus on tasks in\n specific states.\n

" + "smithy.api#documentation": "

Filters the tasks based on their current status. This allows you to focus on tasks in\n specific states.

" } }, "TaskIdentifier": { "target": "com.amazonaws.partnercentralselling#TaskIdentifiers", "traits": { - "smithy.api#documentation": "

\n Filters tasks by their unique identifiers. Use this when you want to retrieve\n information about specific tasks. \n

" + "smithy.api#documentation": "

Filters tasks by their unique identifiers. Use this when you want to retrieve\n information about specific tasks.

" } }, "OpportunityIdentifier": { "target": "com.amazonaws.partnercentralselling#OpportunityIdentifiers", "traits": { - "smithy.api#documentation": "

\n The identifier of the original opportunity associated with this task.\n

" + "smithy.api#documentation": "

The identifier of the original opportunity associated with this task.

" } }, "EngagementIdentifier": { "target": "com.amazonaws.partnercentralselling#EngagementIdentifiers", "traits": { - "smithy.api#documentation": "

\n Filters tasks by the identifiers of the engagements they created or are associated\n with.\n

" + "smithy.api#documentation": "

Filters tasks by the identifiers of the engagements they created or are associated\n with.

" } } }, @@ -8026,13 +8049,13 @@ "TaskSummaries": { "target": "com.amazonaws.partnercentralselling#ListEngagementFromOpportunityTaskSummaries", "traits": { - "smithy.api#documentation": "

\n TaskSummaries An array of TaskSummary objects containing details about each\n task.\n

" + "smithy.api#documentation": "

TaskSummaries An array of TaskSummary objects containing details about each task.\n

" } }, "NextToken": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

\n A token used for pagination to retrieve the next page of results. If there are more\n results available, this field will contain a token that can be used in a subsequent API\n call to retrieve the next page. If there are no more results, this field will be null or\n an empty string.\n

" + "smithy.api#documentation": "

A token used for pagination to retrieve the next page of results. If there are more\n results available, this field will contain a token that can be used in a subsequent API\n call to retrieve the next page. If there are no more results, this field will be null or\n an empty string.

" } } }, @@ -8131,19 +8154,19 @@ "Status": { "target": "com.amazonaws.partnercentralselling#InvitationStatusList", "traits": { - "smithy.api#documentation": "

\n Status values to filter the invitations.\n

" + "smithy.api#documentation": "

Status values to filter the invitations.

" } }, "EngagementIdentifier": { "target": "com.amazonaws.partnercentralselling#EngagementIdentifiers", "traits": { - "smithy.api#documentation": "

\n Retrieves a list of engagement invitation summaries based on specified filters. The\n ListEngagementInvitations operation allows you to view all invitations that you have\n sent or received. You must specify the ParticipantType to filter invitations where you\n are either the SENDER or the RECEIVER. Invitations will automatically expire if not\n accepted within 15 days.\n

" + "smithy.api#documentation": "

Retrieves a list of engagement invitation summaries based on specified filters. The\n ListEngagementInvitations operation allows you to view all invitations that you have\n sent or received. You must specify the ParticipantType to filter invitations where you\n are either the SENDER or the RECEIVER. Invitations will automatically expire if not\n accepted within 15 days.

" } }, "SenderAwsAccountId": { "target": "com.amazonaws.partnercentralselling#AwsAccountIdOrAliasList", "traits": { - "smithy.api#documentation": "

\n List of sender AWS account IDs to filter the invitations.\n

" + "smithy.api#documentation": "

List of sender AWS account IDs to filter the invitations.

" } } }, @@ -8200,7 +8223,7 @@ "aws.iam#iamAction": { "documentation": "Grants permission to listing engagement members in AWS Partner Central" }, - "smithy.api#documentation": "

\n Retrieves the details of member partners in an engagement. This operation can only be\n invoked by members of the engagement. The ListEngagementMembers operation allows you to\n fetch information about the members of a specific engagement. This action is restricted\n to members of the engagement being queried.\n

", + "smithy.api#documentation": "

Retrieves the details of member partners in an Engagement. This operation can only be\n invoked by members of the Engagement. The ListEngagementMembers operation\n allows you to fetch information about the members of a specific Engagement. This action\n is restricted to members of the Engagement being queried.

", "smithy.api#http": { "method": "POST", "uri": "/ListEngagementMembers", @@ -8221,14 +8244,14 @@ "Catalog": { "target": "com.amazonaws.partnercentralselling#CatalogIdentifier", "traits": { - "smithy.api#documentation": "

\n The catalog related to the request. \n

", + "smithy.api#documentation": "

The catalog related to the request.

", "smithy.api#required": {} } }, "Identifier": { "target": "com.amazonaws.partnercentralselling#EngagementArnOrIdentifier", "traits": { - "smithy.api#documentation": "

\n Identifier of the engagement record to retrieve members from.\n

", + "smithy.api#documentation": "

Identifier of the Engagement record to retrieve members from.

", "smithy.api#required": {} } }, @@ -8236,13 +8259,13 @@ "target": "com.amazonaws.partnercentralselling#MemberPageSize", "traits": { "smithy.api#default": 5, - "smithy.api#documentation": "

\n The maximum number of results to return in a single call.\n

" + "smithy.api#documentation": "

The maximum number of results to return in a single call.

" } }, "NextToken": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

\n The token for the next set of results.\n

" + "smithy.api#documentation": "

The token for the next set of results.

" } } }, @@ -8256,14 +8279,14 @@ "EngagementMemberList": { "target": "com.amazonaws.partnercentralselling#EngagementMembers", "traits": { - "smithy.api#documentation": "

\nProvides a list of engagement members.\n

", + "smithy.api#documentation": "

Provides a list of engagement members.

", "smithy.api#required": {} } }, "NextToken": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

\n A pagination token used to retrieve the next set of results. If there are more results\n available than can be returned in a single response, this token will be present. Use\n this token in a subsequent request to retrieve the next page of results. If there are no\n more results, this value will be null.\n

" + "smithy.api#documentation": "

A pagination token used to retrieve the next set of results. If there are more results\n available than can be returned in a single response, this token will be present. Use\n this token in a subsequent request to retrieve the next page of results. If there are no\n more results, this value will be null.

" } } }, @@ -8300,7 +8323,7 @@ "aws.iam#iamAction": { "documentation": "Grants permission to listing engagement resource associations in AWS Partner Central" }, - "smithy.api#documentation": "

\n Lists the associations between resources and engagements where the caller is a member\n and has at least one snapshot in the engagement. \n

", + "smithy.api#documentation": "

Lists the associations between resources and engagements where the caller is a member\n and has at least one snapshot in the engagement.

", "smithy.api#http": { "method": "POST", "uri": "/ListEngagementResourceAssociations", @@ -8321,7 +8344,7 @@ "Catalog": { "target": "com.amazonaws.partnercentralselling#CatalogIdentifier", "traits": { - "smithy.api#documentation": "

\n Specifies the catalog in which to search for engagement-resource associations.\n

", + "smithy.api#documentation": "

Specifies the catalog in which to search for engagement-resource associations. Valid\n Values: \"AWS\" or \"Sandbox\"

\n
    \n
  • \n

    \n AWS for production environments.

    \n
  • \n
  • \n

    \n Sandbox for testing and development purposes.

    \n
  • \n
", "smithy.api#required": {} } }, @@ -8329,7 +8352,7 @@ "target": "com.amazonaws.partnercentralselling#PageSize", "traits": { "smithy.api#default": 100, - "smithy.api#documentation": "

\n Limits the number of results returned in a single call. Use this to control the number\n of results returned, especially useful for pagination.\n

", + "smithy.api#documentation": "

Limits the number of results returned in a single call. Use this to control the number\n of results returned, especially useful for pagination.

", "smithy.api#range": { "min": 1, "max": 1000 @@ -8339,31 +8362,31 @@ "NextToken": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

\n A token used for pagination of results. Include this token in subsequent requests to\n retrieve the next set of results.\n

" + "smithy.api#documentation": "

A token used for pagination of results. Include this token in subsequent requests to\n retrieve the next set of results.

" } }, "EngagementIdentifier": { "target": "com.amazonaws.partnercentralselling#EngagementIdentifier", "traits": { - "smithy.api#documentation": "

\n Filters the results to include only associations related to the specified engagement.\n Use this when you want to find all resources associated with a specific engagement.\n

" + "smithy.api#documentation": "

Filters the results to include only associations related to the specified engagement.\n Use this when you want to find all resources associated with a specific\n engagement.

" } }, "ResourceType": { "target": "com.amazonaws.partnercentralselling#ResourceType", "traits": { - "smithy.api#documentation": "

\n Filters the results to include only associations with resources of the specified type.\n

" + "smithy.api#documentation": "

Filters the results to include only associations with resources of the specified\n type.

" } }, "ResourceIdentifier": { "target": "com.amazonaws.partnercentralselling#ResourceIdentifier", "traits": { - "smithy.api#documentation": "

\n Filters the results to include only associations with the specified resource. Varies\n depending on the resource type. Use this when you want to find all engagements\n associated with a specific resource.\n

" + "smithy.api#documentation": "

Filters the results to include only associations with the specified resource. Varies\n depending on the resource type. Use this when you want to find all engagements\n associated with a specific resource.

" } }, "CreatedBy": { "target": "com.amazonaws.partnercentralselling#AwsAccount", "traits": { - "smithy.api#documentation": "

\n Filters the results to include only associations with resources owned by the specified\n AWS account. Use this when you want to find associations related to resources owned by a\n particular account.\n

" + "smithy.api#documentation": "

Filters the response to include only snapshots of resources owned by the specified\n AWS account ID. Use this when you want to find associations related to resources owned\n by a particular account.

" } } }, @@ -8377,14 +8400,14 @@ "EngagementResourceAssociationSummaries": { "target": "com.amazonaws.partnercentralselling#EngagementResourceAssociationSummaryList", "traits": { - "smithy.api#documentation": "

\n A list of engagement-resource association summaries.\n

", + "smithy.api#documentation": "

A list of engagement-resource association summaries.

", "smithy.api#required": {} } }, "NextToken": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

\n A token to retrieve the next set of results. Use this token in a subsequent request to\n retrieve additional results if the response was truncated.\n

" + "smithy.api#documentation": "

A token to retrieve the next set of results. Use this token in a subsequent request\n to retrieve additional results if the response was truncated.

" } } }, @@ -8421,7 +8444,7 @@ "aws.iam#iamAction": { "documentation": "Grants permission to listing engagements in AWS Partner Central" }, - "smithy.api#documentation": "

\n This action allows users to retrieve a list of engagement records from Partner\n Central. This action can be used to manage and track various engagements across\n different stages of the partner selling process.\n

", + "smithy.api#documentation": "

This action allows users to retrieve a list of Engagement records from Partner\n Central. This action can be used to manage and track various engagements across\n different stages of the partner selling process.

", "smithy.api#http": { "method": "POST", "uri": "/ListEngagements", @@ -8442,45 +8465,45 @@ "Catalog": { "target": "com.amazonaws.partnercentralselling#CatalogIdentifier", "traits": { - "smithy.api#documentation": "

\n Specifies the catalog related to the request.\n

", + "smithy.api#documentation": "

Specifies the catalog related to the request.

", "smithy.api#required": {} } }, "CreatedBy": { "target": "com.amazonaws.partnercentralselling#AwsAccountList", "traits": { - "smithy.api#documentation": "

\n A list of AWS account IDs. When specified, the response includes engagements created\n by these accounts. This filter is useful for finding engagements created by specific\n team members.\n

" + "smithy.api#documentation": "

A list of AWS account IDs. When specified, the response includes engagements created\n by these accounts. This filter is useful for finding engagements created by specific\n team members.

" } }, "ExcludeCreatedBy": { "target": "com.amazonaws.partnercentralselling#AwsAccountList", "traits": { - "smithy.api#documentation": "

\n An array of strings representing AWS Account IDs. Use this to exclude engagements\n created by specific users.\n

" + "smithy.api#documentation": "

An array of strings representing AWS Account IDs. Use this to exclude engagements\n created by specific users.

" } }, "Sort": { "target": "com.amazonaws.partnercentralselling#EngagementSort", "traits": { - "smithy.api#documentation": "

\n An object that specifies the sort order of the results.\n

" + "smithy.api#documentation": "

\n An object that specifies the sort order of the results.\n

" } }, "MaxResults": { "target": "com.amazonaws.partnercentralselling#EngagementPageSize", "traits": { "smithy.api#default": 20, - "smithy.api#documentation": "

\n The maximum number of results to return in a single call.\n

" + "smithy.api#documentation": "

The maximum number of results to return in a single call.

" } }, "NextToken": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

\n The token for the next set of results. This value is returned from a previous\n call.\n

" + "smithy.api#documentation": "

The token for the next set of results. This value is returned from a previous\n call.

" } }, "EngagementIdentifier": { "target": "com.amazonaws.partnercentralselling#EngagementIdentifiers", "traits": { - "smithy.api#documentation": "

\n An array of strings representing engagement identifiers to retrieve.\n

" + "smithy.api#documentation": "

An array of strings representing engagement identifiers to retrieve.

" } } }, @@ -8494,14 +8517,14 @@ "EngagementSummaryList": { "target": "com.amazonaws.partnercentralselling#EngagementSummaryList", "traits": { - "smithy.api#documentation": "

\n An array of engagement summary objects.\n

", + "smithy.api#documentation": "

An array of engagement summary objects.

", "smithy.api#required": {} } }, "NextToken": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

\n The token to retrieve the next set of results. This field will be null if there are no\n more results.\n

" + "smithy.api#documentation": "

The token to retrieve the next set of results. This field will be null if there are no\n more results.

" } } }, @@ -8564,6 +8587,10 @@ "failure": { "errorId": "com.amazonaws.partnercentralselling#ValidationException" } + }, + "vendorParamsShape": "aws.test#AwsVendorParams", + "vendorParams": { + "region": "us-east-1" } } ] @@ -8677,6 +8704,9 @@ { "target": "com.amazonaws.partnercentralselling#AccessDeniedException" }, + { + "target": "com.amazonaws.partnercentralselling#ResourceNotFoundException" + }, { "target": "com.amazonaws.partnercentralselling#ThrottlingException" }, @@ -8691,7 +8721,7 @@ "aws.iam#iamAction": { "documentation": "Grants permission to listing resource snapshot jobs in AWS Partner Central" }, - "smithy.api#documentation": "

\n Lists resource snapshot jobs owned by the customer. This operation supports various\n filtering scenarios, including listing all jobs owned by the caller, jobs for a specific\n engagement, jobs with a specific status, or any combination of these filters.\n

", + "smithy.api#documentation": "

Lists resource snapshot jobs owned by the customer. This operation supports various\n filtering scenarios, including listing all jobs owned by the caller, jobs for a specific\n engagement, jobs with a specific status, or any combination of these filters.

", "smithy.api#http": { "method": "POST", "uri": "/ListResourceSnapshotJobs", @@ -8712,7 +8742,7 @@ "Catalog": { "target": "com.amazonaws.partnercentralselling#CatalogIdentifier", "traits": { - "smithy.api#documentation": "

\n Specifies the catalog related to the request.\n

", + "smithy.api#documentation": "

Specifies the catalog related to the request.

", "smithy.api#required": {} } }, @@ -8720,7 +8750,7 @@ "target": "com.amazonaws.partnercentralselling#PageSize", "traits": { "smithy.api#default": 100, - "smithy.api#documentation": "

\n The maximum number of results to return in a single call. If omitted, defaults to\n 50.\n

", + "smithy.api#documentation": "

The maximum number of results to return in a single call. If omitted, defaults to 50.\n

", "smithy.api#range": { "min": 1, "max": 1000 @@ -8730,25 +8760,25 @@ "NextToken": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

\n The token for the next set of results.\n

" + "smithy.api#documentation": "

The token for the next set of results.

" } }, "EngagementIdentifier": { "target": "com.amazonaws.partnercentralselling#EngagementIdentifier", "traits": { - "smithy.api#documentation": "

\n The identifier of the engagement to filter the response.\n

" + "smithy.api#documentation": "

The identifier of the engagement to filter the response.

" } }, "Status": { "target": "com.amazonaws.partnercentralselling#ResourceSnapshotJobStatus", "traits": { - "smithy.api#documentation": "

\n The status of the jobs to filter the response.\n

" + "smithy.api#documentation": "

The status of the jobs to filter the response.

" } }, "Sort": { "target": "com.amazonaws.partnercentralselling#SortObject", "traits": { - "smithy.api#documentation": "

\n Configures the sorting of the response. If omitted, results are sorted by CreatedDate\n in descending order.\n

" + "smithy.api#documentation": "

Configures the sorting of the response. If omitted, results are sorted by\n CreatedDate in descending order.

" } } }, @@ -8762,14 +8792,14 @@ "ResourceSnapshotJobSummaries": { "target": "com.amazonaws.partnercentralselling#ResourceSnapshotJobSummaryList", "traits": { - "smithy.api#documentation": "

\n An array of resource snapshot job summary objects.\n

", + "smithy.api#documentation": "

An array of resource snapshot job summary objects.

", "smithy.api#required": {} } }, "NextToken": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

\n The token to retrieve the next set of results. If there are no additional results,\n this value is null. \n

" + "smithy.api#documentation": "

The token to retrieve the next set of results. If there are no additional results,\n this value is null.

" } } }, @@ -8806,7 +8836,7 @@ "aws.iam#iamAction": { "documentation": "Grants permission to listing resource snapshots in AWS Partner Central" }, - "smithy.api#documentation": "

\n Retrieves a list of resource view snapshots based on specified criteria. \n

", + "smithy.api#documentation": "

Retrieves a list of resource view snapshots based on specified criteria. This\n operation supports various use cases, including:

\n
    \n
  • \n

    Fetching all snapshots associated with an engagement.

    \n
  • \n
  • \n

    Retrieving snapshots of a specific resource type within an engagement.

    \n
  • \n
  • \n

    Obtaining snapshots for a particular resource using a specified\n template.

    \n
  • \n
  • \n

    Accessing the latest snapshot of a resource within an engagement.

    \n
  • \n
  • \n

    Filtering snapshots by resource owner.

    \n
  • \n
", "smithy.api#http": { "method": "POST", "uri": "/ListResourceSnapshots", @@ -8827,7 +8857,7 @@ "Catalog": { "target": "com.amazonaws.partnercentralselling#CatalogIdentifier", "traits": { - "smithy.api#documentation": "

\n Specifies the catalog related to the request.\n

", + "smithy.api#documentation": "

Specifies the catalog related to the request.

", "smithy.api#required": {} } }, @@ -8835,7 +8865,7 @@ "target": "com.amazonaws.partnercentralselling#PageSize", "traits": { "smithy.api#default": 100, - "smithy.api#documentation": "

\n The maximum number of results to return in a single call.\n

", + "smithy.api#documentation": "

The maximum number of results to return in a single call.

", "smithy.api#range": { "min": 1, "max": 1000 @@ -8845,38 +8875,38 @@ "NextToken": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

\n The token for the next set of results.\n

" + "smithy.api#documentation": "

The token for the next set of results.

" } }, "EngagementIdentifier": { "target": "com.amazonaws.partnercentralselling#EngagementIdentifier", "traits": { - "smithy.api#documentation": "

\n The unique identifier of the engagement associated with the snapshots.\n

", + "smithy.api#documentation": "

The unique identifier of the engagement associated with the snapshots.

", "smithy.api#required": {} } }, "ResourceType": { "target": "com.amazonaws.partnercentralselling#ResourceType", "traits": { - "smithy.api#documentation": "

\n Filters the response to include only snapshots of the specified resource type.\n

" + "smithy.api#documentation": "

Filters the response to include only snapshots of the specified resource type.\n

" } }, "ResourceIdentifier": { "target": "com.amazonaws.partnercentralselling#ResourceIdentifier", "traits": { - "smithy.api#documentation": "

\n Filters the response to include only snapshots of the specified resource.\n

" + "smithy.api#documentation": "

Filters the response to include only snapshots of the specified resource.

" } }, "ResourceSnapshotTemplateIdentifier": { "target": "com.amazonaws.partnercentralselling#ResourceTemplateName", "traits": { - "smithy.api#documentation": "

\n Filters the response to include only snapshots created using the specified\n template.\n

" + "smithy.api#documentation": "

Filters the response to include only snapshots created using the specified\n template.

" } }, "CreatedBy": { "target": "com.amazonaws.partnercentralselling#AwsAccount", "traits": { - "smithy.api#documentation": "

\n Filters the response to include only snapshots of resources created by the specified AWS\n account.\n

" + "smithy.api#documentation": "

Filters the response to include only snapshots of resources owned by the specified\n AWS account.

" } } }, @@ -8890,14 +8920,14 @@ "ResourceSnapshotSummaries": { "target": "com.amazonaws.partnercentralselling#ResourceSnapshotSummaryList", "traits": { - "smithy.api#documentation": "

\n An array of resource snapshot summary objects.\n

", + "smithy.api#documentation": "

An array of resource snapshot summary objects.

", "smithy.api#required": {} } }, "NextToken": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

\n The token to retrieve the next set of results. If there are no additional results,\n this value is null. \n

" + "smithy.api#documentation": "

The token to retrieve the next set of results. If there are no additional results,\n this value is null.

" } } }, @@ -9030,26 +9060,91 @@ "smithy.api#output": {} } }, + "com.amazonaws.partnercentralselling#ListTagsForResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.partnercentralselling#ListTagsForResourceRequest" + }, + "output": { + "target": "com.amazonaws.partnercentralselling#ListTagsForResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.partnercentralselling#AccessDeniedException" + }, + { + "target": "com.amazonaws.partnercentralselling#InternalServerException" + }, + { + "target": "com.amazonaws.partnercentralselling#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.partnercentralselling#ThrottlingException" + }, + { + "target": "com.amazonaws.partnercentralselling#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Returns a list of tags for a resource.

", + "smithy.api#http": { + "method": "POST", + "uri": "/ListTagsForResource", + "code": 200 + }, + "smithy.api#readonly": {} + } + }, + "com.amazonaws.partnercentralselling#ListTagsForResourceRequest": { + "type": "structure", + "members": { + "ResourceArn": { + "target": "com.amazonaws.partnercentralselling#TaggableResourceArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource for which you want to retrieve\n tags.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.partnercentralselling#ListTagsForResourceResponse": { + "type": "structure", + "members": { + "Tags": { + "target": "com.amazonaws.partnercentralselling#TagList", + "traits": { + "smithy.api#documentation": "

A map of the key-value pairs for the tag or tags assigned to the specified resource.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.partnercentralselling#ListTasksSortBase": { "type": "structure", "members": { "SortOrder": { "target": "com.amazonaws.partnercentralselling#SortOrder", "traits": { - "smithy.api#documentation": "

\n Determines the order in which the sorted results are presented.\n

", + "smithy.api#documentation": "

Determines the order in which the sorted results are presented.

", "smithy.api#required": {} } }, "SortBy": { "target": "com.amazonaws.partnercentralselling#ListTasksSortName", "traits": { - "smithy.api#documentation": "

\n Specifies the field by which the task list should be sorted.\n

", + "smithy.api#documentation": "

Specifies the field by which the task list should be sorted.

", "smithy.api#required": {} } } }, "traits": { - "smithy.api#documentation": "

\n Defines the sorting parameters for listing tasks. This structure allows for specifying\n the field to sort by and the order of sorting.\n

" + "smithy.api#documentation": "

Defines the sorting parameters for listing tasks. This structure allows for\n specifying the field to sort by and the order of sorting.

" } }, "com.amazonaws.partnercentralselling#ListTasksSortName": { @@ -9443,7 +9538,7 @@ "Arn": { "target": "com.amazonaws.partnercentralselling#OpportunityArn", "traits": { - "smithy.api#documentation": "

\n The Amazon Resource Name (ARN) for the opportunity. This globally unique identifier\n can be used for IAM policies and cross-service references. \n

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the opportunity. This globally unique identifier\n can be used for IAM policies and cross-service references.

" } }, "PartnerOpportunityIdentifier": { @@ -9499,25 +9594,25 @@ "OpportunityType": { "target": "com.amazonaws.partnercentralselling#OpportunityType", "traits": { - "smithy.api#documentation": "

\n Specifies the opportunity type.\n

" + "smithy.api#documentation": "

Specifies the opportunity type.

" } }, "Lifecycle": { "target": "com.amazonaws.partnercentralselling#LifeCycleForView", "traits": { - "smithy.api#documentation": "

\n Contains information about the opportunity's lifecycle, including its current stage,\n status, and important dates such as creation and last modification times.\n

" + "smithy.api#documentation": "

Contains information about the opportunity's lifecycle, including its current stage,\n status, and important dates such as creation and last modification times.

" } }, "OpportunityTeam": { "target": "com.amazonaws.partnercentralselling#PartnerOpportunityTeamMembersList", "traits": { - "smithy.api#documentation": "

\n Represents the internal team handling the opportunity. Specify the members involved in\n collaborating on an opportunity within the partner's organization. \n

" + "smithy.api#documentation": "

Represents the internal team handling the opportunity. Specify the members involved\n in collaborating on an opportunity within the partner's organization.

" } }, "PrimaryNeedsFromAws": { "target": "com.amazonaws.partnercentralselling#PrimaryNeedsFromAws", "traits": { - "smithy.api#documentation": "

\n Identifies the type of support the partner needs from AWS.\n

" + "smithy.api#documentation": "

Identifies the type of support the partner needs from AWS.

" } }, "Customer": { @@ -9526,7 +9621,7 @@ "Project": { "target": "com.amazonaws.partnercentralselling#ProjectView", "traits": { - "smithy.api#documentation": "

\n Contains summary information about the project associated with the opportunity,\n including project name, description, timeline, and other relevant details.\n

" + "smithy.api#documentation": "

Contains summary information about the project associated with the opportunity,\n including project name, description, timeline, and other relevant details.

" } }, "RelatedEntityIdentifiers": { @@ -9534,7 +9629,7 @@ } }, "traits": { - "smithy.api#documentation": "

\n Provides a comprehensive view of an opportunity summary, including lifecycle\n information, team details, opportunity type, primary needs from AWS, and associated\n project information.\n

" + "smithy.api#documentation": "

Provides a comprehensive view of an opportunity summary, including lifecycle\n information, team details, opportunity type, primary needs from AWS, and associated\n project information.

" } }, "com.amazonaws.partnercentralselling#OpportunityType": { @@ -9888,31 +9983,31 @@ "DeliveryModels": { "target": "com.amazonaws.partnercentralselling#DeliveryModels", "traits": { - "smithy.api#documentation": "

\n Describes the deployment or consumption model for the partner solution or offering.\n This field indicates how the project's solution will be delivered or implemented for the\n customer.\n

" + "smithy.api#documentation": "

Describes the deployment or consumption model for the partner solution or offering.\n This field indicates how the project's solution will be delivered or implemented for the\n customer.

" } }, "ExpectedCustomerSpend": { "target": "com.amazonaws.partnercentralselling#ExpectedCustomerSpendList", "traits": { - "smithy.api#documentation": "

\n Provides information about the anticipated customer spend related to this project.\n This may include details such as amount, frequency, and currency of expected\n expenditure.\n

" + "smithy.api#documentation": "

Provides information about the anticipated customer spend related to this project.\n This may include details such as amount, frequency, and currency of expected\n expenditure.

" } }, "CustomerUseCase": { "target": "smithy.api#String", "traits": { - "smithy.api#documentation": "

\n Specifies the proposed solution focus or type of workload for the project.\n

" + "smithy.api#documentation": "

Specifies the proposed solution focus or type of workload for the project.

" } }, "SalesActivities": { "target": "com.amazonaws.partnercentralselling#SalesActivities", "traits": { - "smithy.api#documentation": "

\n Lists the pre-sales activities that have occurred with the end-customer related to the\n opportunity. This field is conditionally mandatory when the project is qualified for\n Co-Sell and helps drive assignment priority on the AWS side. It provides insight into\n the engagement level with the customer. \n

" + "smithy.api#documentation": "

Lists the pre-sales activities that have occurred with the end-customer related to\n the opportunity. This field is conditionally mandatory when the project is qualified for\n Co-Sell and helps drive assignment priority on the AWS side. It provides insight into\n the engagement level with the customer.

" } }, "OtherSolutionDescription": { "target": "com.amazonaws.partnercentralselling#PiiString", "traits": { - "smithy.api#documentation": "

\n Offers a description of other solutions if the standard solutions do not adequately\n cover the project's scope.\n

", + "smithy.api#documentation": "

Offers a description of other solutions if the standard solutions do not adequately\n cover the project's scope.

", "smithy.api#length": { "max": 255 } @@ -9920,7 +10015,7 @@ } }, "traits": { - "smithy.api#documentation": "

\n Provides the project view of an opportunity resource shared through a snapshot.\n

" + "smithy.api#documentation": "

Provides the project view of an opportunity resource shared through a snapshot.\n

" } }, "com.amazonaws.partnercentralselling#PutSellingSystemSettings": { @@ -9949,7 +10044,7 @@ "aws.iam#iamAction": { "documentation": "Grants permission to put system settings settings in AWS Partner Central" }, - "smithy.api#documentation": "

Updates the currently set system settings, which include the IAM Role used for resource snapshot jobs.

", + "smithy.api#documentation": "

Updates the currently set system settings, which include the IAM Role used for\n resource snapshot jobs.

", "smithy.api#http": { "method": "POST", "uri": "/PutSellingSystemSettings", @@ -9964,7 +10059,7 @@ "Catalog": { "target": "com.amazonaws.partnercentralselling#CatalogIdentifier", "traits": { - "smithy.api#documentation": "

Specifies the catalog in which the settings will be updated. Acceptable values include\n AWS for production and Sandbox for testing\n environments.

", + "smithy.api#documentation": "

Specifies the catalog in which the settings will be updated. Acceptable values include\n AWS for production and Sandbox for testing\n environments.

", "smithy.api#required": {} } }, @@ -9985,7 +10080,7 @@ "Catalog": { "target": "com.amazonaws.partnercentralselling#CatalogIdentifier", "traits": { - "smithy.api#documentation": "

Specifies the catalog in which the settings are defined. Acceptable values include\n AWS for production and Sandbox for testing\n environments.

", + "smithy.api#documentation": "

Specifies the catalog in which the settings are defined. Acceptable values include\n AWS for production and Sandbox for testing\n environments.

", "smithy.api#required": {} } }, @@ -10069,6 +10164,12 @@ "smithy.api#enumValue": "EngagementInvitationConflict" } }, + "INTERNAL_ERROR": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InternalError" + } + }, "OPPORTUNITY_VALIDATION_FAILED": { "target": "smithy.api#Unit", "traits": { @@ -10099,12 +10200,6 @@ "smithy.api#enumValue": "ResourceSnapshotConflict" } }, - "INTERNAL_ERROR": { - "target": "smithy.api#Unit", - "traits": { - "smithy.api#enumValue": "InternalError" - } - }, "SERVICE_QUOTA_EXCEEDED": { "target": "smithy.api#Unit", "traits": { @@ -10210,6 +10305,9 @@ { "target": "com.amazonaws.partnercentralselling#AccessDeniedException" }, + { + "target": "com.amazonaws.partnercentralselling#ConflictException" + }, { "target": "com.amazonaws.partnercentralselling#InternalServerException" }, @@ -10471,30 +10569,30 @@ "Id": { "target": "com.amazonaws.partnercentralselling#ResourceSnapshotJobIdentifier", "traits": { - "smithy.api#documentation": "

\n The unique identifier for the resource snapshot job within the AWS Partner Central\n system. This ID is used for direct references to the job within the service.\n

" + "smithy.api#documentation": "

The unique identifier for the resource snapshot job within the AWS Partner Central\n system. This ID is used for direct references to the job within the service.

" } }, "Arn": { "target": "com.amazonaws.partnercentralselling#ResourceSnapshotJobArn", "traits": { - "smithy.api#documentation": "

\n The Amazon Resource Name (ARN) for the resource snapshot job.\n

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the resource snapshot job.

" } }, "EngagementId": { "target": "com.amazonaws.partnercentralselling#EngagementIdentifier", "traits": { - "smithy.api#documentation": "

\n The unique identifier for the engagement within the AWS Partner Central\n system. This ID is used for direct references to the engagement within the service.\n

" + "smithy.api#documentation": "

The unique identifier of the Engagement.

" } }, "Status": { "target": "com.amazonaws.partnercentralselling#ResourceSnapshotJobStatus", "traits": { - "smithy.api#documentation": "

\n Represents the current status of the resource snapshot job.\n

" + "smithy.api#documentation": "

The current status of the snapshot job.

\n

Valid values:

\n
    \n
  • \n

    STOPPED: The job is not currently running.

    \n
  • \n
  • \n

    RUNNING: The job is actively executing.

    \n
  • \n
" } } }, "traits": { - "smithy.api#documentation": "

\n An object that contains a Resource Snapshot Job's subset of fields.\n

" + "smithy.api#documentation": "

An object that contains a Resource Snapshot Job's subset of fields.\n

" } }, "com.amazonaws.partnercentralselling#ResourceSnapshotJobSummaryList": { @@ -10509,12 +10607,12 @@ "OpportunitySummary": { "target": "com.amazonaws.partnercentralselling#OpportunitySummaryView", "traits": { - "smithy.api#documentation": "

\n An object that contains an opportunity's subset of fields. \n

" + "smithy.api#documentation": "

An object that contains an opportunity's subset of fields.

" } } }, "traits": { - "smithy.api#documentation": "

\n Represents the payload of a resource snapshot. This structure is designed to\n accommodate different types of resource snapshots, currently supporting opportunity\n summaries.\n

" + "smithy.api#documentation": "

Represents the payload of a resource snapshot. This structure is designed to\n accommodate different types of resource snapshots, currently supporting opportunity\n summaries.

" } }, "com.amazonaws.partnercentralselling#ResourceSnapshotRevision": { @@ -10531,13 +10629,13 @@ "Arn": { "target": "com.amazonaws.partnercentralselling#ResourceSnapshotArn", "traits": { - "smithy.api#documentation": "

\n The Amazon Resource Name (ARN) of the snapshot. This globally unique identifier can be\n used for cross-service references and in IAM policies.\n

" + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the snapshot. This globally unique identifier can\n be used for cross-service references and in IAM policies.

" } }, "Revision": { "target": "com.amazonaws.partnercentralselling#ResourceSnapshotRevision", "traits": { - "smithy.api#documentation": "

\n The revision number of the snapshot. This integer value is incremented each time the\n snapshot is updated, allowing for version tracking of the resource snapshot.\n

" + "smithy.api#documentation": "

The revision number of the snapshot. This integer value is incremented each time the\n snapshot is updated, allowing for version tracking of the resource snapshot.

" } }, "ResourceType": { @@ -10549,7 +10647,7 @@ "ResourceId": { "target": "com.amazonaws.partnercentralselling#ResourceIdentifier", "traits": { - "smithy.api#documentation": "

The identifier of the specific resource snapshotted. The format might vary depending\n on the ResourceType.

" + "smithy.api#documentation": "

The identifier of the specific resource snapshotted. The format might vary depending\n on the ResourceType.

" } }, "ResourceSnapshotTemplateName": { @@ -10561,12 +10659,12 @@ "CreatedBy": { "target": "com.amazonaws.partnercentralselling#AwsAccount", "traits": { - "smithy.api#documentation": "

The AWS account ID of the principal (user or role) who created the snapshot. This\n helps in tracking the origin of the snapshot.

" + "smithy.api#documentation": "

The AWS account ID of the entity that owns the resource from which the snapshot was\n created.

" } } }, "traits": { - "smithy.api#documentation": "

\n Provides a concise summary of a resource snapshot, including its unique identifier and\n version information. This structure is used to quickly reference and identify specific\n versions of resource snapshots. \n

" + "smithy.api#documentation": "

Provides a concise summary of a resource snapshot, including its unique identifier\n and version information. This structure is used to quickly reference and identify\n specific versions of resource snapshots.

" } }, "com.amazonaws.partnercentralselling#ResourceSnapshotSummaryList": { @@ -10913,7 +11011,7 @@ "Arn": { "target": "com.amazonaws.partnercentralselling#SolutionArn", "traits": { - "smithy.api#documentation": "

\n The SolutionBase structure provides essential information about a solution.\n

" + "smithy.api#documentation": "

The SolutionBase structure provides essential information about a solution.

" } }, "Name": { @@ -11064,18 +11162,18 @@ "SortBy": { "target": "com.amazonaws.partnercentralselling#SortBy", "traits": { - "smithy.api#documentation": "

\n Specifies the field by which to sort the resource snapshot jobs.\n

" + "smithy.api#documentation": "

Specifies the field by which to sort the resource snapshot jobs.

" } }, "SortOrder": { "target": "com.amazonaws.partnercentralselling#SortOrder", "traits": { - "smithy.api#documentation": "

\n Determines the order in which the sorted results are presented.\n

" + "smithy.api#documentation": "

Determines the order in which the sorted results are presented.

" } } }, "traits": { - "smithy.api#documentation": "

\n Defines the sorting parameters for listing resource snapshot jobs. This structure\n allows you to specify the field to sort by and the order of sorting. \n

" + "smithy.api#documentation": "

Defines the sorting parameters for listing resource snapshot jobs. This structure\n allows you to specify the field to sort by and the order of sorting.

" } }, "com.amazonaws.partnercentralselling#SortOrder": { @@ -11223,6 +11321,12 @@ "smithy.api#documentation": "

Specifies the unique identifier of the EngagementInvitation to be\n accepted. Providing the correct identifier helps ensure that the correct engagement is\n processed.

", "smithy.api#required": {} } + }, + "Tags": { + "target": "com.amazonaws.partnercentralselling#TagList", + "traits": { + "smithy.api#documentation": "A list of objects specifying each tag name and value." + } } }, "traits": { @@ -11277,7 +11381,7 @@ "ResourceSnapshotJobId": { "target": "com.amazonaws.partnercentralselling#ResourceSnapshotJobIdentifier", "traits": { - "smithy.api#documentation": "

\n The identifier of the resource snapshot job created as part of this task.\n

" + "smithy.api#documentation": "

The identifier of the Resource Snapshot Job created as part of this task.

" } }, "EngagementInvitationId": { @@ -11378,6 +11482,12 @@ "traits": { "smithy.api#required": {} } + }, + "Tags": { + "target": "com.amazonaws.partnercentralselling#TagList", + "traits": { + "smithy.api#documentation": "A list of objects specifying each tag name and value." + } } }, "traits": { @@ -11432,19 +11542,19 @@ "ResourceSnapshotJobId": { "target": "com.amazonaws.partnercentralselling#ResourceSnapshotJobIdentifier", "traits": { - "smithy.api#documentation": "

\n The identifier of the resource snapshot job created to add the opportunity resource\n snapshot to the Engagement. Only populated if TaskStatus is COMPLETE.\n

" + "smithy.api#documentation": "

The identifier of the resource snapshot job created to add the opportunity resource\n snapshot to the Engagement. Only populated if TaskStatus is COMPLETE

" } }, "EngagementId": { "target": "com.amazonaws.partnercentralselling#EngagementIdentifier", "traits": { - "smithy.api#documentation": "

\n The identifier of the newly created engagement. Only populated if TaskStatus is\n COMPLETE.\n

" + "smithy.api#documentation": "

The identifier of the newly created Engagement. Only populated if TaskStatus is\n COMPLETE.

" } }, "EngagementInvitationId": { "target": "com.amazonaws.partnercentralselling#EngagementInvitationIdentifier", "traits": { - "smithy.api#documentation": "

\n The identifier of the new engagement invitation. Only populated if TaskStatus is\n COMPLETE.\n

" + "smithy.api#documentation": "

The identifier of the new Engagement invitation. Only populated if TaskStatus is\n COMPLETE.

" } } }, @@ -11478,7 +11588,7 @@ "aws.iam#iamAction": { "documentation": "Grants permission to starting resource snapshot jobs in AWS Partner Central" }, - "smithy.api#documentation": "

\n Starts a resource snapshot job that has been previously created.\n

", + "smithy.api#documentation": "

Starts a resource snapshot job that has been previously created.

", "smithy.api#http": { "method": "POST", "uri": "/StartResourceSnapshotJob", @@ -11493,14 +11603,14 @@ "Catalog": { "target": "com.amazonaws.partnercentralselling#CatalogIdentifier", "traits": { - "smithy.api#documentation": "

\n Specifies the catalog related to the request.\n

", + "smithy.api#documentation": "

Specifies the catalog related to the request. Valid values are:

\n
    \n
  • \n

    AWS: Starts the request from the production AWS environment.

    \n
  • \n
  • \n

    Sandbox: Starts the request from a sandbox environment used for testing or\n development purposes.

    \n
  • \n
", "smithy.api#required": {} } }, "ResourceSnapshotJobIdentifier": { "target": "com.amazonaws.partnercentralselling#ResourceSnapshotJobIdentifier", "traits": { - "smithy.api#documentation": "

\n The identifier of the resource snapshot job to start.\n

", + "smithy.api#documentation": "

The identifier of the resource snapshot job to start.

", "smithy.api#required": {}, "smithy.api#resourceIdentifier": "Identifier" } @@ -11536,7 +11646,7 @@ "aws.iam#iamAction": { "documentation": "Grants permission to stopping resource snapshot jobs in AWS Partner Central" }, - "smithy.api#documentation": "

\n Stops a resource snapshot job. The job must be started prior to being stopped.\n

", + "smithy.api#documentation": "

Stops a resource snapshot job. The job must be started prior to being stopped.

", "smithy.api#http": { "method": "POST", "uri": "/StopResourceSnapshotJob", @@ -11551,14 +11661,14 @@ "Catalog": { "target": "com.amazonaws.partnercentralselling#CatalogIdentifier", "traits": { - "smithy.api#documentation": "

\n Specifies the catalog related to the request. \n

", + "smithy.api#documentation": "

Specifies the catalog related to the request. Valid values are:

\n
    \n
  • \n

    AWS: Stops the request from the production AWS environment.

    \n
  • \n
  • \n

    Sandbox: Stops the request from a sandbox environment used for testing or\n development purposes.

    \n
  • \n
", "smithy.api#required": {} } }, "ResourceSnapshotJobIdentifier": { "target": "com.amazonaws.partnercentralselling#ResourceSnapshotJobIdentifier", "traits": { - "smithy.api#documentation": "

\n The identifier of the job to stop.\n

", + "smithy.api#documentation": "

The identifier of the job to stop.

", "smithy.api#required": {}, "smithy.api#resourceIdentifier": "Identifier" } @@ -11606,7 +11716,7 @@ "aws.iam#iamAction": { "documentation": "Grants permission to submit Opportunities on AWS Partner Central" }, - "smithy.api#documentation": "

\n Use this action to submit an opportunity that was previously created by partner for\n AWS review. After you perform this action, the opportunity becomes non-editable until it\n is reviewed by AWS and has LifeCycle.ReviewStatus as either\n Approved or Action Required. \n

", + "smithy.api#documentation": "

Use this action to submit an Opportunity that was previously created by partner for\n AWS review. After you perform this action, the Opportunity becomes non-editable until it\n is reviewed by AWS and has LifeCycle.ReviewStatus as either\n Approved or Action Required.

", "smithy.api#http": { "method": "POST", "uri": "/SubmitOpportunity", @@ -11620,14 +11730,14 @@ "Catalog": { "target": "com.amazonaws.partnercentralselling#CatalogIdentifier", "traits": { - "smithy.api#documentation": "

\n Specifies the catalog related to the request. \n

", + "smithy.api#documentation": "

Specifies the catalog related to the request. Valid values are:

\n
    \n
  • \n

    AWS: Submits the opportunity request from the production AWS\n environment.

    \n
  • \n
  • \n

    Sandbox: Submits the opportunity request from a sandbox environment used for\n testing or development purposes.

    \n
  • \n
", "smithy.api#required": {} } }, "Identifier": { "target": "com.amazonaws.partnercentralselling#OpportunityIdentifier", "traits": { - "smithy.api#documentation": "

\n The identifier of the opportunity previously created by partner and needs to be\n submitted.\n

", + "smithy.api#documentation": "

The identifier of the Opportunity previously created by partner and needs to be\n submitted.

", "smithy.api#required": {}, "smithy.api#resourceIdentifier": "Identifier" } @@ -11635,14 +11745,133 @@ "InvolvementType": { "target": "com.amazonaws.partnercentralselling#SalesInvolvementType", "traits": { - "smithy.api#documentation": "

\n Specifies the level of AWS sellers' involvement on the opportunity. \n

", + "smithy.api#documentation": "

Specifies the level of AWS sellers' involvement on the opportunity. Valid\n values:

\n
    \n
  • \n

    \n Co-sell: Indicates the user wants to co-sell with AWS. Share the\n opportunity with AWS to receive deal assistance and support.

    \n
  • \n
  • \n

    \n For Visibility Only: Indicates that the user does not need\n support from AWS Sales Rep. Share this opportunity with AWS for visibility only,\n you will not receive deal assistance and support.

    \n
  • \n
", "smithy.api#required": {} } }, "Visibility": { "target": "com.amazonaws.partnercentralselling#Visibility", "traits": { - "smithy.api#documentation": "

\n Determines whether to restrict visibility of the opportunity from AWS sales. Default\n value is Full. \n

" + "smithy.api#documentation": "

Determines whether to restrict visibility of the opportunity from AWS sales. Default\n value is Full. Valid values:

\n
    \n
  • \n

    \n Full: The opportunity is fully visible to AWS sales.

    \n
  • \n
  • \n

    \n Limited: The opportunity has restricted visibility to AWS\n sales.

    \n
  • \n
" + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.partnercentralselling#Tag": { + "type": "structure", + "members": { + "Key": { + "target": "com.amazonaws.partnercentralselling#TagKey", + "traits": { + "smithy.api#documentation": "

The key in the tag.

", + "smithy.api#required": {} + } + }, + "Value": { + "target": "com.amazonaws.partnercentralselling#TagValue", + "traits": { + "smithy.api#documentation": "

The value in the tag.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#documentation": "

The key-value pair assigned to a specified resource.

" + } + }, + "com.amazonaws.partnercentralselling#TagKey": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 128 + }, + "smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" + } + }, + "com.amazonaws.partnercentralselling#TagKeyList": { + "type": "list", + "member": { + "target": "com.amazonaws.partnercentralselling#TagKey" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 50 + } + } + }, + "com.amazonaws.partnercentralselling#TagList": { + "type": "list", + "member": { + "target": "com.amazonaws.partnercentralselling#Tag" + }, + "traits": { + "smithy.api#length": { + "min": 1, + "max": 200 + } + } + }, + "com.amazonaws.partnercentralselling#TagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.partnercentralselling#TagResourceRequest" + }, + "output": { + "target": "com.amazonaws.partnercentralselling#TagResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.partnercentralselling#AccessDeniedException" + }, + { + "target": "com.amazonaws.partnercentralselling#ConflictException" + }, + { + "target": "com.amazonaws.partnercentralselling#InternalServerException" + }, + { + "target": "com.amazonaws.partnercentralselling#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.partnercentralselling#ThrottlingException" + }, + { + "target": "com.amazonaws.partnercentralselling#ValidationException" + } + ], + "traits": { + "aws.iam#iamAction": { + "documentation": "Allows users to add new tags to a resource. Supported resource: ResourceSnapshotJob" + }, + "smithy.api#documentation": "

Assigns one or more tags (key-value pairs) to the specified resource.

", + "smithy.api#http": { + "method": "POST", + "uri": "/TagResource", + "code": 200 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.partnercentralselling#TagResourceRequest": { + "type": "structure", + "members": { + "ResourceArn": { + "target": "com.amazonaws.partnercentralselling#TaggableResourceArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource that you want to tag.

", + "smithy.api#required": {} + } + }, + "Tags": { + "target": "com.amazonaws.partnercentralselling#TagList", + "traits": { + "smithy.api#documentation": "

A map of the key-value pairs of the tag or tags to assign to the resource.

", + "smithy.api#required": {} } } }, @@ -11650,6 +11879,32 @@ "smithy.api#input": {} } }, + "com.amazonaws.partnercentralselling#TagResourceResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, + "com.amazonaws.partnercentralselling#TagValue": { + "type": "string", + "traits": { + "smithy.api#length": { + "max": 256 + }, + "smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" + } + }, + "com.amazonaws.partnercentralselling#TaggableResourceArn": { + "type": "string", + "traits": { + "smithy.api#length": { + "min": 1, + "max": 1000 + }, + "smithy.api#pattern": "^arn:[\\w+=/,.@-]+:partnercentral:[\\w+=/,.@-]*:[0-9]{12}:catalog/([a-zA-Z]+)/[\\w+=,.@-]+(/[\\w+=,.@-]+)*$" + } + }, "com.amazonaws.partnercentralselling#TaskArn": { "type": "string", "traits": { @@ -11728,6 +11983,73 @@ "smithy.api#httpError": 429 } }, + "com.amazonaws.partnercentralselling#UntagResource": { + "type": "operation", + "input": { + "target": "com.amazonaws.partnercentralselling#UntagResourceRequest" + }, + "output": { + "target": "com.amazonaws.partnercentralselling#UntagResourceResponse" + }, + "errors": [ + { + "target": "com.amazonaws.partnercentralselling#AccessDeniedException" + }, + { + "target": "com.amazonaws.partnercentralselling#ConflictException" + }, + { + "target": "com.amazonaws.partnercentralselling#InternalServerException" + }, + { + "target": "com.amazonaws.partnercentralselling#ResourceNotFoundException" + }, + { + "target": "com.amazonaws.partnercentralselling#ThrottlingException" + }, + { + "target": "com.amazonaws.partnercentralselling#ValidationException" + } + ], + "traits": { + "smithy.api#documentation": "

Removes a tag or tags from a resource.

", + "smithy.api#http": { + "method": "POST", + "uri": "/UntagResource", + "code": 200 + }, + "smithy.api#idempotent": {} + } + }, + "com.amazonaws.partnercentralselling#UntagResourceRequest": { + "type": "structure", + "members": { + "ResourceArn": { + "target": "com.amazonaws.partnercentralselling#TaggableResourceArn", + "traits": { + "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource that you want to untag.

", + "smithy.api#required": {} + } + }, + "TagKeys": { + "target": "com.amazonaws.partnercentralselling#TagKeyList", + "traits": { + "smithy.api#documentation": "

The keys of the key-value pairs for the tag or tags you want to remove from the\n specified resource.

", + "smithy.api#required": {} + } + } + }, + "traits": { + "smithy.api#input": {} + } + }, + "com.amazonaws.partnercentralselling#UntagResourceResponse": { + "type": "structure", + "members": {}, + "traits": { + "smithy.api#output": {} + } + }, "com.amazonaws.partnercentralselling#UpdateOpportunity": { "type": "operation", "input": { @@ -11784,7 +12106,7 @@ "PrimaryNeedsFromAws": { "target": "com.amazonaws.partnercentralselling#PrimaryNeedsFromAws", "traits": { - "smithy.api#documentation": "

Identifies the type of support the partner needs from Amazon Web Services.

\n

Valid values:

\n
    \n
  • \n

    Cosell—Architectural Validation: Confirmation from Amazon Web Services that the\n partner's proposed solution architecture is aligned with Amazon Web Services best\n practices and poses minimal architectural risks.

    \n
  • \n
  • \n

    Cosell—Business Presentation: Request Amazon Web Services seller's\n participation in a joint customer presentation.

    \n
  • \n
  • \n

    Cosell—Competitive Information: Access to Amazon Web Services competitive\n resources and support for the partner's proposed solution.

    \n
  • \n
  • \n

    Cosell—Pricing Assistance: Connect with an AWS seller for support situations\n where a partner may be receiving an upfront discount on a service (for example:\n EDP deals).

    \n
  • \n
  • \n

    Cosell—Technical Consultation: Connection with an Amazon Web Services Solutions\n Architect to address the partner's questions about the proposed solution.

    \n
  • \n
  • \n

    Cosell—Total Cost of Ownership Evaluation: Assistance with quoting different\n cost savings of proposed solutions on Amazon Web Services versus on-premises or a\n traditional hosting environment.

    \n
  • \n
  • \n

    Cosell—Deal Support: Request Amazon Web Services seller's support to progress\n the opportunity (for example: joint customer call, strategic\n positioning).

    \n
  • \n
  • \n

    Cosell—Support for Public Tender/RFx: Opportunity related to the public sector\n where the partner needs RFx support from Amazon Web Services.

    \n
  • \n
  • \n

    Do Not Need Support from AWS Sales Rep: Indicates that a partner doesn't need\n support from an Amazon Web Services Sales representative. The opportunity is\n managed solely by the partner. It's possible to request coselling support on\n these opportunities at any stage during their lifecycle. Also known as,\n for-visibility-only (FVO) opportunity.

    \n
  • \n
" + "smithy.api#documentation": "

Identifies the type of support the partner needs from Amazon Web Services.

\n

Valid values:

\n
    \n
  • \n

    Cosell—Architectural Validation: Confirmation from Amazon Web Services that the\n partner's proposed solution architecture is aligned with Amazon Web Services best\n practices and poses minimal architectural risks.

    \n
  • \n
  • \n

    Cosell—Business Presentation: Request Amazon Web Services seller's\n participation in a joint customer presentation.

    \n
  • \n
  • \n

    Cosell—Competitive Information: Access to Amazon Web Services competitive\n resources and support for the partner's proposed solution.

    \n
  • \n
  • \n

    Cosell—Pricing Assistance: Connect with an AWS seller for support situations\n where a partner may be receiving an upfront discount on a service (for example:\n EDP deals).

    \n
  • \n
  • \n

    Cosell—Technical Consultation: Connection with an Amazon Web Services Solutions\n Architect to address the partner's questions about the proposed solution.

    \n
  • \n
  • \n

    Cosell—Total Cost of Ownership Evaluation: Assistance with quoting different\n cost savings of proposed solutions on Amazon Web Services versus on-premises or a\n traditional hosting environment.

    \n
  • \n
  • \n

    Cosell—Deal Support: Request Amazon Web Services seller's support to progress\n the opportunity (for example: joint customer call, strategic\n positioning).

    \n
  • \n
  • \n

    Cosell—Support for Public Tender/RFx: Opportunity related to the public sector\n where the partner needs RFx support from Amazon Web Services.

    \n
  • \n
" } }, "NationalSecurity": { diff --git a/codegen/sdk-codegen/aws-models/s3.json b/codegen/sdk-codegen/aws-models/s3.json index 611979516c7..faff31ddabb 100644 --- a/codegen/sdk-codegen/aws-models/s3.json +++ b/codegen/sdk-codegen/aws-models/s3.json @@ -60,7 +60,7 @@ } ], "traits": { - "smithy.api#documentation": "

This operation aborts a multipart upload. After a multipart upload is aborted, no\n additional parts can be uploaded using that upload ID. The storage consumed by any\n previously uploaded parts will be freed. However, if any part uploads are currently in\n progress, those part uploads might or might not succeed. As a result, it might be necessary\n to abort a given multipart upload multiple times in order to completely free all storage\n consumed by all parts.

\n

To verify that all parts have been removed and prevent getting charged for the part\n storage, you should call the ListParts API operation and ensure\n that the parts list is empty.

\n \n
    \n
  • \n

    \n Directory buckets - If multipart\n uploads in a directory bucket are in progress, you can't delete the bucket until\n all the in-progress multipart uploads are aborted or completed. To delete these\n in-progress multipart uploads, use the ListMultipartUploads operation\n to list the in-progress multipart uploads in the bucket and use the\n AbortMultipartUpload operation to abort all the in-progress\n multipart uploads.

    \n
  • \n
  • \n

    \n Directory buckets -\n For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name\n . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the\n Amazon S3 User Guide.

    \n
  • \n
\n
\n
\n
Permissions
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - For\n information about permissions required to use the multipart upload, see\n Multipart Upload and\n Permissions in the Amazon S3 User Guide.

    \n
  • \n
  • \n

    \n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession\n .

    \n
  • \n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is \n Bucket-name.s3express-zone-id.region-code.amazonaws.com.

\n
\n
\n

The following operations are related to AbortMultipartUpload:

\n ", + "smithy.api#documentation": "

This operation aborts a multipart upload. After a multipart upload is aborted, no\n additional parts can be uploaded using that upload ID. The storage consumed by any\n previously uploaded parts will be freed. However, if any part uploads are currently in\n progress, those part uploads might or might not succeed. As a result, it might be necessary\n to abort a given multipart upload multiple times in order to completely free all storage\n consumed by all parts.

\n

To verify that all parts have been removed and prevent getting charged for the part\n storage, you should call the ListParts API operation and ensure\n that the parts list is empty.

\n \n
    \n
  • \n

    \n Directory buckets - If multipart\n uploads in a directory bucket are in progress, you can't delete the bucket until\n all the in-progress multipart uploads are aborted or completed. To delete these\n in-progress multipart uploads, use the ListMultipartUploads operation\n to list the in-progress multipart uploads in the bucket and use the\n AbortMultipartUpload operation to abort all the in-progress\n multipart uploads.

    \n
  • \n
  • \n

    \n Directory buckets -\n For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name\n . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Available Local Zone for directory buckets in the\n Amazon S3 User Guide.

    \n
  • \n
\n
\n
\n
Permissions
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - For\n information about permissions required to use the multipart upload, see\n Multipart Upload and\n Permissions in the Amazon S3 User Guide.

    \n
  • \n
  • \n

    \n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession\n .

    \n
  • \n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is \n Bucket-name.s3express-zone-id.region-code.amazonaws.com.

\n
\n
\n

The following operations are related to AbortMultipartUpload:

\n ", "smithy.api#examples": [ { "title": "To abort a multipart upload", @@ -19163,25 +19163,37 @@ "ChecksumCRC32": { "target": "com.amazonaws.s3#ChecksumCRC32", "traits": { - "smithy.api#documentation": "

The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

" + "smithy.api#documentation": "

The Base64 encoded, 32-bit CRC-32 checksum of the object. This checksum is only be present if the checksum was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

" } }, "ChecksumCRC32C": { "target": "com.amazonaws.s3#ChecksumCRC32C", "traits": { - "smithy.api#documentation": "

The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

" + "smithy.api#documentation": "

The Base64 encoded, 32-bit CRC-32C checksum of the object. This checksum is only present if the checksum was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

" + } + }, + "ChecksumCRC64NVME": { + "target": "com.amazonaws.s3#ChecksumCRC64NVME", + "traits": { + "smithy.api#documentation": "

The Base64 encoded, 64-bit CRC-64NVME checksum of the object. This checksum is present\n if the object was uploaded with the CRC-64NVME checksum algorithm, or if the object was uploaded without a\n checksum (and Amazon S3 added the default checksum, CRC-64NVME, to the uploaded object). For more information, see Checking object integrity in the Amazon S3 User Guide.

" } }, "ChecksumSHA1": { "target": "com.amazonaws.s3#ChecksumSHA1", "traits": { - "smithy.api#documentation": "

The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded\n with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

" + "smithy.api#documentation": "

The Base64 encoded, 160-bit SHA-1 digest of the object. This will only be present if the object was uploaded\n with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

" } }, "ChecksumSHA256": { "target": "com.amazonaws.s3#ChecksumSHA256", "traits": { - "smithy.api#documentation": "

The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

" + "smithy.api#documentation": "

The Base64 encoded, 256-bit SHA-256 digest of the object. This will only be present if the object was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

" + } + }, + "ChecksumType": { + "target": "com.amazonaws.s3#ChecksumType", + "traits": { + "smithy.api#documentation": "

The checksum type that is used to calculate the object’s\n checksum value. For more information, see Checking object integrity in the Amazon S3 User Guide.

" } } }, @@ -19215,6 +19227,12 @@ "traits": { "smithy.api#enumValue": "SHA256" } + }, + "CRC64NVME": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "CRC64NVME" + } } } }, @@ -19230,6 +19248,9 @@ "com.amazonaws.s3#ChecksumCRC32C": { "type": "string" }, + "com.amazonaws.s3#ChecksumCRC64NVME": { + "type": "string" + }, "com.amazonaws.s3#ChecksumMode": { "type": "enum", "members": { @@ -19247,6 +19268,23 @@ "com.amazonaws.s3#ChecksumSHA256": { "type": "string" }, + "com.amazonaws.s3#ChecksumType": { + "type": "enum", + "members": { + "COMPOSITE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPOSITE" + } + }, + "FULL_OBJECT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "FULL_OBJECT" + } + } + } + }, "com.amazonaws.s3#Code": { "type": "string" }, @@ -19282,7 +19320,7 @@ "target": "com.amazonaws.s3#CompleteMultipartUploadOutput" }, "traits": { - "smithy.api#documentation": "

Completes a multipart upload by assembling previously uploaded parts.

\n

You first initiate the multipart upload and then upload all parts using the UploadPart\n operation or the UploadPartCopy operation.\n After successfully uploading all relevant parts of an upload, you call this\n CompleteMultipartUpload operation to complete the upload. Upon receiving\n this request, Amazon S3 concatenates all the parts in ascending order by part number to create a\n new object. In the CompleteMultipartUpload request, you must provide the parts list and\n ensure that the parts list is complete. The CompleteMultipartUpload API operation\n concatenates the parts that you provide in the list. For each part in the list, you must\n provide the PartNumber value and the ETag value that are returned\n after that part was uploaded.

\n

The processing of a CompleteMultipartUpload request could take several minutes to\n finalize. After Amazon S3 begins processing the request, it sends an HTTP response header that\n specifies a 200 OK response. While processing is in progress, Amazon S3\n periodically sends white space characters to keep the connection from timing out. A request\n could fail after the initial 200 OK response has been sent. This means that a\n 200 OK response can contain either a success or an error. The error\n response might be embedded in the 200 OK response. If you call this API\n operation directly, make sure to design your application to parse the contents of the\n response and handle it appropriately. If you use Amazon Web Services SDKs, SDKs handle this condition.\n The SDKs detect the embedded error and apply error handling per your configuration settings\n (including automatically retrying the request as appropriate). If the condition persists,\n the SDKs throw an exception (or, for the SDKs that don't use exceptions, they return an\n error).

\n

Note that if CompleteMultipartUpload fails, applications should be prepared\n to retry any failed requests (including 500 error responses). For more information, see\n Amazon S3 Error\n Best Practices.

\n \n

You can't use Content-Type: application/x-www-form-urlencoded for the\n CompleteMultipartUpload requests. Also, if you don't provide a Content-Type\n header, CompleteMultipartUpload can still return a 200 OK\n response.

\n
\n

For more information about multipart uploads, see Uploading Objects Using Multipart\n Upload in the Amazon S3 User Guide.

\n \n

\n Directory buckets -\n For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name\n . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the\n Amazon S3 User Guide.

\n
\n
\n
Permissions
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - For\n information about permissions required to use the multipart upload API, see\n Multipart Upload and\n Permissions in the Amazon S3 User Guide.

    \n

    If you provide an additional checksum\n value in your MultipartUpload requests and the\n object is encrypted with Key Management Service, you must have permission to use the\n kms:Decrypt action for the\n CompleteMultipartUpload request to succeed.

    \n
  • \n
  • \n

    \n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession\n .

    \n

    If the object is encrypted with SSE-KMS, you must also have the\n kms:GenerateDataKey and kms:Decrypt permissions\n in IAM identity-based policies and KMS key policies for the KMS\n key.

    \n
  • \n
\n
\n
Special errors
\n
\n
    \n
  • \n

    Error Code: EntityTooSmall\n

    \n
      \n
    • \n

      Description: Your proposed upload is smaller than the minimum\n allowed object size. Each part must be at least 5 MB in size, except\n the last part.

      \n
    • \n
    • \n

      HTTP Status Code: 400 Bad Request

      \n
    • \n
    \n
  • \n
  • \n

    Error Code: InvalidPart\n

    \n
      \n
    • \n

      Description: One or more of the specified parts could not be found.\n The part might not have been uploaded, or the specified ETag might not\n have matched the uploaded part's ETag.

      \n
    • \n
    • \n

      HTTP Status Code: 400 Bad Request

      \n
    • \n
    \n
  • \n
  • \n

    Error Code: InvalidPartOrder\n

    \n
      \n
    • \n

      Description: The list of parts was not in ascending order. The\n parts list must be specified in order by part number.

      \n
    • \n
    • \n

      HTTP Status Code: 400 Bad Request

      \n
    • \n
    \n
  • \n
  • \n

    Error Code: NoSuchUpload\n

    \n
      \n
    • \n

      Description: The specified multipart upload does not exist. The\n upload ID might be invalid, or the multipart upload might have been\n aborted or completed.

      \n
    • \n
    • \n

      HTTP Status Code: 404 Not Found

      \n
    • \n
    \n
  • \n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is \n Bucket-name.s3express-zone-id.region-code.amazonaws.com.

\n
\n
\n

The following operations are related to CompleteMultipartUpload:

\n ", + "smithy.api#documentation": "

Completes a multipart upload by assembling previously uploaded parts.

\n

You first initiate the multipart upload and then upload all parts using the UploadPart\n operation or the UploadPartCopy operation.\n After successfully uploading all relevant parts of an upload, you call this\n CompleteMultipartUpload operation to complete the upload. Upon receiving\n this request, Amazon S3 concatenates all the parts in ascending order by part number to create a\n new object. In the CompleteMultipartUpload request, you must provide the parts list and\n ensure that the parts list is complete. The CompleteMultipartUpload API operation\n concatenates the parts that you provide in the list. For each part in the list, you must\n provide the PartNumber value and the ETag value that are returned\n after that part was uploaded.

\n

The processing of a CompleteMultipartUpload request could take several minutes to\n finalize. After Amazon S3 begins processing the request, it sends an HTTP response header that\n specifies a 200 OK response. While processing is in progress, Amazon S3\n periodically sends white space characters to keep the connection from timing out. A request\n could fail after the initial 200 OK response has been sent. This means that a\n 200 OK response can contain either a success or an error. The error\n response might be embedded in the 200 OK response. If you call this API\n operation directly, make sure to design your application to parse the contents of the\n response and handle it appropriately. If you use Amazon Web Services SDKs, SDKs handle this condition.\n The SDKs detect the embedded error and apply error handling per your configuration settings\n (including automatically retrying the request as appropriate). If the condition persists,\n the SDKs throw an exception (or, for the SDKs that don't use exceptions, they return an\n error).

\n

Note that if CompleteMultipartUpload fails, applications should be prepared\n to retry any failed requests (including 500 error responses). For more information, see\n Amazon S3 Error\n Best Practices.

\n \n

You can't use Content-Type: application/x-www-form-urlencoded for the\n CompleteMultipartUpload requests. Also, if you don't provide a Content-Type\n header, CompleteMultipartUpload can still return a 200 OK\n response.

\n
\n

For more information about multipart uploads, see Uploading Objects Using Multipart\n Upload in the Amazon S3 User Guide.

\n \n

\n Directory buckets -\n For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name\n . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Available Local Zone for directory buckets in the\n Amazon S3 User Guide.

\n
\n
\n
Permissions
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - For\n information about permissions required to use the multipart upload API, see\n Multipart Upload and\n Permissions in the Amazon S3 User Guide.

    \n

    If you provide an additional checksum\n value in your MultipartUpload requests and the\n object is encrypted with Key Management Service, you must have permission to use the\n kms:Decrypt action for the\n CompleteMultipartUpload request to succeed.

    \n
  • \n
  • \n

    \n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession\n .

    \n

    If the object is encrypted with SSE-KMS, you must also have the\n kms:GenerateDataKey and kms:Decrypt permissions\n in IAM identity-based policies and KMS key policies for the KMS\n key.

    \n
  • \n
\n
\n
Special errors
\n
\n
    \n
  • \n

    Error Code: EntityTooSmall\n

    \n
      \n
    • \n

      Description: Your proposed upload is smaller than the minimum\n allowed object size. Each part must be at least 5 MB in size, except\n the last part.

      \n
    • \n
    • \n

      HTTP Status Code: 400 Bad Request

      \n
    • \n
    \n
  • \n
  • \n

    Error Code: InvalidPart\n

    \n
      \n
    • \n

      Description: One or more of the specified parts could not be found.\n The part might not have been uploaded, or the specified ETag might not\n have matched the uploaded part's ETag.

      \n
    • \n
    • \n

      HTTP Status Code: 400 Bad Request

      \n
    • \n
    \n
  • \n
  • \n

    Error Code: InvalidPartOrder\n

    \n
      \n
    • \n

      Description: The list of parts was not in ascending order. The\n parts list must be specified in order by part number.

      \n
    • \n
    • \n

      HTTP Status Code: 400 Bad Request

      \n
    • \n
    \n
  • \n
  • \n

    Error Code: NoSuchUpload\n

    \n
      \n
    • \n

      Description: The specified multipart upload does not exist. The\n upload ID might be invalid, or the multipart upload might have been\n aborted or completed.

      \n
    • \n
    • \n

      HTTP Status Code: 404 Not Found

      \n
    • \n
    \n
  • \n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is \n Bucket-name.s3express-zone-id.region-code.amazonaws.com.

\n
\n
\n

The following operations are related to CompleteMultipartUpload:

\n ", "smithy.api#examples": [ { "title": "To complete multipart upload", @@ -19356,25 +19394,37 @@ "ChecksumCRC32": { "target": "com.amazonaws.s3#ChecksumCRC32", "traits": { - "smithy.api#documentation": "

The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

" + "smithy.api#documentation": "

The Base64 encoded, 32-bit CRC-32 checksum of the object. This checksum is only be present if the checksum was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

" } }, "ChecksumCRC32C": { "target": "com.amazonaws.s3#ChecksumCRC32C", "traits": { - "smithy.api#documentation": "

The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

" + "smithy.api#documentation": "

The Base64 encoded, 32-bit CRC-32C checksum of the object. This checksum is only present if the checksum was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

" + } + }, + "ChecksumCRC64NVME": { + "target": "com.amazonaws.s3#ChecksumCRC64NVME", + "traits": { + "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is\n the same data that was originally sent. This header specifies the Base64 encoded, 64-bit\n CRC-64NVME checksum of the object. The CRC-64NVME checksum is\n always a full object checksum. For more information, see Checking object integrity\n in the Amazon S3 User Guide.

" } }, "ChecksumSHA1": { "target": "com.amazonaws.s3#ChecksumSHA1", "traits": { - "smithy.api#documentation": "

The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded\n with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

" + "smithy.api#documentation": "

The Base64 encoded, 160-bit SHA-1 digest of the object. This will only be present if the object was uploaded\n with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

" } }, "ChecksumSHA256": { "target": "com.amazonaws.s3#ChecksumSHA256", "traits": { - "smithy.api#documentation": "

The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

" + "smithy.api#documentation": "

The Base64 encoded, 256-bit SHA-256 digest of the object. This will only be present if the object was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

" + } + }, + "ChecksumType": { + "target": "com.amazonaws.s3#ChecksumType", + "traits": { + "smithy.api#documentation": "

The checksum type, which determines how part-level checksums are combined to create an\n object-level checksum for multipart objects. You can use this header as a data integrity\n check to verify that the checksum type that is received is the same checksum type that was\n specified during the CreateMultipartUpload request. For more information, see\n Checking object integrity\n in the Amazon S3 User Guide.

" } }, "ServerSideEncryption": { @@ -19461,31 +19511,52 @@ "ChecksumCRC32": { "target": "com.amazonaws.s3#ChecksumCRC32", "traits": { - "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the base64-encoded, 32-bit CRC-32 checksum of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.

", + "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the Base64 encoded, 32-bit CRC-32 checksum of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.

", "smithy.api#httpHeader": "x-amz-checksum-crc32" } }, "ChecksumCRC32C": { "target": "com.amazonaws.s3#ChecksumCRC32C", "traits": { - "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the base64-encoded, 32-bit CRC-32C checksum of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.

", + "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the Base64 encoded, 32-bit CRC-32C checksum of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.

", "smithy.api#httpHeader": "x-amz-checksum-crc32c" } }, + "ChecksumCRC64NVME": { + "target": "com.amazonaws.s3#ChecksumCRC64NVME", + "traits": { + "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is\n the same data that was originally sent. This header specifies the Base64 encoded, 64-bit\n CRC-64NVME checksum of the object. The CRC-64NVME checksum is\n always a full object checksum. For more information, see Checking object integrity\n in the Amazon S3 User Guide.

", + "smithy.api#httpHeader": "x-amz-checksum-crc64nvme" + } + }, "ChecksumSHA1": { "target": "com.amazonaws.s3#ChecksumSHA1", "traits": { - "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the base64-encoded, 160-bit SHA-1 digest of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.

", + "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the Base64 encoded, 160-bit SHA-1 digest of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.

", "smithy.api#httpHeader": "x-amz-checksum-sha1" } }, "ChecksumSHA256": { "target": "com.amazonaws.s3#ChecksumSHA256", "traits": { - "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the base64-encoded, 256-bit SHA-256 digest of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.

", + "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the Base64 encoded, 256-bit SHA-256 digest of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.

", "smithy.api#httpHeader": "x-amz-checksum-sha256" } }, + "ChecksumType": { + "target": "com.amazonaws.s3#ChecksumType", + "traits": { + "smithy.api#documentation": "

This header specifies the checksum type of the object, which determines how part-level\n checksums are combined to create an object-level checksum for multipart objects. You can\n use this header as a data integrity check to verify that the checksum type that is received\n is the same checksum that was specified. If the checksum type doesn’t match the checksum\n type that was specified for the object during the CreateMultipartUpload\n request, it’ll result in a BadDigest error. For more information, see Checking\n object integrity in the Amazon S3 User Guide.

", + "smithy.api#httpHeader": "x-amz-checksum-type" + } + }, + "MpuObjectSize": { + "target": "com.amazonaws.s3#MpuObjectSize", + "traits": { + "smithy.api#documentation": "

The expected total object size of the multipart upload request. If there’s a mismatch\n between the specified object size value and the actual object size value, it results in an\n HTTP 400 InvalidRequest error.

", + "smithy.api#httpHeader": "x-amz-mp-object-size" + } + }, "RequestPayer": { "target": "com.amazonaws.s3#RequestPayer", "traits": { @@ -19567,25 +19638,31 @@ "ChecksumCRC32": { "target": "com.amazonaws.s3#ChecksumCRC32", "traits": { - "smithy.api#documentation": "

The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

" + "smithy.api#documentation": "

The Base64 encoded, 32-bit CRC-32 checksum of the part. This checksum is present\n if the multipart upload request was created with the CRC-32 checksum algorithm. For more information, see Checking object integrity in the Amazon S3 User Guide.

" } }, "ChecksumCRC32C": { "target": "com.amazonaws.s3#ChecksumCRC32C", "traits": { - "smithy.api#documentation": "

The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

" + "smithy.api#documentation": "

The Base64 encoded, 32-bit CRC-32C checksum of the part. This checksum is present\n if the multipart upload request was created with the CRC-32C checksum algorithm. For more information, see Checking object integrity in the Amazon S3 User Guide.

" + } + }, + "ChecksumCRC64NVME": { + "target": "com.amazonaws.s3#ChecksumCRC64NVME", + "traits": { + "smithy.api#documentation": "

The Base64 encoded, 64-bit CRC-64NVME checksum of the part. This checksum is present\n if the multipart upload request was created with the CRC-64NVME checksum algorithm to the uploaded object). For more information, see Checking object integrity in the Amazon S3 User Guide.

" } }, "ChecksumSHA1": { "target": "com.amazonaws.s3#ChecksumSHA1", "traits": { - "smithy.api#documentation": "

The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded\n with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

" + "smithy.api#documentation": "

The Base64 encoded, 160-bit SHA-1 checksum of the part. This checksum is present\n if the multipart upload request was created with the SHA-1 checksum algorithm. For more information, see Checking object integrity in the Amazon S3 User Guide.

" } }, "ChecksumSHA256": { "target": "com.amazonaws.s3#ChecksumSHA256", "traits": { - "smithy.api#documentation": "

The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

" + "smithy.api#documentation": "

The Base64 encoded, 256-bit SHA-256 checksum of the part. This checksum is present\n if the multipart upload request was created with the SHA-256 checksum algorithm. For more information, see Checking object integrity in the Amazon S3 User Guide.

" } }, "PartNumber": { @@ -19693,7 +19770,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a copy of an object that is already stored in Amazon S3.

\n \n

You can store individual objects of up to 5 TB in Amazon S3. You create a copy of your\n object up to 5 GB in size in a single atomic action using this API. However, to copy an\n object greater than 5 GB, you must use the multipart upload Upload Part - Copy\n (UploadPartCopy) API. For more information, see Copy Object Using the\n REST Multipart Upload API.

\n
\n

You can copy individual objects between general purpose buckets, between directory buckets,\n and between general purpose buckets and directory buckets.

\n \n
    \n
  • \n

    Amazon S3 supports copy operations using Multi-Region Access Points only as a\n destination when using the Multi-Region Access Point ARN.

    \n
  • \n
  • \n

    \n Directory buckets -\n For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name\n . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the\n Amazon S3 User Guide.

    \n
  • \n
  • \n

    VPC endpoints don't support cross-Region requests (including copies). If you're\n using VPC endpoints, your source and destination buckets should be in the same\n Amazon Web Services Region as your VPC endpoint.

    \n
  • \n
\n
\n

Both the Region that you want to copy the object from and the Region that you want to\n copy the object to must be enabled for your account. For more information about how to\n enable a Region for your account, see Enable or disable a Region for standalone accounts in the Amazon Web Services\n Account Management Guide.

\n \n

Amazon S3 transfer acceleration does not support cross-Region copies. If you request a\n cross-Region copy using a transfer acceleration endpoint, you get a 400 Bad\n Request error. For more information, see Transfer\n Acceleration.

\n
\n
\n
Authentication and authorization
\n
\n

All CopyObject requests must be authenticated and signed by using\n IAM credentials (access key ID and secret access key for the IAM identities).\n All headers with the x-amz- prefix, including\n x-amz-copy-source, must be signed. For more information, see\n REST Authentication.

\n

\n Directory buckets - You must use the\n IAM credentials to authenticate and authorize your access to the\n CopyObject API operation, instead of using the temporary security\n credentials through the CreateSession API operation.

\n

Amazon Web Services CLI or SDKs handles authentication and authorization on your\n behalf.

\n
\n
Permissions
\n
\n

You must have read access to the source object and\n write access to the destination bucket.

\n
    \n
  • \n

    \n General purpose bucket permissions - You\n must have permissions in an IAM policy based on the source and destination\n bucket types in a CopyObject operation.

    \n
      \n
    • \n

      If the source object is in a general purpose bucket, you must have\n \n s3:GetObject\n \n permission to read the source object that is being copied.

      \n
    • \n
    • \n

      If the destination bucket is a general purpose bucket, you must have\n \n s3:PutObject\n \n permission to write the object copy to the destination bucket.

      \n
    • \n
    \n
  • \n
  • \n

    \n Directory bucket permissions -\n You must have permissions in a bucket policy or an IAM identity-based policy based on the\n source and destination bucket types in a CopyObject\n operation.

    \n
      \n
    • \n

      If the source object that you want to copy is in a\n directory bucket, you must have the \n s3express:CreateSession\n permission in\n the Action element of a policy to read the object. By\n default, the session is in the ReadWrite mode. If you\n want to restrict the access, you can explicitly set the\n s3express:SessionMode condition key to\n ReadOnly on the copy source bucket.

      \n
    • \n
    • \n

      If the copy destination is a directory bucket, you must have the\n \n s3express:CreateSession\n permission in the\n Action element of a policy to write the object to the\n destination. The s3express:SessionMode condition key\n can't be set to ReadOnly on the copy destination bucket.\n

      \n
    • \n
    \n

    If the object is encrypted with SSE-KMS, you must also have the\n kms:GenerateDataKey and kms:Decrypt permissions\n in IAM identity-based policies and KMS key policies for the KMS\n key.

    \n

    For example policies, see Example bucket policies for S3 Express One Zone and Amazon Web Services Identity and Access Management (IAM) identity-based policies for\n S3 Express One Zone in the Amazon S3 User Guide.

    \n
  • \n
\n
\n
Response and special errors
\n
\n

When the request is an HTTP 1.1 request, the response is chunk encoded. When\n the request is not an HTTP 1.1 request, the response would not contain the\n Content-Length. You always need to read the entire response body\n to check if the copy succeeds.

\n
    \n
  • \n

    If the copy is successful, you receive a response with information about\n the copied object.

    \n
  • \n
  • \n

    A copy request might return an error when Amazon S3 receives the copy request\n or while Amazon S3 is copying the files. A 200 OK response can\n contain either a success or an error.

    \n
      \n
    • \n

      If the error occurs before the copy action starts, you receive a\n standard Amazon S3 error.

      \n
    • \n
    • \n

      If the error occurs during the copy operation, the error response\n is embedded in the 200 OK response. For example, in a\n cross-region copy, you may encounter throttling and receive a\n 200 OK response. For more information, see Resolve the Error 200 response when copying objects to\n Amazon S3. The 200 OK status code means the copy\n was accepted, but it doesn't mean the copy is complete. Another\n example is when you disconnect from Amazon S3 before the copy is complete,\n Amazon S3 might cancel the copy and you may receive a 200 OK\n response. You must stay connected to Amazon S3 until the entire response is\n successfully received and processed.

      \n

      If you call this API operation directly, make sure to design your\n application to parse the content of the response and handle it\n appropriately. If you use Amazon Web Services SDKs, SDKs handle this condition. The\n SDKs detect the embedded error and apply error handling per your\n configuration settings (including automatically retrying the request\n as appropriate). If the condition persists, the SDKs throw an\n exception (or, for the SDKs that don't use exceptions, they return an\n error).

      \n
    • \n
    \n
  • \n
\n
\n
Charge
\n
\n

The copy request charge is based on the storage class and Region that you\n specify for the destination object. The request can also result in a data\n retrieval charge for the source if the source storage class bills for data\n retrieval. If the copy source is in a different region, the data transfer is\n billed to the copy source account. For pricing information, see Amazon S3 pricing.

\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is \n Bucket-name.s3express-zone-id.region-code.amazonaws.com.

\n
\n
\n

The following operations are related to CopyObject:

\n ", + "smithy.api#documentation": "

Creates a copy of an object that is already stored in Amazon S3.

\n \n

You can store individual objects of up to 5 TB in Amazon S3. You create a copy of your\n object up to 5 GB in size in a single atomic action using this API. However, to copy an\n object greater than 5 GB, you must use the multipart upload Upload Part - Copy\n (UploadPartCopy) API. For more information, see Copy Object Using the\n REST Multipart Upload API.

\n
\n

You can copy individual objects between general purpose buckets, between directory buckets,\n and between general purpose buckets and directory buckets.

\n \n
    \n
  • \n

    Amazon S3 supports copy operations using Multi-Region Access Points only as a\n destination when using the Multi-Region Access Point ARN.

    \n
  • \n
  • \n

    \n Directory buckets -\n For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name\n . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Available Local Zone for directory buckets in the\n Amazon S3 User Guide.

    \n
  • \n
  • \n

    VPC endpoints don't support cross-Region requests (including copies). If you're\n using VPC endpoints, your source and destination buckets should be in the same\n Amazon Web Services Region as your VPC endpoint.

    \n
  • \n
\n
\n

Both the Region that you want to copy the object from and the Region that you want to\n copy the object to must be enabled for your account. For more information about how to\n enable a Region for your account, see Enable or disable a Region for standalone accounts in the Amazon Web Services\n Account Management Guide.

\n \n

Amazon S3 transfer acceleration does not support cross-Region copies. If you request a\n cross-Region copy using a transfer acceleration endpoint, you get a 400 Bad\n Request error. For more information, see Transfer\n Acceleration.

\n
\n
\n
Authentication and authorization
\n
\n

All CopyObject requests must be authenticated and signed by using\n IAM credentials (access key ID and secret access key for the IAM identities).\n All headers with the x-amz- prefix, including\n x-amz-copy-source, must be signed. For more information, see\n REST Authentication.

\n

\n Directory buckets - You must use the\n IAM credentials to authenticate and authorize your access to the\n CopyObject API operation, instead of using the temporary security\n credentials through the CreateSession API operation.

\n

Amazon Web Services CLI or SDKs handles authentication and authorization on your\n behalf.

\n
\n
Permissions
\n
\n

You must have read access to the source object and\n write access to the destination bucket.

\n
    \n
  • \n

    \n General purpose bucket permissions - You\n must have permissions in an IAM policy based on the source and destination\n bucket types in a CopyObject operation.

    \n
      \n
    • \n

      If the source object is in a general purpose bucket, you must have\n \n s3:GetObject\n \n permission to read the source object that is being copied.

      \n
    • \n
    • \n

      If the destination bucket is a general purpose bucket, you must have\n \n s3:PutObject\n \n permission to write the object copy to the destination bucket.

      \n
    • \n
    \n
  • \n
  • \n

    \n Directory bucket permissions -\n You must have permissions in a bucket policy or an IAM identity-based policy based on the\n source and destination bucket types in a CopyObject\n operation.

    \n
      \n
    • \n

      If the source object that you want to copy is in a\n directory bucket, you must have the \n s3express:CreateSession\n permission in\n the Action element of a policy to read the object. By\n default, the session is in the ReadWrite mode. If you\n want to restrict the access, you can explicitly set the\n s3express:SessionMode condition key to\n ReadOnly on the copy source bucket.

      \n
    • \n
    • \n

      If the copy destination is a directory bucket, you must have the\n \n s3express:CreateSession\n permission in the\n Action element of a policy to write the object to the\n destination. The s3express:SessionMode condition key\n can't be set to ReadOnly on the copy destination bucket.\n

      \n
    • \n
    \n

    If the object is encrypted with SSE-KMS, you must also have the\n kms:GenerateDataKey and kms:Decrypt permissions\n in IAM identity-based policies and KMS key policies for the KMS\n key.

    \n

    For example policies, see Example bucket policies for S3 Express One Zone and Amazon Web Services Identity and Access Management (IAM) identity-based policies for\n S3 Express One Zone in the Amazon S3 User Guide.

    \n
  • \n
\n
\n
Response and special errors
\n
\n

When the request is an HTTP 1.1 request, the response is chunk encoded. When\n the request is not an HTTP 1.1 request, the response would not contain the\n Content-Length. You always need to read the entire response body\n to check if the copy succeeds.

\n
    \n
  • \n

    If the copy is successful, you receive a response with information about\n the copied object.

    \n
  • \n
  • \n

    A copy request might return an error when Amazon S3 receives the copy request\n or while Amazon S3 is copying the files. A 200 OK response can\n contain either a success or an error.

    \n
      \n
    • \n

      If the error occurs before the copy action starts, you receive a\n standard Amazon S3 error.

      \n
    • \n
    • \n

      If the error occurs during the copy operation, the error response\n is embedded in the 200 OK response. For example, in a\n cross-region copy, you may encounter throttling and receive a\n 200 OK response. For more information, see Resolve the Error 200 response when copying objects to\n Amazon S3. The 200 OK status code means the copy\n was accepted, but it doesn't mean the copy is complete. Another\n example is when you disconnect from Amazon S3 before the copy is complete,\n Amazon S3 might cancel the copy and you may receive a 200 OK\n response. You must stay connected to Amazon S3 until the entire response is\n successfully received and processed.

      \n

      If you call this API operation directly, make sure to design your\n application to parse the content of the response and handle it\n appropriately. If you use Amazon Web Services SDKs, SDKs handle this condition. The\n SDKs detect the embedded error and apply error handling per your\n configuration settings (including automatically retrying the request\n as appropriate). If the condition persists, the SDKs throw an\n exception (or, for the SDKs that don't use exceptions, they return an\n error).

      \n
    • \n
    \n
  • \n
\n
\n
Charge
\n
\n

The copy request charge is based on the storage class and Region that you\n specify for the destination object. The request can also result in a data\n retrieval charge for the source if the source storage class bills for data\n retrieval. If the copy source is in a different region, the data transfer is\n billed to the copy source account. For pricing information, see Amazon S3 pricing.

\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is \n Bucket-name.s3express-zone-id.region-code.amazonaws.com.

\n
\n
\n

The following operations are related to CopyObject:

\n ", "smithy.api#examples": [ { "title": "To copy an object", @@ -19785,7 +19862,7 @@ "SSEKMSEncryptionContext": { "target": "com.amazonaws.s3#SSEKMSEncryptionContext", "traits": { - "smithy.api#documentation": "

If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The\n value of this header is a base64-encoded UTF-8 string holding JSON with the encryption\n context key-value pairs.

", + "smithy.api#documentation": "

If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The\n value of this header is a Base64 encoded UTF-8 string holding JSON with the encryption\n context key-value pairs.

", "smithy.api#httpHeader": "x-amz-server-side-encryption-context" } }, @@ -20028,7 +20105,7 @@ "SSEKMSEncryptionContext": { "target": "com.amazonaws.s3#SSEKMSEncryptionContext", "traits": { - "smithy.api#documentation": "

Specifies the Amazon Web Services KMS Encryption Context as an additional encryption context to use\n for the destination object encryption. The value of this header is a base64-encoded UTF-8\n string holding JSON with the encryption context key-value pairs.

\n

\n General purpose buckets - This value must be explicitly\n added to specify encryption context for CopyObject requests if you want an\n additional encryption context for your destination object. The additional encryption\n context of the source object won't be copied to the destination object. For more\n information, see Encryption\n context in the Amazon S3 User Guide.

\n

\n Directory buckets - You can optionally provide an explicit encryption context value. The value must match the default encryption context - the bucket Amazon Resource Name (ARN). An additional encryption context value is not supported.

", + "smithy.api#documentation": "

Specifies the Amazon Web Services KMS Encryption Context as an additional encryption context to use\n for the destination object encryption. The value of this header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value pairs.

\n

\n General purpose buckets - This value must be explicitly\n added to specify encryption context for CopyObject requests if you want an\n additional encryption context for your destination object. The additional encryption\n context of the source object won't be copied to the destination object. For more\n information, see Encryption\n context in the Amazon S3 User Guide.

\n

\n Directory buckets - You can optionally provide an explicit encryption context value. The value must match the default encryption context - the bucket Amazon Resource Name (ARN). An additional encryption context value is not supported.

", "smithy.api#httpHeader": "x-amz-server-side-encryption-context" } }, @@ -20128,28 +20205,40 @@ "smithy.api#documentation": "

Creation date of the object.

" } }, + "ChecksumType": { + "target": "com.amazonaws.s3#ChecksumType", + "traits": { + "smithy.api#documentation": "

The checksum type that is used to calculate the object’s\n checksum value. For more information, see Checking object integrity in the Amazon S3 User Guide.

" + } + }, "ChecksumCRC32": { "target": "com.amazonaws.s3#ChecksumCRC32", "traits": { - "smithy.api#documentation": "

The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded\n with the object. For more information, see \n Checking object integrity in the Amazon S3 User Guide.

" + "smithy.api#documentation": "

The Base64 encoded, 32-bit CRC-32 checksum of the object. This checksum is only present if the object was uploaded\n with the object. For more information, see \n Checking object integrity in the Amazon S3 User Guide.

" } }, "ChecksumCRC32C": { "target": "com.amazonaws.s3#ChecksumCRC32C", "traits": { - "smithy.api#documentation": "

The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded\n with the object. For more information, see \n Checking object integrity in the Amazon S3 User Guide.

" + "smithy.api#documentation": "

The Base64 encoded, 32-bit CRC-32C checksum of the object. This will only be present if the object was uploaded\n with the object. For more information, see \n Checking object integrity in the Amazon S3 User Guide.

" + } + }, + "ChecksumCRC64NVME": { + "target": "com.amazonaws.s3#ChecksumCRC64NVME", + "traits": { + "smithy.api#documentation": "

The Base64 encoded, 64-bit CRC-64NVME checksum of the object. This checksum is present\n if the object being copied was uploaded with the CRC-64NVME checksum algorithm, or if the object was uploaded without a\n checksum (and Amazon S3 added the default checksum, CRC-64NVME, to the uploaded object). For more information, see Checking object integrity in the Amazon S3 User Guide.

" } }, "ChecksumSHA1": { "target": "com.amazonaws.s3#ChecksumSHA1", "traits": { - "smithy.api#documentation": "

The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded\n with the object. For more information, see \n Checking object integrity in the Amazon S3 User Guide.

" + "smithy.api#documentation": "

The Base64 encoded, 160-bit SHA-1 digest of the object. This will only be present if the object was uploaded\n with the object. For more information, see \n Checking object integrity in the Amazon S3 User Guide.

" } }, "ChecksumSHA256": { "target": "com.amazonaws.s3#ChecksumSHA256", "traits": { - "smithy.api#documentation": "

The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded\n with the object. For more information, see \n Checking object integrity in the Amazon S3 User Guide.

" + "smithy.api#documentation": "

The Base64 encoded, 256-bit SHA-256 digest of the object. This will only be present if the object was uploaded\n with the object. For more information, see \n Checking object integrity in the Amazon S3 User Guide.

" } } }, @@ -20175,25 +20264,31 @@ "ChecksumCRC32": { "target": "com.amazonaws.s3#ChecksumCRC32", "traits": { - "smithy.api#documentation": "

The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

" + "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the Base64 encoded, 32-bit CRC-32 checksum of the part. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.

" } }, "ChecksumCRC32C": { "target": "com.amazonaws.s3#ChecksumCRC32C", "traits": { - "smithy.api#documentation": "

The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

" + "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the Base64 encoded, 32-bit CRC-32C checksum of the part. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.

" + } + }, + "ChecksumCRC64NVME": { + "target": "com.amazonaws.s3#ChecksumCRC64NVME", + "traits": { + "smithy.api#documentation": "

The Base64 encoded, 64-bit CRC-64NVME checksum of the part. This checksum is present\n if the multipart upload request was created with the CRC-64NVME checksum algorithm to the uploaded object). For more information, see Checking object integrity in the Amazon S3 User Guide.

" } }, "ChecksumSHA1": { "target": "com.amazonaws.s3#ChecksumSHA1", "traits": { - "smithy.api#documentation": "

The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded\n with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

" + "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the Base64 encoded, 160-bit SHA-1 checksum of the part. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.

" } }, "ChecksumSHA256": { "target": "com.amazonaws.s3#ChecksumSHA256", "traits": { - "smithy.api#documentation": "

The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

" + "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the Base64 encoded, 256-bit SHA-256 checksum of the part. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.

" } } }, @@ -20254,7 +20349,7 @@ } ], "traits": { - "smithy.api#documentation": "\n

This action creates an Amazon S3 bucket. To create an Amazon S3 on Outposts bucket, see \n CreateBucket\n .

\n
\n

Creates a new S3 bucket. To create a bucket, you must set up Amazon S3 and have a valid Amazon Web Services\n Access Key ID to authenticate requests. Anonymous requests are never allowed to create\n buckets. By creating the bucket, you become the bucket owner.

\n

There are two types of buckets: general purpose buckets and directory buckets. For more\n information about these bucket types, see Creating, configuring, and\n working with Amazon S3 buckets in the Amazon S3 User Guide.

\n \n
    \n
  • \n

    \n General purpose buckets - If you send your\n CreateBucket request to the s3.amazonaws.com global\n endpoint, the request goes to the us-east-1 Region. So the signature\n calculations in Signature Version 4 must use us-east-1 as the Region,\n even if the location constraint in the request specifies another Region where the\n bucket is to be created. If you create a bucket in a Region other than US East (N.\n Virginia), your application must be able to handle 307 redirect. For more\n information, see Virtual hosting of\n buckets in the Amazon S3 User Guide.

    \n
  • \n
  • \n

    \n Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name\n . Virtual-hosted-style requests aren't supported. \nFor more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the\n Amazon S3 User Guide.

    \n
  • \n
\n
\n
\n
Permissions
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - In\n addition to the s3:CreateBucket permission, the following\n permissions are required in a policy when your CreateBucket\n request includes specific headers:

    \n
      \n
    • \n

      \n Access control lists (ACLs)\n - In your CreateBucket request, if you specify an\n access control list (ACL) and set it to public-read,\n public-read-write, authenticated-read, or\n if you explicitly specify any other custom ACLs, both\n s3:CreateBucket and s3:PutBucketAcl\n permissions are required. In your CreateBucket request,\n if you set the ACL to private, or if you don't specify\n any ACLs, only the s3:CreateBucket permission is\n required.

      \n
    • \n
    • \n

      \n Object Lock - In your\n CreateBucket request, if you set\n x-amz-bucket-object-lock-enabled to true, the\n s3:PutBucketObjectLockConfiguration and\n s3:PutBucketVersioning permissions are\n required.

      \n
    • \n
    • \n

      \n S3 Object Ownership - If\n your CreateBucket request includes the\n x-amz-object-ownership header, then the\n s3:PutBucketOwnershipControls permission is\n required.

      \n \n

      To set an ACL on a bucket as part of a\n CreateBucket request, you must explicitly set S3\n Object Ownership for the bucket to a different value than the\n default, BucketOwnerEnforced. Additionally, if your\n desired bucket ACL grants public access, you must first create the\n bucket (without the bucket ACL) and then explicitly disable Block\n Public Access on the bucket before using PutBucketAcl\n to set the ACL. If you try to create a bucket with a public ACL,\n the request will fail.

      \n

      For the majority of modern use cases in S3, we recommend that\n you keep all Block Public Access settings enabled and keep ACLs\n disabled. If you would like to share data with users outside of\n your account, you can use bucket policies as needed. For more\n information, see Controlling ownership of objects and disabling ACLs for your\n bucket and Blocking public access to your Amazon S3 storage in\n the Amazon S3 User Guide.

      \n
      \n
    • \n
    • \n

      \n S3 Block Public Access - If\n your specific use case requires granting public access to your S3\n resources, you can disable Block Public Access. Specifically, you can\n create a new bucket with Block Public Access enabled, then separately\n call the \n DeletePublicAccessBlock\n API. To use this operation, you must have the\n s3:PutBucketPublicAccessBlock permission. For more\n information about S3 Block Public Access, see Blocking public access to your Amazon S3 storage in the\n Amazon S3 User Guide.

      \n
    • \n
    \n
  • \n
  • \n

    \n Directory bucket permissions -\n You must have the s3express:CreateBucket permission in\n an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource.\n For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.

    \n \n

    The permissions for ACLs, Object Lock, S3 Object Ownership, and S3\n Block Public Access are not supported for directory buckets. For\n directory buckets, all Block Public Access settings are enabled at the\n bucket level and S3 Object Ownership is set to Bucket owner enforced\n (ACLs disabled). These settings can't be modified.

    \n

    For more information about permissions for creating and working with\n directory buckets, see Directory buckets in the\n Amazon S3 User Guide. For more information about\n supported S3 features for directory buckets, see Features of S3 Express One Zone in the\n Amazon S3 User Guide.

    \n
    \n
  • \n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is s3express-control.region-code.amazonaws.com.

\n
\n
\n

The following operations are related to CreateBucket:

\n ", + "smithy.api#documentation": "\n

This action creates an Amazon S3 bucket. To create an Amazon S3 on Outposts bucket, see \n CreateBucket\n .

\n
\n

Creates a new S3 bucket. To create a bucket, you must set up Amazon S3 and have a valid Amazon Web Services\n Access Key ID to authenticate requests. Anonymous requests are never allowed to create\n buckets. By creating the bucket, you become the bucket owner.

\n

There are two types of buckets: general purpose buckets and directory buckets. For more\n information about these bucket types, see Creating, configuring, and\n working with Amazon S3 buckets in the Amazon S3 User Guide.

\n \n
    \n
  • \n

    \n General purpose buckets - If you send your\n CreateBucket request to the s3.amazonaws.com global\n endpoint, the request goes to the us-east-1 Region. So the signature\n calculations in Signature Version 4 must use us-east-1 as the Region,\n even if the location constraint in the request specifies another Region where the\n bucket is to be created. If you create a bucket in a Region other than US East (N.\n Virginia), your application must be able to handle 307 redirect. For more\n information, see Virtual hosting of\n buckets in the Amazon S3 User Guide.

    \n
  • \n
  • \n

    \n Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name\n . Virtual-hosted-style requests aren't supported. \nFor more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Available Local Zone for directory buckets in the\n Amazon S3 User Guide.

    \n
  • \n
\n
\n
\n
Permissions
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - In\n addition to the s3:CreateBucket permission, the following\n permissions are required in a policy when your CreateBucket\n request includes specific headers:

    \n
      \n
    • \n

      \n Access control lists (ACLs)\n - In your CreateBucket request, if you specify an\n access control list (ACL) and set it to public-read,\n public-read-write, authenticated-read, or\n if you explicitly specify any other custom ACLs, both\n s3:CreateBucket and s3:PutBucketAcl\n permissions are required. In your CreateBucket request,\n if you set the ACL to private, or if you don't specify\n any ACLs, only the s3:CreateBucket permission is\n required.

      \n
    • \n
    • \n

      \n Object Lock - In your\n CreateBucket request, if you set\n x-amz-bucket-object-lock-enabled to true, the\n s3:PutBucketObjectLockConfiguration and\n s3:PutBucketVersioning permissions are\n required.

      \n
    • \n
    • \n

      \n S3 Object Ownership - If\n your CreateBucket request includes the\n x-amz-object-ownership header, then the\n s3:PutBucketOwnershipControls permission is\n required.

      \n \n

      To set an ACL on a bucket as part of a\n CreateBucket request, you must explicitly set S3\n Object Ownership for the bucket to a different value than the\n default, BucketOwnerEnforced. Additionally, if your\n desired bucket ACL grants public access, you must first create the\n bucket (without the bucket ACL) and then explicitly disable Block\n Public Access on the bucket before using PutBucketAcl\n to set the ACL. If you try to create a bucket with a public ACL,\n the request will fail.

      \n

      For the majority of modern use cases in S3, we recommend that\n you keep all Block Public Access settings enabled and keep ACLs\n disabled. If you would like to share data with users outside of\n your account, you can use bucket policies as needed. For more\n information, see Controlling ownership of objects and disabling ACLs for your\n bucket and Blocking public access to your Amazon S3 storage in\n the Amazon S3 User Guide.

      \n
      \n
    • \n
    • \n

      \n S3 Block Public Access - If\n your specific use case requires granting public access to your S3\n resources, you can disable Block Public Access. Specifically, you can\n create a new bucket with Block Public Access enabled, then separately\n call the \n DeletePublicAccessBlock\n API. To use this operation, you must have the\n s3:PutBucketPublicAccessBlock permission. For more\n information about S3 Block Public Access, see Blocking public access to your Amazon S3 storage in the\n Amazon S3 User Guide.

      \n
    • \n
    \n
  • \n
  • \n

    \n Directory bucket permissions -\n You must have the s3express:CreateBucket permission in\n an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource.\n For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.

    \n \n

    The permissions for ACLs, Object Lock, S3 Object Ownership, and S3\n Block Public Access are not supported for directory buckets. For\n directory buckets, all Block Public Access settings are enabled at the\n bucket level and S3 Object Ownership is set to Bucket owner enforced\n (ACLs disabled). These settings can't be modified.

    \n

    For more information about permissions for creating and working with\n directory buckets, see Directory buckets in the\n Amazon S3 User Guide. For more information about\n supported S3 features for directory buckets, see Features of S3 Express One Zone in the\n Amazon S3 User Guide.

    \n
    \n
  • \n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is s3express-control.region-code.amazonaws.com.

\n
\n
\n

The following operations are related to CreateBucket:

\n ", "smithy.api#examples": [ { "title": "To create a bucket in a specific region", @@ -20301,13 +20396,13 @@ "LocationConstraint": { "target": "com.amazonaws.s3#BucketLocationConstraint", "traits": { - "smithy.api#documentation": "

Specifies the Region where the bucket will be created. You might choose a Region to\n optimize latency, minimize costs, or address regulatory requirements. For example, if you\n reside in Europe, you will probably find it advantageous to create buckets in the Europe\n (Ireland) Region.

\n

If you don't specify a Region, the bucket is created in the US East (N. Virginia) Region\n (us-east-1) by default.

\n

For a list of the valid values for all of the Amazon Web Services Regions, see Regions and\n Endpoints.

\n \n

This functionality is not supported for directory buckets.

\n
" + "smithy.api#documentation": "

Specifies the Region where the bucket will be created. You might choose a Region to\n optimize latency, minimize costs, or address regulatory requirements. For example, if you\n reside in Europe, you will probably find it advantageous to create buckets in the Europe\n (Ireland) Region. For more information, see Accessing a\n bucket in the Amazon S3 User Guide.

\n

If you don't specify a Region, the bucket is created in the US East (N. Virginia) Region\n (us-east-1) by default.

\n \n

This functionality is not supported for directory buckets.

\n
" } }, "Location": { "target": "com.amazonaws.s3#LocationInfo", "traits": { - "smithy.api#documentation": "

Specifies the location where the bucket will be created.

\n

\n Directory buckets - The location type is Availability Zone or Local Zone. \n To use the Local Zone location type, your account must be enabled for Dedicated Local Zones. Otherwise, you get an HTTP 403 Forbidden error with the \n error code AccessDenied. To learn more, see Enable accounts for Dedicated Local Zones in the Amazon S3 User Guide.\n

\n \n

This functionality is only supported by directory buckets.

\n
" + "smithy.api#documentation": "

Specifies the location where the bucket will be created.

\n

\n Directory buckets - The location type is Availability Zone or Local Zone. \n When the location type is Local Zone, your Local Zone must be in opt-in status. Otherwise, you get an HTTP 400 Bad Request error with the \n error code Access denied. To learn more about opt-in Local Zones, see Opt-in Dedicated Local Zonesin the Amazon S3 User Guide.\n

\n \n

This functionality is only supported by directory buckets.

\n
" } }, "Bucket": { @@ -20502,7 +20597,7 @@ "target": "com.amazonaws.s3#CreateMultipartUploadOutput" }, "traits": { - "smithy.api#documentation": "

This action initiates a multipart upload and returns an upload ID. This upload ID is\n used to associate all of the parts in the specific multipart upload. You specify this\n upload ID in each of your subsequent upload part requests (see UploadPart). You also include this\n upload ID in the final request to either complete or abort the multipart upload request.\n For more information about multipart uploads, see Multipart Upload Overview in the\n Amazon S3 User Guide.

\n \n

After you initiate a multipart upload and upload one or more parts, to stop being\n charged for storing the uploaded parts, you must either complete or abort the multipart\n upload. Amazon S3 frees up the space used to store the parts and stops charging you for\n storing them only after you either complete or abort a multipart upload.

\n
\n

If you have configured a lifecycle rule to abort incomplete multipart uploads, the\n created multipart upload must be completed within the number of days specified in the\n bucket lifecycle configuration. Otherwise, the incomplete multipart upload becomes eligible\n for an abort action and Amazon S3 aborts the multipart upload. For more information, see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle\n Configuration.

\n \n
    \n
  • \n

    \n Directory buckets -\n S3 Lifecycle is not supported by directory buckets.

    \n
  • \n
  • \n

    \n Directory buckets -\n For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name\n . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the\n Amazon S3 User Guide.

    \n
  • \n
\n
\n
\n
Request signing
\n
\n

For request signing, multipart upload is just a series of regular requests. You\n initiate a multipart upload, send one or more requests to upload parts, and then\n complete the multipart upload process. You sign each request individually. There\n is nothing special about signing multipart upload requests. For more information\n about signing, see Authenticating\n Requests (Amazon Web Services Signature Version 4) in the\n Amazon S3 User Guide.

\n
\n
Permissions
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - To\n perform a multipart upload with encryption using an Key Management Service (KMS)\n KMS key, the requester must have permission to the\n kms:Decrypt and kms:GenerateDataKey actions on\n the key. The requester must also have permissions for the\n kms:GenerateDataKey action for the\n CreateMultipartUpload API. Then, the requester needs\n permissions for the kms:Decrypt action on the\n UploadPart and UploadPartCopy APIs. These\n permissions are required because Amazon S3 must decrypt and read data from the\n encrypted file parts before it completes the multipart upload. For more\n information, see Multipart upload API and permissions and Protecting data\n using server-side encryption with Amazon Web Services KMS in the\n Amazon S3 User Guide.

    \n
  • \n
  • \n

    \n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession\n .

    \n
  • \n
\n
\n
Encryption
\n
\n
    \n
  • \n

    \n General purpose buckets - Server-side\n encryption is for data encryption at rest. Amazon S3 encrypts your data as it\n writes it to disks in its data centers and decrypts it when you access it.\n Amazon S3 automatically encrypts all new objects that are uploaded to an S3\n bucket. When doing a multipart upload, if you don't specify encryption\n information in your request, the encryption setting of the uploaded parts is\n set to the default encryption configuration of the destination bucket. By\n default, all buckets have a base level of encryption configuration that uses\n server-side encryption with Amazon S3 managed keys (SSE-S3). If the destination\n bucket has a default encryption configuration that uses server-side\n encryption with an Key Management Service (KMS) key (SSE-KMS), or a customer-provided\n encryption key (SSE-C), Amazon S3 uses the corresponding KMS key, or a\n customer-provided key to encrypt the uploaded parts. When you perform a\n CreateMultipartUpload operation, if you want to use a different type of\n encryption setting for the uploaded parts, you can request that Amazon S3\n encrypts the object with a different encryption key (such as an Amazon S3 managed\n key, a KMS key, or a customer-provided key). When the encryption setting\n in your request is different from the default encryption configuration of\n the destination bucket, the encryption setting in your request takes\n precedence. If you choose to provide your own encryption key, the request\n headers you provide in UploadPart and\n UploadPartCopy\n requests must match the headers you used in the\n CreateMultipartUpload request.

    \n
      \n
    • \n

      Use KMS keys (SSE-KMS) that include the Amazon Web Services managed key\n (aws/s3) and KMS customer managed keys stored in Key Management Service\n (KMS) – If you want Amazon Web Services to manage the keys used to encrypt data,\n specify the following headers in the request.

      \n
        \n
      • \n

        \n x-amz-server-side-encryption\n

        \n
      • \n
      • \n

        \n x-amz-server-side-encryption-aws-kms-key-id\n

        \n
      • \n
      • \n

        \n x-amz-server-side-encryption-context\n

        \n
      • \n
      \n \n
        \n
      • \n

        If you specify\n x-amz-server-side-encryption:aws:kms, but\n don't provide\n x-amz-server-side-encryption-aws-kms-key-id,\n Amazon S3 uses the Amazon Web Services managed key (aws/s3 key) in\n KMS to protect the data.

        \n
      • \n
      • \n

        To perform a multipart upload with encryption by using an\n Amazon Web Services KMS key, the requester must have permission to the\n kms:Decrypt and\n kms:GenerateDataKey* actions on the key.\n These permissions are required because Amazon S3 must decrypt and\n read data from the encrypted file parts before it completes\n the multipart upload. For more information, see Multipart upload API and permissions and Protecting data using server-side encryption with Amazon Web Services\n KMS in the\n Amazon S3 User Guide.

        \n
      • \n
      • \n

        If your Identity and Access Management (IAM) user or role is in the same\n Amazon Web Services account as the KMS key, then you must have these\n permissions on the key policy. If your IAM user or role is\n in a different account from the key, then you must have the\n permissions on both the key policy and your IAM user or\n role.

        \n
      • \n
      • \n

        All GET and PUT requests for an\n object protected by KMS fail if you don't make them by\n using Secure Sockets Layer (SSL), Transport Layer Security\n (TLS), or Signature Version 4. For information about\n configuring any of the officially supported Amazon Web Services SDKs and\n Amazon Web Services CLI, see Specifying the Signature Version in\n Request Authentication in the\n Amazon S3 User Guide.

        \n
      • \n
      \n
      \n

      For more information about server-side encryption with KMS keys\n (SSE-KMS), see Protecting\n Data Using Server-Side Encryption with KMS keys in the\n Amazon S3 User Guide.

      \n
    • \n
    • \n

      Use customer-provided encryption keys (SSE-C) – If you want to\n manage your own encryption keys, provide all the following headers in\n the request.

      \n
        \n
      • \n

        \n x-amz-server-side-encryption-customer-algorithm\n

        \n
      • \n
      • \n

        \n x-amz-server-side-encryption-customer-key\n

        \n
      • \n
      • \n

        \n x-amz-server-side-encryption-customer-key-MD5\n

        \n
      • \n
      \n

      For more information about server-side encryption with\n customer-provided encryption keys (SSE-C), see Protecting data using server-side encryption with\n customer-provided encryption keys (SSE-C) in the\n Amazon S3 User Guide.

      \n
    • \n
    \n
  • \n
  • \n

    \n Directory buckets -\n For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256) and server-side encryption with KMS keys (SSE-KMS) (aws:kms). We recommend that the bucket's default encryption uses the desired encryption configuration and you don't override the bucket default encryption in your \n CreateSession requests or PUT object requests. Then, new objects \n are automatically encrypted with the desired encryption settings. For more\n information, see Protecting data with server-side encryption in the Amazon S3 User Guide. For more information about the encryption overriding behaviors in directory buckets, see Specifying server-side encryption with KMS for new object uploads.

    \n

    In the Zonal endpoint API calls (except CopyObject and UploadPartCopy) using the REST API, the encryption request headers must match the encryption settings that are specified in the CreateSession request. \n You can't override the values of the encryption settings (x-amz-server-side-encryption, x-amz-server-side-encryption-aws-kms-key-id, x-amz-server-side-encryption-context, and x-amz-server-side-encryption-bucket-key-enabled) that are specified in the CreateSession request. \n You don't need to explicitly specify these encryption settings values in Zonal endpoint API calls, and \n Amazon S3 will use the encryption settings values from the CreateSession request to protect new objects in the directory bucket. \n

    \n \n

    When you use the CLI or the Amazon Web Services SDKs, for CreateSession, the session token refreshes automatically to avoid service interruptions when a session expires. The CLI or the Amazon Web Services SDKs use the bucket's default encryption configuration for the \n CreateSession request. It's not supported to override the encryption settings values in the CreateSession request. \n So in the Zonal endpoint API calls (except CopyObject and UploadPartCopy), \n the encryption request headers must match the default encryption configuration of the directory bucket.\n\n

    \n
    \n \n

    For directory buckets, when you perform a\n CreateMultipartUpload operation and an\n UploadPartCopy operation, the request headers you provide\n in the CreateMultipartUpload request must match the default\n encryption configuration of the destination bucket.

    \n
    \n
  • \n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is \n Bucket-name.s3express-zone-id.region-code.amazonaws.com.

\n
\n
\n

The following operations are related to CreateMultipartUpload:

\n ", + "smithy.api#documentation": "

This action initiates a multipart upload and returns an upload ID. This upload ID is\n used to associate all of the parts in the specific multipart upload. You specify this\n upload ID in each of your subsequent upload part requests (see UploadPart). You also include this\n upload ID in the final request to either complete or abort the multipart upload request.\n For more information about multipart uploads, see Multipart Upload Overview in the\n Amazon S3 User Guide.

\n \n

After you initiate a multipart upload and upload one or more parts, to stop being\n charged for storing the uploaded parts, you must either complete or abort the multipart\n upload. Amazon S3 frees up the space used to store the parts and stops charging you for\n storing them only after you either complete or abort a multipart upload.

\n
\n

If you have configured a lifecycle rule to abort incomplete multipart uploads, the\n created multipart upload must be completed within the number of days specified in the\n bucket lifecycle configuration. Otherwise, the incomplete multipart upload becomes eligible\n for an abort action and Amazon S3 aborts the multipart upload. For more information, see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle\n Configuration.

\n \n
    \n
  • \n

    \n Directory buckets -\n S3 Lifecycle is not supported by directory buckets.

    \n
  • \n
  • \n

    \n Directory buckets -\n For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name\n . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Available Local Zone for directory buckets in the\n Amazon S3 User Guide.

    \n
  • \n
\n
\n
\n
Request signing
\n
\n

For request signing, multipart upload is just a series of regular requests. You\n initiate a multipart upload, send one or more requests to upload parts, and then\n complete the multipart upload process. You sign each request individually. There\n is nothing special about signing multipart upload requests. For more information\n about signing, see Authenticating\n Requests (Amazon Web Services Signature Version 4) in the\n Amazon S3 User Guide.

\n
\n
Permissions
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - To\n perform a multipart upload with encryption using an Key Management Service (KMS)\n KMS key, the requester must have permission to the\n kms:Decrypt and kms:GenerateDataKey actions on\n the key. The requester must also have permissions for the\n kms:GenerateDataKey action for the\n CreateMultipartUpload API. Then, the requester needs\n permissions for the kms:Decrypt action on the\n UploadPart and UploadPartCopy APIs. These\n permissions are required because Amazon S3 must decrypt and read data from the\n encrypted file parts before it completes the multipart upload. For more\n information, see Multipart upload API and permissions and Protecting data\n using server-side encryption with Amazon Web Services KMS in the\n Amazon S3 User Guide.

    \n
  • \n
  • \n

    \n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession\n .

    \n
  • \n
\n
\n
Encryption
\n
\n
    \n
  • \n

    \n General purpose buckets - Server-side\n encryption is for data encryption at rest. Amazon S3 encrypts your data as it\n writes it to disks in its data centers and decrypts it when you access it.\n Amazon S3 automatically encrypts all new objects that are uploaded to an S3\n bucket. When doing a multipart upload, if you don't specify encryption\n information in your request, the encryption setting of the uploaded parts is\n set to the default encryption configuration of the destination bucket. By\n default, all buckets have a base level of encryption configuration that uses\n server-side encryption with Amazon S3 managed keys (SSE-S3). If the destination\n bucket has a default encryption configuration that uses server-side\n encryption with an Key Management Service (KMS) key (SSE-KMS), or a customer-provided\n encryption key (SSE-C), Amazon S3 uses the corresponding KMS key, or a\n customer-provided key to encrypt the uploaded parts. When you perform a\n CreateMultipartUpload operation, if you want to use a different type of\n encryption setting for the uploaded parts, you can request that Amazon S3\n encrypts the object with a different encryption key (such as an Amazon S3 managed\n key, a KMS key, or a customer-provided key). When the encryption setting\n in your request is different from the default encryption configuration of\n the destination bucket, the encryption setting in your request takes\n precedence. If you choose to provide your own encryption key, the request\n headers you provide in UploadPart and\n UploadPartCopy\n requests must match the headers you used in the\n CreateMultipartUpload request.

    \n
      \n
    • \n

      Use KMS keys (SSE-KMS) that include the Amazon Web Services managed key\n (aws/s3) and KMS customer managed keys stored in Key Management Service\n (KMS) – If you want Amazon Web Services to manage the keys used to encrypt data,\n specify the following headers in the request.

      \n
        \n
      • \n

        \n x-amz-server-side-encryption\n

        \n
      • \n
      • \n

        \n x-amz-server-side-encryption-aws-kms-key-id\n

        \n
      • \n
      • \n

        \n x-amz-server-side-encryption-context\n

        \n
      • \n
      \n \n
        \n
      • \n

        If you specify\n x-amz-server-side-encryption:aws:kms, but\n don't provide\n x-amz-server-side-encryption-aws-kms-key-id,\n Amazon S3 uses the Amazon Web Services managed key (aws/s3 key) in\n KMS to protect the data.

        \n
      • \n
      • \n

        To perform a multipart upload with encryption by using an\n Amazon Web Services KMS key, the requester must have permission to the\n kms:Decrypt and\n kms:GenerateDataKey* actions on the key.\n These permissions are required because Amazon S3 must decrypt and\n read data from the encrypted file parts before it completes\n the multipart upload. For more information, see Multipart upload API and permissions and Protecting data using server-side encryption with Amazon Web Services\n KMS in the\n Amazon S3 User Guide.

        \n
      • \n
      • \n

        If your Identity and Access Management (IAM) user or role is in the same\n Amazon Web Services account as the KMS key, then you must have these\n permissions on the key policy. If your IAM user or role is\n in a different account from the key, then you must have the\n permissions on both the key policy and your IAM user or\n role.

        \n
      • \n
      • \n

        All GET and PUT requests for an\n object protected by KMS fail if you don't make them by\n using Secure Sockets Layer (SSL), Transport Layer Security\n (TLS), or Signature Version 4. For information about\n configuring any of the officially supported Amazon Web Services SDKs and\n Amazon Web Services CLI, see Specifying the Signature Version in\n Request Authentication in the\n Amazon S3 User Guide.

        \n
      • \n
      \n
      \n

      For more information about server-side encryption with KMS keys\n (SSE-KMS), see Protecting\n Data Using Server-Side Encryption with KMS keys in the\n Amazon S3 User Guide.

      \n
    • \n
    • \n

      Use customer-provided encryption keys (SSE-C) – If you want to\n manage your own encryption keys, provide all the following headers in\n the request.

      \n
        \n
      • \n

        \n x-amz-server-side-encryption-customer-algorithm\n

        \n
      • \n
      • \n

        \n x-amz-server-side-encryption-customer-key\n

        \n
      • \n
      • \n

        \n x-amz-server-side-encryption-customer-key-MD5\n

        \n
      • \n
      \n

      For more information about server-side encryption with\n customer-provided encryption keys (SSE-C), see Protecting data using server-side encryption with\n customer-provided encryption keys (SSE-C) in the\n Amazon S3 User Guide.

      \n
    • \n
    \n
  • \n
  • \n

    \n Directory buckets -\n For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256) and server-side encryption with KMS keys (SSE-KMS) (aws:kms). We recommend that the bucket's default encryption uses the desired encryption configuration and you don't override the bucket default encryption in your \n CreateSession requests or PUT object requests. Then, new objects \n are automatically encrypted with the desired encryption settings. For more\n information, see Protecting data with server-side encryption in the Amazon S3 User Guide. For more information about the encryption overriding behaviors in directory buckets, see Specifying server-side encryption with KMS for new object uploads.

    \n

    In the Zonal endpoint API calls (except CopyObject and UploadPartCopy) using the REST API, the encryption request headers must match the encryption settings that are specified in the CreateSession request. \n You can't override the values of the encryption settings (x-amz-server-side-encryption, x-amz-server-side-encryption-aws-kms-key-id, x-amz-server-side-encryption-context, and x-amz-server-side-encryption-bucket-key-enabled) that are specified in the CreateSession request. \n You don't need to explicitly specify these encryption settings values in Zonal endpoint API calls, and \n Amazon S3 will use the encryption settings values from the CreateSession request to protect new objects in the directory bucket. \n

    \n \n

    When you use the CLI or the Amazon Web Services SDKs, for CreateSession, the session token refreshes automatically to avoid service interruptions when a session expires. The CLI or the Amazon Web Services SDKs use the bucket's default encryption configuration for the \n CreateSession request. It's not supported to override the encryption settings values in the CreateSession request. \n So in the Zonal endpoint API calls (except CopyObject and UploadPartCopy), \n the encryption request headers must match the default encryption configuration of the directory bucket.\n\n

    \n
    \n \n

    For directory buckets, when you perform a\n CreateMultipartUpload operation and an\n UploadPartCopy operation, the request headers you provide\n in the CreateMultipartUpload request must match the default\n encryption configuration of the destination bucket.

    \n
    \n
  • \n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is \n Bucket-name.s3express-zone-id.region-code.amazonaws.com.

\n
\n
\n

The following operations are related to CreateMultipartUpload:

\n ", "smithy.api#examples": [ { "title": "To initiate a multipart upload", @@ -20592,7 +20687,7 @@ "SSEKMSEncryptionContext": { "target": "com.amazonaws.s3#SSEKMSEncryptionContext", "traits": { - "smithy.api#documentation": "

If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The value of\n this header is a Base64-encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs.

", + "smithy.api#documentation": "

If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The value of\n this header is a Base64 encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs.

", "smithy.api#httpHeader": "x-amz-server-side-encryption-context" } }, @@ -20615,6 +20710,13 @@ "smithy.api#documentation": "

The algorithm that was used to create a checksum of the object.

", "smithy.api#httpHeader": "x-amz-checksum-algorithm" } + }, + "ChecksumType": { + "target": "com.amazonaws.s3#ChecksumType", + "traits": { + "smithy.api#documentation": "

Indicates the checksum type that you want Amazon S3 to use to calculate the object’s\n checksum value. For more information, see Checking object integrity\n in the Amazon S3 User Guide.

", + "smithy.api#httpHeader": "x-amz-checksum-type" + } } }, "traits": { @@ -20783,7 +20885,7 @@ "SSEKMSEncryptionContext": { "target": "com.amazonaws.s3#SSEKMSEncryptionContext", "traits": { - "smithy.api#documentation": "

Specifies the Amazon Web Services KMS Encryption Context to use for object encryption. The value of\n this header is a Base64-encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs.

\n

\n Directory buckets - You can optionally provide an explicit encryption context value. The value must match the default encryption context - the bucket Amazon Resource Name (ARN). An additional encryption context value is not supported.

", + "smithy.api#documentation": "

Specifies the Amazon Web Services KMS Encryption Context to use for object encryption. The value of\n this header is a Base64 encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs.

\n

\n Directory buckets - You can optionally provide an explicit encryption context value. The value must match the default encryption context - the bucket Amazon Resource Name (ARN). An additional encryption context value is not supported.

", "smithy.api#httpHeader": "x-amz-server-side-encryption-context" } }, @@ -20841,6 +20943,13 @@ "smithy.api#documentation": "

Indicates the algorithm that you want Amazon S3 to use to create the checksum for the object. For more information, see\n Checking object integrity in\n the Amazon S3 User Guide.

", "smithy.api#httpHeader": "x-amz-checksum-algorithm" } + }, + "ChecksumType": { + "target": "com.amazonaws.s3#ChecksumType", + "traits": { + "smithy.api#documentation": "

Indicates the checksum type that you want Amazon S3 to use to calculate the object’s\n checksum value. For more information, see Checking object integrity\n in the Amazon S3 User Guide.

", + "smithy.api#httpHeader": "x-amz-checksum-type" + } } }, "traits": { @@ -20861,7 +20970,7 @@ } ], "traits": { - "smithy.api#documentation": "

Creates a session that establishes temporary security credentials to support fast\n authentication and authorization for the Zonal endpoint API operations on directory buckets. For more\n information about Zonal endpoint API operations that include the Availability Zone in the request endpoint, see S3 Express One Zone\n APIs in the Amazon S3 User Guide.

\n

To make Zonal endpoint API requests on a directory bucket, use the CreateSession\n API operation. Specifically, you grant s3express:CreateSession permission to a\n bucket in a bucket policy or an IAM identity-based policy. Then, you use IAM credentials to make the\n CreateSession API request on the bucket, which returns temporary security\n credentials that include the access key ID, secret access key, session token, and\n expiration. These credentials have associated permissions to access the Zonal endpoint API operations. After\n the session is created, you don’t need to use other policies to grant permissions to each\n Zonal endpoint API individually. Instead, in your Zonal endpoint API requests, you sign your requests by\n applying the temporary security credentials of the session to the request headers and\n following the SigV4 protocol for authentication. You also apply the session token to the\n x-amz-s3session-token request header for authorization. Temporary security\n credentials are scoped to the bucket and expire after 5 minutes. After the expiration time,\n any calls that you make with those credentials will fail. You must use IAM credentials\n again to make a CreateSession API request that generates a new set of\n temporary credentials for use. Temporary credentials cannot be extended or refreshed beyond\n the original specified interval.

\n

If you use Amazon Web Services SDKs, SDKs handle the session token refreshes automatically to avoid\n service interruptions when a session expires. We recommend that you use the Amazon Web Services SDKs to\n initiate and manage requests to the CreateSession API. For more information, see Performance guidelines and design patterns in the\n Amazon S3 User Guide.

\n \n
    \n
  • \n

    You must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com. Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the\n Amazon S3 User Guide.

    \n
  • \n
  • \n

    \n \n CopyObject API operation -\n Unlike other Zonal endpoint API operations, the CopyObject API operation doesn't use\n the temporary security credentials returned from the CreateSession\n API operation for authentication and authorization. For information about\n authentication and authorization of the CopyObject API operation on\n directory buckets, see CopyObject.

    \n
  • \n
  • \n

    \n \n HeadBucket API operation -\n Unlike other Zonal endpoint API operations, the HeadBucket API operation doesn't use\n the temporary security credentials returned from the CreateSession\n API operation for authentication and authorization. For information about\n authentication and authorization of the HeadBucket API operation on\n directory buckets, see HeadBucket.

    \n
  • \n
\n
\n
\n
Permissions
\n
\n

To obtain temporary security credentials, you must create\n a bucket policy or an IAM identity-based policy that grants s3express:CreateSession\n permission to the bucket. In a policy, you can have the\n s3express:SessionMode condition key to control who can create a\n ReadWrite or ReadOnly session. For more information\n about ReadWrite or ReadOnly sessions, see \n x-amz-create-session-mode\n . For example policies, see\n Example bucket policies for S3 Express One Zone and Amazon Web Services Identity and Access Management (IAM) identity-based policies for\n S3 Express One Zone in the Amazon S3 User Guide.

\n

To grant cross-account access to Zonal endpoint API operations, the bucket policy should also\n grant both accounts the s3express:CreateSession permission.

\n

If you want to encrypt objects with SSE-KMS, you must also have the\n kms:GenerateDataKey and the kms:Decrypt permissions\n in IAM identity-based policies and KMS key policies for the target KMS\n key.

\n
\n
Encryption
\n
\n

For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256) and server-side encryption with KMS keys (SSE-KMS) (aws:kms). We recommend that the bucket's default encryption uses the desired encryption configuration and you don't override the bucket default encryption in your \n CreateSession requests or PUT object requests. Then, new objects \n are automatically encrypted with the desired encryption settings. For more\n information, see Protecting data with server-side encryption in the Amazon S3 User Guide. For more information about the encryption overriding behaviors in directory buckets, see Specifying server-side encryption with KMS for new object uploads.

\n

For Zonal endpoint (object-level) API operations except CopyObject and UploadPartCopy, \nyou authenticate and authorize requests through CreateSession for low latency. \n To encrypt new objects in a directory bucket with SSE-KMS, you must specify SSE-KMS as the directory bucket's default encryption configuration with a KMS key (specifically, a customer managed key). Then, when a session is created for Zonal endpoint API operations, new objects are automatically encrypted and decrypted with SSE-KMS and S3 Bucket Keys during the session.

\n \n

\n Only 1 customer managed key is supported per directory bucket for the lifetime of the bucket. The Amazon Web Services managed key (aws/s3) isn't supported. \n After you specify SSE-KMS as your bucket's default encryption configuration with a customer managed key, you can't change the customer managed key for the bucket's SSE-KMS configuration.\n

\n
\n

In the Zonal endpoint API calls (except CopyObject and UploadPartCopy) using the REST API, \n you can't override the values of the encryption settings (x-amz-server-side-encryption, x-amz-server-side-encryption-aws-kms-key-id, x-amz-server-side-encryption-context, and x-amz-server-side-encryption-bucket-key-enabled) from the CreateSession request. \n You don't need to explicitly specify these encryption settings values in Zonal endpoint API calls, and \n Amazon S3 will use the encryption settings values from the CreateSession request to protect new objects in the directory bucket. \n

\n \n

When you use the CLI or the Amazon Web Services SDKs, for CreateSession, the session token refreshes automatically to avoid service interruptions when a session expires. The CLI or the Amazon Web Services SDKs use the bucket's default encryption configuration for the \n CreateSession request. It's not supported to override the encryption settings values in the CreateSession request. \n Also, in the Zonal endpoint API calls (except CopyObject and UploadPartCopy), \n it's not supported to override the values of the encryption settings from the CreateSession request. \n\n

\n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is \n Bucket-name.s3express-zone-id.region-code.amazonaws.com.

\n
\n
", + "smithy.api#documentation": "

Creates a session that establishes temporary security credentials to support fast\n authentication and authorization for the Zonal endpoint API operations on directory buckets. For more\n information about Zonal endpoint API operations that include the Availability Zone in the request endpoint, see S3 Express One Zone\n APIs in the Amazon S3 User Guide.

\n

To make Zonal endpoint API requests on a directory bucket, use the CreateSession\n API operation. Specifically, you grant s3express:CreateSession permission to a\n bucket in a bucket policy or an IAM identity-based policy. Then, you use IAM credentials to make the\n CreateSession API request on the bucket, which returns temporary security\n credentials that include the access key ID, secret access key, session token, and\n expiration. These credentials have associated permissions to access the Zonal endpoint API operations. After\n the session is created, you don’t need to use other policies to grant permissions to each\n Zonal endpoint API individually. Instead, in your Zonal endpoint API requests, you sign your requests by\n applying the temporary security credentials of the session to the request headers and\n following the SigV4 protocol for authentication. You also apply the session token to the\n x-amz-s3session-token request header for authorization. Temporary security\n credentials are scoped to the bucket and expire after 5 minutes. After the expiration time,\n any calls that you make with those credentials will fail. You must use IAM credentials\n again to make a CreateSession API request that generates a new set of\n temporary credentials for use. Temporary credentials cannot be extended or refreshed beyond\n the original specified interval.

\n

If you use Amazon Web Services SDKs, SDKs handle the session token refreshes automatically to avoid\n service interruptions when a session expires. We recommend that you use the Amazon Web Services SDKs to\n initiate and manage requests to the CreateSession API. For more information, see Performance guidelines and design patterns in the\n Amazon S3 User Guide.

\n \n
    \n
  • \n

    You must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com. Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Available Local Zone for directory buckets in the\n Amazon S3 User Guide.

    \n
  • \n
  • \n

    \n \n CopyObject API operation -\n Unlike other Zonal endpoint API operations, the CopyObject API operation doesn't use\n the temporary security credentials returned from the CreateSession\n API operation for authentication and authorization. For information about\n authentication and authorization of the CopyObject API operation on\n directory buckets, see CopyObject.

    \n
  • \n
  • \n

    \n \n HeadBucket API operation -\n Unlike other Zonal endpoint API operations, the HeadBucket API operation doesn't use\n the temporary security credentials returned from the CreateSession\n API operation for authentication and authorization. For information about\n authentication and authorization of the HeadBucket API operation on\n directory buckets, see HeadBucket.

    \n
  • \n
\n
\n
\n
Permissions
\n
\n

To obtain temporary security credentials, you must create\n a bucket policy or an IAM identity-based policy that grants s3express:CreateSession\n permission to the bucket. In a policy, you can have the\n s3express:SessionMode condition key to control who can create a\n ReadWrite or ReadOnly session. For more information\n about ReadWrite or ReadOnly sessions, see \n x-amz-create-session-mode\n . For example policies, see\n Example bucket policies for S3 Express One Zone and Amazon Web Services Identity and Access Management (IAM) identity-based policies for\n S3 Express One Zone in the Amazon S3 User Guide.

\n

To grant cross-account access to Zonal endpoint API operations, the bucket policy should also\n grant both accounts the s3express:CreateSession permission.

\n

If you want to encrypt objects with SSE-KMS, you must also have the\n kms:GenerateDataKey and the kms:Decrypt permissions\n in IAM identity-based policies and KMS key policies for the target KMS\n key.

\n
\n
Encryption
\n
\n

For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256) and server-side encryption with KMS keys (SSE-KMS) (aws:kms). We recommend that the bucket's default encryption uses the desired encryption configuration and you don't override the bucket default encryption in your \n CreateSession requests or PUT object requests. Then, new objects \n are automatically encrypted with the desired encryption settings. For more\n information, see Protecting data with server-side encryption in the Amazon S3 User Guide. For more information about the encryption overriding behaviors in directory buckets, see Specifying server-side encryption with KMS for new object uploads.

\n

For Zonal endpoint (object-level) API operations except CopyObject and UploadPartCopy, \nyou authenticate and authorize requests through CreateSession for low latency. \n To encrypt new objects in a directory bucket with SSE-KMS, you must specify SSE-KMS as the directory bucket's default encryption configuration with a KMS key (specifically, a customer managed key). Then, when a session is created for Zonal endpoint API operations, new objects are automatically encrypted and decrypted with SSE-KMS and S3 Bucket Keys during the session.

\n \n

\n Only 1 customer managed key is supported per directory bucket for the lifetime of the bucket. The Amazon Web Services managed key (aws/s3) isn't supported. \n After you specify SSE-KMS as your bucket's default encryption configuration with a customer managed key, you can't change the customer managed key for the bucket's SSE-KMS configuration.\n

\n
\n

In the Zonal endpoint API calls (except CopyObject and UploadPartCopy) using the REST API, \n you can't override the values of the encryption settings (x-amz-server-side-encryption, x-amz-server-side-encryption-aws-kms-key-id, x-amz-server-side-encryption-context, and x-amz-server-side-encryption-bucket-key-enabled) from the CreateSession request. \n You don't need to explicitly specify these encryption settings values in Zonal endpoint API calls, and \n Amazon S3 will use the encryption settings values from the CreateSession request to protect new objects in the directory bucket. \n

\n \n

When you use the CLI or the Amazon Web Services SDKs, for CreateSession, the session token refreshes automatically to avoid service interruptions when a session expires. The CLI or the Amazon Web Services SDKs use the bucket's default encryption configuration for the \n CreateSession request. It's not supported to override the encryption settings values in the CreateSession request. \n Also, in the Zonal endpoint API calls (except CopyObject and UploadPartCopy), \n it's not supported to override the values of the encryption settings from the CreateSession request. \n\n

\n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is \n Bucket-name.s3express-zone-id.region-code.amazonaws.com.

\n
\n
", "smithy.api#http": { "method": "GET", "uri": "/{Bucket}?session", @@ -20894,7 +21003,7 @@ "SSEKMSEncryptionContext": { "target": "com.amazonaws.s3#SSEKMSEncryptionContext", "traits": { - "smithy.api#documentation": "

If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The value of\n this header is a Base64-encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs. \n This value is stored as object metadata and automatically gets\n passed on to Amazon Web Services KMS for future GetObject \n operations on this object.

", + "smithy.api#documentation": "

If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The value of\n this header is a Base64 encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs. \n This value is stored as object metadata and automatically gets\n passed on to Amazon Web Services KMS for future GetObject \n operations on this object.

", "smithy.api#httpHeader": "x-amz-server-side-encryption-context" } }, @@ -20957,7 +21066,7 @@ "SSEKMSEncryptionContext": { "target": "com.amazonaws.s3#SSEKMSEncryptionContext", "traits": { - "smithy.api#documentation": "

Specifies the Amazon Web Services KMS Encryption Context as an additional encryption context to use for object encryption. The value of\n this header is a Base64-encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs. \n This value is stored as object metadata and automatically gets passed on\n to Amazon Web Services KMS for future GetObject operations on\n this object.

\n

\n General purpose buckets - This value must be explicitly added during CopyObject operations if you want an additional encryption context for your object. For more information, see Encryption context in the Amazon S3 User Guide.

\n

\n Directory buckets - You can optionally provide an explicit encryption context value. The value must match the default encryption context - the bucket Amazon Resource Name (ARN). An additional encryption context value is not supported.

", + "smithy.api#documentation": "

Specifies the Amazon Web Services KMS Encryption Context as an additional encryption context to use for object encryption. The value of\n this header is a Base64 encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs. \n This value is stored as object metadata and automatically gets passed on\n to Amazon Web Services KMS for future GetObject operations on\n this object.

\n

\n General purpose buckets - This value must be explicitly added during CopyObject operations if you want an additional encryption context for your object. For more information, see Encryption context in the Amazon S3 User Guide.

\n

\n Directory buckets - You can optionally provide an explicit encryption context value. The value must match the default encryption context - the bucket Amazon Resource Name (ARN). An additional encryption context value is not supported.

", "smithy.api#httpHeader": "x-amz-server-side-encryption-context" } }, @@ -21063,7 +21172,7 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "

Deletes the S3 bucket. All objects (including all object versions and delete markers) in\n the bucket must be deleted before the bucket itself can be deleted.

\n \n
    \n
  • \n

    \n Directory buckets - If multipart\n uploads in a directory bucket are in progress, you can't delete the bucket until\n all the in-progress multipart uploads are aborted or completed.

    \n
  • \n
  • \n

    \n Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name\n . Virtual-hosted-style requests aren't supported. \nFor more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the\n Amazon S3 User Guide.

    \n
  • \n
\n
\n
\n
Permissions
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - You\n must have the s3:DeleteBucket permission on the specified\n bucket in a policy.

    \n
  • \n
  • \n

    \n Directory bucket permissions -\n You must have the s3express:DeleteBucket permission in\n an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource.\n For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.

    \n
  • \n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is s3express-control.region-code.amazonaws.com.

\n
\n
\n

The following operations are related to DeleteBucket:

\n ", + "smithy.api#documentation": "

Deletes the S3 bucket. All objects (including all object versions and delete markers) in\n the bucket must be deleted before the bucket itself can be deleted.

\n \n
    \n
  • \n

    \n Directory buckets - If multipart\n uploads in a directory bucket are in progress, you can't delete the bucket until\n all the in-progress multipart uploads are aborted or completed.

    \n
  • \n
  • \n

    \n Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name\n . Virtual-hosted-style requests aren't supported. \nFor more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Available Local Zone for directory buckets in the\n Amazon S3 User Guide.

    \n
  • \n
\n
\n
\n
Permissions
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - You\n must have the s3:DeleteBucket permission on the specified\n bucket in a policy.

    \n
  • \n
  • \n

    \n Directory bucket permissions -\n You must have the s3express:DeleteBucket permission in\n an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource.\n For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.

    \n
  • \n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is s3express-control.region-code.amazonaws.com.

\n
\n
\n

The following operations are related to DeleteBucket:

\n ", "smithy.api#examples": [ { "title": "To delete a bucket", @@ -21360,7 +21469,7 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "

Deletes the lifecycle configuration from the specified bucket. Amazon S3 removes all the\n lifecycle configuration rules in the lifecycle subresource associated with the bucket. Your\n objects never expire, and Amazon S3 no longer automatically deletes any objects on the basis of\n rules contained in the deleted lifecycle configuration.

\n
\n
Permissions
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - By\n default, all Amazon S3 resources are private, including buckets, objects, and\n related subresources (for example, lifecycle configuration and website\n configuration). Only the resource owner (that is, the Amazon Web Services account that\n created it) can access the resource. The resource owner can optionally grant\n access permissions to others by writing an access policy. For this\n operation, a user must have the s3:PutLifecycleConfiguration\n permission.

    \n

    For more information about permissions, see Managing Access\n Permissions to Your Amazon S3 Resources.

    \n
  • \n
\n
    \n
  • \n

    \n Directory bucket permissions -\n You must have the s3express:PutLifecycleConfiguration\n permission in an IAM identity-based policy to use this operation.\n Cross-account access to this API operation isn't supported. The resource\n owner can optionally grant access permissions to others by creating a role\n or user for them as long as they are within the same account as the owner\n and resource.

    \n

    For more information about directory bucket policies and permissions, see\n Authorizing Regional endpoint APIs with IAM in the\n Amazon S3 User Guide.

    \n \n

    \n Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name\n . Virtual-hosted-style requests aren't supported. \nFor more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the\n Amazon S3 User Guide.

    \n
    \n
  • \n
\n
\n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host\n header syntax is\n s3express-control.region.amazonaws.com.

\n
\n
\n

For more information about the object expiration, see Elements to Describe Lifecycle Actions.

\n

Related actions include:

\n ", + "smithy.api#documentation": "

Deletes the lifecycle configuration from the specified bucket. Amazon S3 removes all the\n lifecycle configuration rules in the lifecycle subresource associated with the bucket. Your\n objects never expire, and Amazon S3 no longer automatically deletes any objects on the basis of\n rules contained in the deleted lifecycle configuration.

\n
\n
Permissions
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - By\n default, all Amazon S3 resources are private, including buckets, objects, and\n related subresources (for example, lifecycle configuration and website\n configuration). Only the resource owner (that is, the Amazon Web Services account that\n created it) can access the resource. The resource owner can optionally grant\n access permissions to others by writing an access policy. For this\n operation, a user must have the s3:PutLifecycleConfiguration\n permission.

    \n

    For more information about permissions, see Managing Access\n Permissions to Your Amazon S3 Resources.

    \n
  • \n
\n
    \n
  • \n

    \n Directory bucket permissions -\n You must have the s3express:PutLifecycleConfiguration\n permission in an IAM identity-based policy to use this operation.\n Cross-account access to this API operation isn't supported. The resource\n owner can optionally grant access permissions to others by creating a role\n or user for them as long as they are within the same account as the owner\n and resource.

    \n

    For more information about directory bucket policies and permissions, see\n Authorizing Regional endpoint APIs with IAM in the\n Amazon S3 User Guide.

    \n \n

    \n Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name\n . Virtual-hosted-style requests aren't supported. \nFor more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Available Local Zone for directory buckets in the\n Amazon S3 User Guide.

    \n
    \n
  • \n
\n
\n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host\n header syntax is\n s3express-control.region.amazonaws.com.

\n
\n
\n

For more information about the object expiration, see Elements to Describe Lifecycle Actions.

\n

Related actions include:

\n ", "smithy.api#examples": [ { "title": "To delete lifecycle configuration on a bucket.", @@ -21569,7 +21678,7 @@ "target": "smithy.api#Unit" }, "traits": { - "smithy.api#documentation": "

Deletes the policy of a specified bucket.

\n \n

\n Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name\n . Virtual-hosted-style requests aren't supported. \nFor more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the\n Amazon S3 User Guide.

\n
\n
\n
Permissions
\n
\n

If you are using an identity other than the root user of the Amazon Web Services account that\n owns the bucket, the calling identity must both have the\n DeleteBucketPolicy permissions on the specified bucket and belong\n to the bucket owner's account in order to use this operation.

\n

If you don't have DeleteBucketPolicy permissions, Amazon S3 returns a\n 403 Access Denied error. If you have the correct permissions, but\n you're not using an identity that belongs to the bucket owner's account, Amazon S3\n returns a 405 Method Not Allowed error.

\n \n

To ensure that bucket owners don't inadvertently lock themselves out of\n their own buckets, the root principal in a bucket owner's Amazon Web Services account can\n perform the GetBucketPolicy, PutBucketPolicy, and\n DeleteBucketPolicy API actions, even if their bucket policy\n explicitly denies the root principal's access. Bucket owner root principals can\n only be blocked from performing these API actions by VPC endpoint policies and\n Amazon Web Services Organizations policies.

\n
\n
    \n
  • \n

    \n General purpose bucket permissions - The\n s3:DeleteBucketPolicy permission is required in a policy.\n For more information about general purpose buckets bucket policies, see Using Bucket Policies and User Policies in the\n Amazon S3 User Guide.

    \n
  • \n
  • \n

    \n Directory bucket permissions -\n To grant access to this API operation, you must have the\n s3express:DeleteBucketPolicy permission in\n an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource.\n For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.

    \n
  • \n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is s3express-control.region-code.amazonaws.com.

\n
\n
\n

The following operations are related to DeleteBucketPolicy\n

\n ", + "smithy.api#documentation": "

Deletes the policy of a specified bucket.

\n \n

\n Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name\n . Virtual-hosted-style requests aren't supported. \nFor more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Available Local Zone for directory buckets in the\n Amazon S3 User Guide.

\n
\n
\n
Permissions
\n
\n

If you are using an identity other than the root user of the Amazon Web Services account that\n owns the bucket, the calling identity must both have the\n DeleteBucketPolicy permissions on the specified bucket and belong\n to the bucket owner's account in order to use this operation.

\n

If you don't have DeleteBucketPolicy permissions, Amazon S3 returns a\n 403 Access Denied error. If you have the correct permissions, but\n you're not using an identity that belongs to the bucket owner's account, Amazon S3\n returns a 405 Method Not Allowed error.

\n \n

To ensure that bucket owners don't inadvertently lock themselves out of\n their own buckets, the root principal in a bucket owner's Amazon Web Services account can\n perform the GetBucketPolicy, PutBucketPolicy, and\n DeleteBucketPolicy API actions, even if their bucket policy\n explicitly denies the root principal's access. Bucket owner root principals can\n only be blocked from performing these API actions by VPC endpoint policies and\n Amazon Web Services Organizations policies.

\n
\n
    \n
  • \n

    \n General purpose bucket permissions - The\n s3:DeleteBucketPolicy permission is required in a policy.\n For more information about general purpose buckets bucket policies, see Using Bucket Policies and User Policies in the\n Amazon S3 User Guide.

    \n
  • \n
  • \n

    \n Directory bucket permissions -\n To grant access to this API operation, you must have the\n s3express:DeleteBucketPolicy permission in\n an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource.\n For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.

    \n
  • \n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is s3express-control.region-code.amazonaws.com.

\n
\n
\n

The following operations are related to DeleteBucketPolicy\n

\n ", "smithy.api#examples": [ { "title": "To delete bucket policy", @@ -21904,7 +22013,7 @@ "target": "com.amazonaws.s3#DeleteObjectOutput" }, "traits": { - "smithy.api#documentation": "

Removes an object from a bucket. The behavior depends on the bucket's versioning state:

\n
    \n
  • \n

    If bucket versioning is not enabled, the operation permanently deletes the object.

    \n
  • \n
  • \n

    If bucket versioning is enabled, the operation inserts a delete marker, which becomes the current version of the object. To permanently delete an object in a versioned bucket, you must include the object’s versionId in the request. For more information about versioning-enabled buckets, see Deleting object versions from a versioning-enabled bucket.

    \n
  • \n
  • \n

    If bucket versioning is suspended, the operation removes the object that has a null versionId, if there is one, and inserts a delete marker that becomes the current version of the object. If there isn't an object with a null versionId, and all versions of the object have a versionId, Amazon S3 does not remove the object and only inserts a delete marker. To permanently delete an object that has a versionId, you must include the object’s versionId in the request. For more information about versioning-suspended buckets, see Deleting objects from versioning-suspended buckets.

    \n
  • \n
\n \n
    \n
  • \n

    \n Directory buckets - S3 Versioning isn't enabled and supported for directory buckets. For this API operation, only the null value of the version ID is supported by directory buckets. You can only specify null \n to the versionId query parameter in the request.

    \n
  • \n
  • \n

    \n Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name\n . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the\n Amazon S3 User Guide.

    \n
  • \n
\n
\n

To remove a specific version, you must use the versionId query parameter. Using this\n query parameter permanently deletes the version. If the object deleted is a delete marker, Amazon S3\n sets the response header x-amz-delete-marker to true.

\n

If the object you want to delete is in a bucket where the bucket versioning\n configuration is MFA Delete enabled, you must include the x-amz-mfa request\n header in the DELETE versionId request. Requests that include\n x-amz-mfa must use HTTPS. For more information about MFA Delete, see Using MFA Delete in the Amazon S3\n User Guide. To see sample\n requests that use versioning, see Sample\n Request.

\n \n

\n Directory buckets - MFA delete is not supported by directory buckets.

\n
\n

You can delete objects by explicitly calling DELETE Object or calling \n (PutBucketLifecycle) to enable Amazon S3 to remove them for you. If you want to block\n users or accounts from removing or deleting objects from your bucket, you must deny them\n the s3:DeleteObject, s3:DeleteObjectVersion, and\n s3:PutLifeCycleConfiguration actions.

\n \n

\n Directory buckets - S3 Lifecycle is not supported by directory buckets.

\n
\n
\n
Permissions
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - The following permissions are required in your policies when your \n DeleteObjects request includes specific headers.

    \n
      \n
    • \n

      \n \n s3:DeleteObject\n - To delete an object from a bucket, you must always have the s3:DeleteObject permission.

      \n
    • \n
    • \n

      \n \n s3:DeleteObjectVersion\n - To delete a specific version of an object from a versioning-enabled bucket, you must have the s3:DeleteObjectVersion permission.

      \n
    • \n
    \n
  • \n
  • \n

    \n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession\n .

    \n
  • \n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is \n Bucket-name.s3express-zone-id.region-code.amazonaws.com.

\n
\n
\n

The following action is related to DeleteObject:

\n ", + "smithy.api#documentation": "

Removes an object from a bucket. The behavior depends on the bucket's versioning state:

\n
    \n
  • \n

    If bucket versioning is not enabled, the operation permanently deletes the object.

    \n
  • \n
  • \n

    If bucket versioning is enabled, the operation inserts a delete marker, which becomes the current version of the object. To permanently delete an object in a versioned bucket, you must include the object’s versionId in the request. For more information about versioning-enabled buckets, see Deleting object versions from a versioning-enabled bucket.

    \n
  • \n
  • \n

    If bucket versioning is suspended, the operation removes the object that has a null versionId, if there is one, and inserts a delete marker that becomes the current version of the object. If there isn't an object with a null versionId, and all versions of the object have a versionId, Amazon S3 does not remove the object and only inserts a delete marker. To permanently delete an object that has a versionId, you must include the object’s versionId in the request. For more information about versioning-suspended buckets, see Deleting objects from versioning-suspended buckets.

    \n
  • \n
\n \n
    \n
  • \n

    \n Directory buckets - S3 Versioning isn't enabled and supported for directory buckets. For this API operation, only the null value of the version ID is supported by directory buckets. You can only specify null \n to the versionId query parameter in the request.

    \n
  • \n
  • \n

    \n Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name\n . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Available Local Zone for directory buckets in the\n Amazon S3 User Guide.

    \n
  • \n
\n
\n

To remove a specific version, you must use the versionId query parameter. Using this\n query parameter permanently deletes the version. If the object deleted is a delete marker, Amazon S3\n sets the response header x-amz-delete-marker to true.

\n

If the object you want to delete is in a bucket where the bucket versioning\n configuration is MFA Delete enabled, you must include the x-amz-mfa request\n header in the DELETE versionId request. Requests that include\n x-amz-mfa must use HTTPS. For more information about MFA Delete, see Using MFA Delete in the Amazon S3\n User Guide. To see sample\n requests that use versioning, see Sample\n Request.

\n \n

\n Directory buckets - MFA delete is not supported by directory buckets.

\n
\n

You can delete objects by explicitly calling DELETE Object or calling \n (PutBucketLifecycle) to enable Amazon S3 to remove them for you. If you want to block\n users or accounts from removing or deleting objects from your bucket, you must deny them\n the s3:DeleteObject, s3:DeleteObjectVersion, and\n s3:PutLifeCycleConfiguration actions.

\n \n

\n Directory buckets - S3 Lifecycle is not supported by directory buckets.

\n
\n
\n
Permissions
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - The following permissions are required in your policies when your \n DeleteObjects request includes specific headers.

    \n
      \n
    • \n

      \n \n s3:DeleteObject\n - To delete an object from a bucket, you must always have the s3:DeleteObject permission.

      \n
    • \n
    • \n

      \n \n s3:DeleteObjectVersion\n - To delete a specific version of an object from a versioning-enabled bucket, you must have the s3:DeleteObjectVersion permission.

      \n
    • \n
    \n
  • \n
  • \n

    \n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession\n .

    \n
  • \n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is \n Bucket-name.s3express-zone-id.region-code.amazonaws.com.

\n
\n
\n

The following action is related to DeleteObject:

\n ", "smithy.api#examples": [ { "title": "To delete an object (from a non-versioned bucket)", @@ -22155,7 +22264,7 @@ "requestAlgorithmMember": "ChecksumAlgorithm", "requestChecksumRequired": true }, - "smithy.api#documentation": "

This operation enables you to delete multiple objects from a bucket using a single HTTP\n request. If you know the object keys that you want to delete, then this operation provides\n a suitable alternative to sending individual delete requests, reducing per-request\n overhead.

\n

The request can contain a list of up to 1000 keys that you want to delete. In the XML,\n you provide the object key names, and optionally, version IDs if you want to delete a\n specific version of the object from a versioning-enabled bucket. For each key, Amazon S3\n performs a delete operation and returns the result of that delete, success or failure, in\n the response. Note that if the object specified in the request is not found, Amazon S3 returns\n the result as deleted.

\n \n
    \n
  • \n

    \n Directory buckets -\n S3 Versioning isn't enabled and supported for directory buckets.

    \n
  • \n
  • \n

    \n Directory buckets -\n For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name\n . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the\n Amazon S3 User Guide.

    \n
  • \n
\n
\n

The operation supports two modes for the response: verbose and quiet. By default, the\n operation uses verbose mode in which the response includes the result of deletion of each\n key in your request. In quiet mode the response includes only keys where the delete\n operation encountered an error. For a successful deletion in a quiet mode, the operation\n does not return any information about the delete in the response body.

\n

When performing this action on an MFA Delete enabled bucket, that attempts to delete any\n versioned objects, you must include an MFA token. If you do not provide one, the entire\n request will fail, even if there are non-versioned objects you are trying to delete. If you\n provide an invalid token, whether there are versioned keys in the request or not, the\n entire Multi-Object Delete request will fail. For information about MFA Delete, see MFA\n Delete in the Amazon S3 User Guide.

\n \n

\n Directory buckets -\n MFA delete is not supported by directory buckets.

\n
\n
\n
Permissions
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - The\n following permissions are required in your policies when your\n DeleteObjects request includes specific headers.

    \n
      \n
    • \n

      \n \n s3:DeleteObject\n \n - To delete an object from a bucket, you must always specify\n the s3:DeleteObject permission.

      \n
    • \n
    • \n

      \n \n s3:DeleteObjectVersion\n - To delete a specific version of an object from a\n versioning-enabled bucket, you must specify the\n s3:DeleteObjectVersion permission.

      \n
    • \n
    \n
  • \n
  • \n

    \n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession\n .

    \n
  • \n
\n
\n
Content-MD5 request header
\n
\n
    \n
  • \n

    \n General purpose bucket - The Content-MD5\n request header is required for all Multi-Object Delete requests. Amazon S3 uses\n the header value to ensure that your request body has not been altered in\n transit.

    \n
  • \n
  • \n

    \n Directory bucket - The\n Content-MD5 request header or a additional checksum request header\n (including x-amz-checksum-crc32,\n x-amz-checksum-crc32c, x-amz-checksum-sha1, or\n x-amz-checksum-sha256) is required for all Multi-Object\n Delete requests.

    \n
  • \n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is \n Bucket-name.s3express-zone-id.region-code.amazonaws.com.

\n
\n
\n

The following operations are related to DeleteObjects:

\n ", + "smithy.api#documentation": "

This operation enables you to delete multiple objects from a bucket using a single HTTP\n request. If you know the object keys that you want to delete, then this operation provides\n a suitable alternative to sending individual delete requests, reducing per-request\n overhead.

\n

The request can contain a list of up to 1000 keys that you want to delete. In the XML,\n you provide the object key names, and optionally, version IDs if you want to delete a\n specific version of the object from a versioning-enabled bucket. For each key, Amazon S3\n performs a delete operation and returns the result of that delete, success or failure, in\n the response. Note that if the object specified in the request is not found, Amazon S3 returns\n the result as deleted.

\n \n
    \n
  • \n

    \n Directory buckets -\n S3 Versioning isn't enabled and supported for directory buckets.

    \n
  • \n
  • \n

    \n Directory buckets -\n For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name\n . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Available Local Zone for directory buckets in the\n Amazon S3 User Guide.

    \n
  • \n
\n
\n

The operation supports two modes for the response: verbose and quiet. By default, the\n operation uses verbose mode in which the response includes the result of deletion of each\n key in your request. In quiet mode the response includes only keys where the delete\n operation encountered an error. For a successful deletion in a quiet mode, the operation\n does not return any information about the delete in the response body.

\n

When performing this action on an MFA Delete enabled bucket, that attempts to delete any\n versioned objects, you must include an MFA token. If you do not provide one, the entire\n request will fail, even if there are non-versioned objects you are trying to delete. If you\n provide an invalid token, whether there are versioned keys in the request or not, the\n entire Multi-Object Delete request will fail. For information about MFA Delete, see MFA\n Delete in the Amazon S3 User Guide.

\n \n

\n Directory buckets -\n MFA delete is not supported by directory buckets.

\n
\n
\n
Permissions
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - The\n following permissions are required in your policies when your\n DeleteObjects request includes specific headers.

    \n
      \n
    • \n

      \n \n s3:DeleteObject\n \n - To delete an object from a bucket, you must always specify\n the s3:DeleteObject permission.

      \n
    • \n
    • \n

      \n \n s3:DeleteObjectVersion\n - To delete a specific version of an object from a\n versioning-enabled bucket, you must specify the\n s3:DeleteObjectVersion permission.

      \n
    • \n
    \n
  • \n
  • \n

    \n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession\n .

    \n
  • \n
\n
\n
Content-MD5 request header
\n
\n
    \n
  • \n

    \n General purpose bucket - The Content-MD5\n request header is required for all Multi-Object Delete requests. Amazon S3 uses\n the header value to ensure that your request body has not been altered in\n transit.

    \n
  • \n
  • \n

    \n Directory bucket - The\n Content-MD5 request header or a additional checksum request header\n (including x-amz-checksum-crc32,\n x-amz-checksum-crc32c, x-amz-checksum-sha1, or\n x-amz-checksum-sha256) is required for all Multi-Object\n Delete requests.

    \n
  • \n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is \n Bucket-name.s3express-zone-id.region-code.amazonaws.com.

\n
\n
\n

The following operations are related to DeleteObjects:

\n ", "smithy.api#examples": [ { "title": "To delete multiple object versions from a versioned bucket", @@ -22312,7 +22421,7 @@ "ChecksumAlgorithm": { "target": "com.amazonaws.s3#ChecksumAlgorithm", "traits": { - "smithy.api#documentation": "

Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any\n additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum-algorithm\n or\n x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request.

\n

For the x-amz-checksum-algorithm\n header, replace \n algorithm\n with the supported algorithm from the following list:

\n
    \n
  • \n

    \n CRC32\n

    \n
  • \n
  • \n

    \n CRC32C\n

    \n
  • \n
  • \n

    \n SHA1\n

    \n
  • \n
  • \n

    \n SHA256\n

    \n
  • \n
\n

For more\n information, see Checking object integrity in\n the Amazon S3 User Guide.

\n

If the individual checksum value you provide through x-amz-checksum-algorithm\n doesn't match the checksum algorithm you set through x-amz-sdk-checksum-algorithm, Amazon S3 ignores any provided\n ChecksumAlgorithm parameter and uses the checksum algorithm that matches the provided value in x-amz-checksum-algorithm\n .

\n

If you provide an individual checksum, Amazon S3 ignores any provided\n ChecksumAlgorithm parameter.

", + "smithy.api#documentation": "

Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any\n additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum-algorithm\n or\n x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request.

\n

For the x-amz-checksum-algorithm\n header, replace \n algorithm\n with the supported algorithm from the following list:

\n
    \n
  • \n

    \n CRC-32\n

    \n
  • \n
  • \n

    \n CRC-32C\n

    \n
  • \n
  • \n

    \n CRC-64NVME\n

    \n
  • \n
  • \n

    \n SHA-1\n

    \n
  • \n
  • \n

    \n SHA-256\n

    \n
  • \n
\n

For more\n information, see Checking object integrity in\n the Amazon S3 User Guide.

\n

If the individual checksum value you provide through x-amz-checksum-algorithm\n doesn't match the checksum algorithm you set through x-amz-sdk-checksum-algorithm, Amazon S3 fails the request with a BadDigest error.

\n

If you provide an individual checksum, Amazon S3 ignores any provided\n ChecksumAlgorithm parameter.

", "smithy.api#httpHeader": "x-amz-sdk-checksum-algorithm" } } @@ -23492,7 +23601,7 @@ "target": "com.amazonaws.s3#GetBucketLifecycleConfigurationOutput" }, "traits": { - "smithy.api#documentation": "

Returns the lifecycle configuration information set on the bucket. For information about\n lifecycle configuration, see Object Lifecycle\n Management.

\n

Bucket lifecycle configuration now supports specifying a lifecycle rule using an object\n key name prefix, one or more object tags, object size, or any combination of these.\n Accordingly, this section describes the latest API, which is compatible with the new\n functionality. The previous version of the API supported filtering based only on an object\n key name prefix, which is supported for general purpose buckets for backward compatibility.\n For the related API description, see GetBucketLifecycle.

\n \n

Lifecyle configurations for directory buckets only support expiring objects and\n cancelling multipart uploads. Expiring of versioned objects, transitions and tag filters\n are not supported.

\n
\n
\n
Permissions
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - By\n default, all Amazon S3 resources are private, including buckets, objects, and\n related subresources (for example, lifecycle configuration and website\n configuration). Only the resource owner (that is, the Amazon Web Services account that\n created it) can access the resource. The resource owner can optionally grant\n access permissions to others by writing an access policy. For this\n operation, a user must have the s3:GetLifecycleConfiguration\n permission.

    \n

    For more information about permissions, see Managing Access\n Permissions to Your Amazon S3 Resources.

    \n
  • \n
\n
    \n
  • \n

    \n Directory bucket permissions -\n You must have the s3express:GetLifecycleConfiguration\n permission in an IAM identity-based policy to use this operation.\n Cross-account access to this API operation isn't supported. The resource\n owner can optionally grant access permissions to others by creating a role\n or user for them as long as they are within the same account as the owner\n and resource.

    \n

    For more information about directory bucket policies and permissions, see\n Authorizing Regional endpoint APIs with IAM in the\n Amazon S3 User Guide.

    \n \n

    \n Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name\n . Virtual-hosted-style requests aren't supported. \nFor more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the\n Amazon S3 User Guide.

    \n
    \n
  • \n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host\n header syntax is\n s3express-control.region.amazonaws.com.

\n
\n
\n

\n GetBucketLifecycleConfiguration has the following special error:

\n
    \n
  • \n

    Error code: NoSuchLifecycleConfiguration\n

    \n
      \n
    • \n

      Description: The lifecycle configuration does not exist.

      \n
    • \n
    • \n

      HTTP Status Code: 404 Not Found

      \n
    • \n
    • \n

      SOAP Fault Code Prefix: Client

      \n
    • \n
    \n
  • \n
\n

The following operations are related to\n GetBucketLifecycleConfiguration:

\n ", + "smithy.api#documentation": "

Returns the lifecycle configuration information set on the bucket. For information about\n lifecycle configuration, see Object Lifecycle\n Management.

\n

Bucket lifecycle configuration now supports specifying a lifecycle rule using an object\n key name prefix, one or more object tags, object size, or any combination of these.\n Accordingly, this section describes the latest API, which is compatible with the new\n functionality. The previous version of the API supported filtering based only on an object\n key name prefix, which is supported for general purpose buckets for backward compatibility.\n For the related API description, see GetBucketLifecycle.

\n \n

Lifecyle configurations for directory buckets only support expiring objects and\n cancelling multipart uploads. Expiring of versioned objects, transitions and tag filters\n are not supported.

\n
\n
\n
Permissions
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - By\n default, all Amazon S3 resources are private, including buckets, objects, and\n related subresources (for example, lifecycle configuration and website\n configuration). Only the resource owner (that is, the Amazon Web Services account that\n created it) can access the resource. The resource owner can optionally grant\n access permissions to others by writing an access policy. For this\n operation, a user must have the s3:GetLifecycleConfiguration\n permission.

    \n

    For more information about permissions, see Managing Access\n Permissions to Your Amazon S3 Resources.

    \n
  • \n
\n
    \n
  • \n

    \n Directory bucket permissions -\n You must have the s3express:GetLifecycleConfiguration\n permission in an IAM identity-based policy to use this operation.\n Cross-account access to this API operation isn't supported. The resource\n owner can optionally grant access permissions to others by creating a role\n or user for them as long as they are within the same account as the owner\n and resource.

    \n

    For more information about directory bucket policies and permissions, see\n Authorizing Regional endpoint APIs with IAM in the\n Amazon S3 User Guide.

    \n \n

    \n Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name\n . Virtual-hosted-style requests aren't supported. \nFor more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Available Local Zone for directory buckets in the\n Amazon S3 User Guide.

    \n
    \n
  • \n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host\n header syntax is\n s3express-control.region.amazonaws.com.

\n
\n
\n

\n GetBucketLifecycleConfiguration has the following special error:

\n
    \n
  • \n

    Error code: NoSuchLifecycleConfiguration\n

    \n
      \n
    • \n

      Description: The lifecycle configuration does not exist.

      \n
    • \n
    • \n

      HTTP Status Code: 404 Not Found

      \n
    • \n
    • \n

      SOAP Fault Code Prefix: Client

      \n
    • \n
    \n
  • \n
\n

The following operations are related to\n GetBucketLifecycleConfiguration:

\n ", "smithy.api#examples": [ { "title": "To get lifecycle configuration on a bucket", @@ -23543,7 +23652,7 @@ "TransitionDefaultMinimumObjectSize": { "target": "com.amazonaws.s3#TransitionDefaultMinimumObjectSize", "traits": { - "smithy.api#documentation": "

Indicates which default minimum object size behavior is applied to the lifecycle\n configuration.

\n \n

This parameter applies to general purpose buckets only. It is not supported for\n directory bucket lifecycle configurations.

\n
\n
    \n
  • \n

    \n all_storage_classes_128K - Objects smaller than 128 KB will not\n transition to any storage class by default.

    \n
  • \n
  • \n

    \n varies_by_storage_class - Objects smaller than 128 KB will\n transition to Glacier Flexible Retrieval or Glacier Deep Archive storage classes. By\n default, all other storage classes will prevent transitions smaller than 128 KB.\n

    \n
  • \n
\n

To customize the minimum object size for any transition you can add a filter that\n specifies a custom ObjectSizeGreaterThan or ObjectSizeLessThan in\n the body of your transition rule. Custom filters always take precedence over the default\n transition behavior.

", + "smithy.api#documentation": "

Indicates which default minimum object size behavior is applied to the lifecycle\n configuration.

\n \n

This parameter applies to general purpose buckets only. It isn't supported for\n directory bucket lifecycle configurations.

\n
\n
    \n
  • \n

    \n all_storage_classes_128K - Objects smaller than 128 KB will not transition to any storage class by default.

    \n
  • \n
  • \n

    \n varies_by_storage_class - Objects smaller than 128 KB will\n transition to Glacier Flexible Retrieval or Glacier Deep Archive storage classes. By\n default, all other storage classes will prevent transitions smaller than 128 KB.\n

    \n
  • \n
\n

To customize the minimum object size for any transition you can add a filter that\n specifies a custom ObjectSizeGreaterThan or ObjectSizeLessThan in\n the body of your transition rule. Custom filters always take precedence over the default\n transition behavior.

", "smithy.api#httpHeader": "x-amz-transition-default-minimum-object-size" } } @@ -23997,7 +24106,7 @@ "target": "com.amazonaws.s3#GetBucketPolicyOutput" }, "traits": { - "smithy.api#documentation": "

Returns the policy of a specified bucket.

\n \n

\n Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name\n . Virtual-hosted-style requests aren't supported. \nFor more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the\n Amazon S3 User Guide.

\n
\n
\n
Permissions
\n
\n

If you are using an identity other than the root user of the Amazon Web Services account that\n owns the bucket, the calling identity must both have the\n GetBucketPolicy permissions on the specified bucket and belong to\n the bucket owner's account in order to use this operation.

\n

If you don't have GetBucketPolicy permissions, Amazon S3 returns a\n 403 Access Denied error. If you have the correct permissions, but\n you're not using an identity that belongs to the bucket owner's account, Amazon S3\n returns a 405 Method Not Allowed error.

\n \n

To ensure that bucket owners don't inadvertently lock themselves out of\n their own buckets, the root principal in a bucket owner's Amazon Web Services account can\n perform the GetBucketPolicy, PutBucketPolicy, and\n DeleteBucketPolicy API actions, even if their bucket policy\n explicitly denies the root principal's access. Bucket owner root principals can\n only be blocked from performing these API actions by VPC endpoint policies and\n Amazon Web Services Organizations policies.

\n
\n
    \n
  • \n

    \n General purpose bucket permissions - The\n s3:GetBucketPolicy permission is required in a policy. For\n more information about general purpose buckets bucket policies, see Using Bucket Policies and User Policies in the\n Amazon S3 User Guide.

    \n
  • \n
  • \n

    \n Directory bucket permissions -\n To grant access to this API operation, you must have the\n s3express:GetBucketPolicy permission in\n an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource.\n For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.

    \n
  • \n
\n
\n
Example bucket policies
\n
\n

\n General purpose buckets example bucket policies\n - See Bucket policy\n examples in the Amazon S3 User Guide.

\n

\n Directory bucket example bucket policies\n - See Example bucket policies for S3 Express One Zone in the\n Amazon S3 User Guide.

\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is s3express-control.region-code.amazonaws.com.

\n
\n
\n

The following action is related to GetBucketPolicy:

\n ", + "smithy.api#documentation": "

Returns the policy of a specified bucket.

\n \n

\n Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name\n . Virtual-hosted-style requests aren't supported. \nFor more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Available Local Zone for directory buckets in the\n Amazon S3 User Guide.

\n
\n
\n
Permissions
\n
\n

If you are using an identity other than the root user of the Amazon Web Services account that\n owns the bucket, the calling identity must both have the\n GetBucketPolicy permissions on the specified bucket and belong to\n the bucket owner's account in order to use this operation.

\n

If you don't have GetBucketPolicy permissions, Amazon S3 returns a\n 403 Access Denied error. If you have the correct permissions, but\n you're not using an identity that belongs to the bucket owner's account, Amazon S3\n returns a 405 Method Not Allowed error.

\n \n

To ensure that bucket owners don't inadvertently lock themselves out of\n their own buckets, the root principal in a bucket owner's Amazon Web Services account can\n perform the GetBucketPolicy, PutBucketPolicy, and\n DeleteBucketPolicy API actions, even if their bucket policy\n explicitly denies the root principal's access. Bucket owner root principals can\n only be blocked from performing these API actions by VPC endpoint policies and\n Amazon Web Services Organizations policies.

\n
\n
    \n
  • \n

    \n General purpose bucket permissions - The\n s3:GetBucketPolicy permission is required in a policy. For\n more information about general purpose buckets bucket policies, see Using Bucket Policies and User Policies in the\n Amazon S3 User Guide.

    \n
  • \n
  • \n

    \n Directory bucket permissions -\n To grant access to this API operation, you must have the\n s3express:GetBucketPolicy permission in\n an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource.\n For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.

    \n
  • \n
\n
\n
Example bucket policies
\n
\n

\n General purpose buckets example bucket policies\n - See Bucket policy\n examples in the Amazon S3 User Guide.

\n

\n Directory bucket example bucket policies\n - See Example bucket policies for S3 Express One Zone in the\n Amazon S3 User Guide.

\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is s3express-control.region-code.amazonaws.com.

\n
\n
\n

The following action is related to GetBucketPolicy:

\n ", "smithy.api#examples": [ { "title": "To get bucket policy", @@ -24573,13 +24682,14 @@ "aws.protocols#httpChecksum": { "requestValidationModeMember": "ChecksumMode", "responseAlgorithms": [ + "CRC64NVME", "CRC32", "CRC32C", "SHA256", "SHA1" ] }, - "smithy.api#documentation": "

Retrieves an object from Amazon S3.

\n

In the GetObject request, specify the full key name for the object.

\n

\n General purpose buckets - Both the virtual-hosted-style\n requests and the path-style requests are supported. For a virtual hosted-style request\n example, if you have the object photos/2006/February/sample.jpg, specify the\n object key name as /photos/2006/February/sample.jpg. For a path-style request\n example, if you have the object photos/2006/February/sample.jpg in the bucket\n named examplebucket, specify the object key name as\n /examplebucket/photos/2006/February/sample.jpg. For more information about\n request types, see HTTP Host\n Header Bucket Specification in the Amazon S3 User Guide.

\n

\n Directory buckets -\n Only virtual-hosted-style requests are supported. For a virtual hosted-style request example, if you have the object photos/2006/February/sample.jpg in the bucket named examplebucket--use1-az5--x-s3, specify the object key name as /photos/2006/February/sample.jpg. Also, when you make requests to this API operation, your requests are sent to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name\n . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the\n Amazon S3 User Guide.

\n
\n
Permissions
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - You\n must have the required permissions in a policy. To use\n GetObject, you must have the READ access to the\n object (or version). If you grant READ access to the anonymous\n user, the GetObject operation returns the object without using\n an authorization header. For more information, see Specifying permissions in a policy in the\n Amazon S3 User Guide.

    \n

    If you include a versionId in your request header, you must\n have the s3:GetObjectVersion permission to access a specific\n version of an object. The s3:GetObject permission is not\n required in this scenario.

    \n

    If you request the current version of an object without a specific\n versionId in the request header, only the\n s3:GetObject permission is required. The\n s3:GetObjectVersion permission is not required in this\n scenario.

    \n

    If the object that you request doesn’t exist, the error that Amazon S3 returns\n depends on whether you also have the s3:ListBucket\n permission.

    \n
      \n
    • \n

      If you have the s3:ListBucket permission on the\n bucket, Amazon S3 returns an HTTP status code 404 Not Found\n error.

      \n
    • \n
    • \n

      If you don’t have the s3:ListBucket permission, Amazon S3\n returns an HTTP status code 403 Access Denied\n error.

      \n
    • \n
    \n
  • \n
  • \n

    \n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession\n .

    \n

    If\n the\n object is encrypted using SSE-KMS, you must also have the\n kms:GenerateDataKey and kms:Decrypt permissions\n in IAM identity-based policies and KMS key policies for the KMS\n key.

    \n
  • \n
\n
\n
Storage classes
\n
\n

If the object you are retrieving is stored in the S3 Glacier Flexible Retrieval\n storage class, the S3 Glacier Deep Archive storage class, the\n S3 Intelligent-Tiering Archive Access tier, or the S3 Intelligent-Tiering Deep Archive Access tier,\n before you can retrieve the object you must first restore a copy using RestoreObject. Otherwise, this operation returns an\n InvalidObjectState error. For information about restoring archived\n objects, see Restoring Archived\n Objects in the Amazon S3 User Guide.

\n

\n Directory buckets -\n For directory buckets, only the S3 Express One Zone storage class is supported to store newly created objects. \nUnsupported storage class values won't write a destination object and will respond with the HTTP status code 400 Bad Request.

\n
\n
Encryption
\n
\n

Encryption request headers, like x-amz-server-side-encryption,\n should not be sent for the GetObject requests, if your object uses\n server-side encryption with Amazon S3 managed encryption keys (SSE-S3), server-side\n encryption with Key Management Service (KMS) keys (SSE-KMS), or dual-layer server-side\n encryption with Amazon Web Services KMS keys (DSSE-KMS). If you include the header in your\n GetObject requests for the object that uses these types of keys,\n you’ll get an HTTP 400 Bad Request error.

\n

\n Directory buckets -\n For directory buckets, there are only two supported options for server-side encryption: SSE-S3 and SSE-KMS. SSE-C isn't supported. For more\n information, see Protecting data with server-side encryption in the Amazon S3 User Guide.

\n
\n
Overriding response header values through the request
\n
\n

There are times when you want to override certain response header values of a\n GetObject response. For example, you might override the\n Content-Disposition response header value through your\n GetObject request.

\n

You can override values for a set of response headers. These modified response\n header values are included only in a successful response, that is, when the HTTP\n status code 200 OK is returned. The headers you can override using\n the following query parameters in the request are a subset of the headers that\n Amazon S3 accepts when you create an object.

\n

The response headers that you can override for the GetObject\n response are Cache-Control, Content-Disposition,\n Content-Encoding, Content-Language,\n Content-Type, and Expires.

\n

To override values for a set of response headers in the GetObject\n response, you can use the following query parameters in the request.

\n
    \n
  • \n

    \n response-cache-control\n

    \n
  • \n
  • \n

    \n response-content-disposition\n

    \n
  • \n
  • \n

    \n response-content-encoding\n

    \n
  • \n
  • \n

    \n response-content-language\n

    \n
  • \n
  • \n

    \n response-content-type\n

    \n
  • \n
  • \n

    \n response-expires\n

    \n
  • \n
\n \n

When you use these parameters, you must sign the request by using either an\n Authorization header or a presigned URL. These parameters cannot be used with\n an unsigned (anonymous) request.

\n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is \n Bucket-name.s3express-zone-id.region-code.amazonaws.com.

\n
\n
\n

The following operations are related to GetObject:

\n ", + "smithy.api#documentation": "

Retrieves an object from Amazon S3.

\n

In the GetObject request, specify the full key name for the object.

\n

\n General purpose buckets - Both the virtual-hosted-style\n requests and the path-style requests are supported. For a virtual hosted-style request\n example, if you have the object photos/2006/February/sample.jpg, specify the\n object key name as /photos/2006/February/sample.jpg. For a path-style request\n example, if you have the object photos/2006/February/sample.jpg in the bucket\n named examplebucket, specify the object key name as\n /examplebucket/photos/2006/February/sample.jpg. For more information about\n request types, see HTTP Host\n Header Bucket Specification in the Amazon S3 User Guide.

\n

\n Directory buckets -\n Only virtual-hosted-style requests are supported. For a virtual hosted-style request example, if you have the object photos/2006/February/sample.jpg in the bucket named examplebucket--use1-az5--x-s3, specify the object key name as /photos/2006/February/sample.jpg. Also, when you make requests to this API operation, your requests are sent to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name\n . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Available Local Zone for directory buckets in the\n Amazon S3 User Guide.

\n
\n
Permissions
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - You\n must have the required permissions in a policy. To use\n GetObject, you must have the READ access to the\n object (or version). If you grant READ access to the anonymous\n user, the GetObject operation returns the object without using\n an authorization header. For more information, see Specifying permissions in a policy in the\n Amazon S3 User Guide.

    \n

    If you include a versionId in your request header, you must\n have the s3:GetObjectVersion permission to access a specific\n version of an object. The s3:GetObject permission is not\n required in this scenario.

    \n

    If you request the current version of an object without a specific\n versionId in the request header, only the\n s3:GetObject permission is required. The\n s3:GetObjectVersion permission is not required in this\n scenario.

    \n

    If the object that you request doesn’t exist, the error that Amazon S3 returns\n depends on whether you also have the s3:ListBucket\n permission.

    \n
      \n
    • \n

      If you have the s3:ListBucket permission on the\n bucket, Amazon S3 returns an HTTP status code 404 Not Found\n error.

      \n
    • \n
    • \n

      If you don’t have the s3:ListBucket permission, Amazon S3\n returns an HTTP status code 403 Access Denied\n error.

      \n
    • \n
    \n
  • \n
  • \n

    \n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession\n .

    \n

    If\n the\n object is encrypted using SSE-KMS, you must also have the\n kms:GenerateDataKey and kms:Decrypt permissions\n in IAM identity-based policies and KMS key policies for the KMS\n key.

    \n
  • \n
\n
\n
Storage classes
\n
\n

If the object you are retrieving is stored in the S3 Glacier Flexible Retrieval\n storage class, the S3 Glacier Deep Archive storage class, the\n S3 Intelligent-Tiering Archive Access tier, or the S3 Intelligent-Tiering Deep Archive Access tier,\n before you can retrieve the object you must first restore a copy using RestoreObject. Otherwise, this operation returns an\n InvalidObjectState error. For information about restoring archived\n objects, see Restoring Archived\n Objects in the Amazon S3 User Guide.

\n

\n Directory buckets -\n For directory buckets, only the S3 Express One Zone storage class is supported to store newly created objects. \nUnsupported storage class values won't write a destination object and will respond with the HTTP status code 400 Bad Request.

\n
\n
Encryption
\n
\n

Encryption request headers, like x-amz-server-side-encryption,\n should not be sent for the GetObject requests, if your object uses\n server-side encryption with Amazon S3 managed encryption keys (SSE-S3), server-side\n encryption with Key Management Service (KMS) keys (SSE-KMS), or dual-layer server-side\n encryption with Amazon Web Services KMS keys (DSSE-KMS). If you include the header in your\n GetObject requests for the object that uses these types of keys,\n you’ll get an HTTP 400 Bad Request error.

\n

\n Directory buckets -\n For directory buckets, there are only two supported options for server-side encryption: SSE-S3 and SSE-KMS. SSE-C isn't supported. For more\n information, see Protecting data with server-side encryption in the Amazon S3 User Guide.

\n
\n
Overriding response header values through the request
\n
\n

There are times when you want to override certain response header values of a\n GetObject response. For example, you might override the\n Content-Disposition response header value through your\n GetObject request.

\n

You can override values for a set of response headers. These modified response\n header values are included only in a successful response, that is, when the HTTP\n status code 200 OK is returned. The headers you can override using\n the following query parameters in the request are a subset of the headers that\n Amazon S3 accepts when you create an object.

\n

The response headers that you can override for the GetObject\n response are Cache-Control, Content-Disposition,\n Content-Encoding, Content-Language,\n Content-Type, and Expires.

\n

To override values for a set of response headers in the GetObject\n response, you can use the following query parameters in the request.

\n
    \n
  • \n

    \n response-cache-control\n

    \n
  • \n
  • \n

    \n response-content-disposition\n

    \n
  • \n
  • \n

    \n response-content-encoding\n

    \n
  • \n
  • \n

    \n response-content-language\n

    \n
  • \n
  • \n

    \n response-content-type\n

    \n
  • \n
  • \n

    \n response-expires\n

    \n
  • \n
\n \n

When you use these parameters, you must sign the request by using either an\n Authorization header or a presigned URL. These parameters cannot be used with\n an unsigned (anonymous) request.

\n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is \n Bucket-name.s3express-zone-id.region-code.amazonaws.com.

\n
\n
\n

The following operations are related to GetObject:

\n ", "smithy.api#examples": [ { "title": "To retrieve a byte range of an object ", @@ -24790,7 +24900,7 @@ } ], "traits": { - "smithy.api#documentation": "

Retrieves all the metadata from an object without returning the object itself. This\n operation is useful if you're interested only in an object's metadata.

\n

\n GetObjectAttributes combines the functionality of HeadObject\n and ListParts. All of the data returned with each of those individual calls\n can be returned with a single call to GetObjectAttributes.

\n \n

\n Directory buckets -\n For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name\n . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the\n Amazon S3 User Guide.

\n
\n
\n
Permissions
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - To\n use GetObjectAttributes, you must have READ access to the\n object. The permissions that you need to use this operation depend on\n whether the bucket is versioned. If the bucket is versioned, you need both\n the s3:GetObjectVersion and\n s3:GetObjectVersionAttributes permissions for this\n operation. If the bucket is not versioned, you need the\n s3:GetObject and s3:GetObjectAttributes\n permissions. For more information, see Specifying\n Permissions in a Policy in the\n Amazon S3 User Guide. If the object that you request does\n not exist, the error Amazon S3 returns depends on whether you also have the\n s3:ListBucket permission.

    \n
      \n
    • \n

      If you have the s3:ListBucket permission on the\n bucket, Amazon S3 returns an HTTP status code 404 Not Found\n (\"no such key\") error.

      \n
    • \n
    • \n

      If you don't have the s3:ListBucket permission, Amazon S3\n returns an HTTP status code 403 Forbidden (\"access\n denied\") error.

      \n
    • \n
    \n
  • \n
  • \n

    \n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession\n .

    \n

    If\n the\n object is encrypted with SSE-KMS, you must also have the\n kms:GenerateDataKey and kms:Decrypt permissions\n in IAM identity-based policies and KMS key policies for the KMS\n key.

    \n
  • \n
\n
\n
Encryption
\n
\n \n

Encryption request headers, like x-amz-server-side-encryption,\n should not be sent for HEAD requests if your object uses\n server-side encryption with Key Management Service (KMS) keys (SSE-KMS), dual-layer\n server-side encryption with Amazon Web Services KMS keys (DSSE-KMS), or server-side\n encryption with Amazon S3 managed encryption keys (SSE-S3). The\n x-amz-server-side-encryption header is used when you\n PUT an object to S3 and want to specify the encryption method.\n If you include this header in a GET request for an object that\n uses these types of keys, you’ll get an HTTP 400 Bad Request\n error. It's because the encryption method can't be changed when you retrieve\n the object.

\n
\n

If you encrypt an object by using server-side encryption with customer-provided\n encryption keys (SSE-C) when you store the object in Amazon S3, then when you retrieve\n the metadata from the object, you must use the following headers to provide the\n encryption key for the server to be able to retrieve the object's metadata. The\n headers are:

\n
    \n
  • \n

    \n x-amz-server-side-encryption-customer-algorithm\n

    \n
  • \n
  • \n

    \n x-amz-server-side-encryption-customer-key\n

    \n
  • \n
  • \n

    \n x-amz-server-side-encryption-customer-key-MD5\n

    \n
  • \n
\n

For more information about SSE-C, see Server-Side\n Encryption (Using Customer-Provided Encryption Keys) in the\n Amazon S3 User Guide.

\n \n

\n Directory bucket permissions -\n For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256) and server-side encryption with KMS keys (SSE-KMS) (aws:kms). We recommend that the bucket's default encryption uses the desired encryption configuration and you don't override the bucket default encryption in your \n CreateSession requests or PUT object requests. Then, new objects \n are automatically encrypted with the desired encryption settings. For more\n information, see Protecting data with server-side encryption in the Amazon S3 User Guide. For more information about the encryption overriding behaviors in directory buckets, see Specifying server-side encryption with KMS for new object uploads.

\n
\n
\n
Versioning
\n
\n

\n Directory buckets -\n S3 Versioning isn't enabled and supported for directory buckets. For this API operation, only the null value of the version ID is supported by directory buckets. You can only specify null to the\n versionId query parameter in the request.

\n
\n
Conditional request headers
\n
\n

Consider the following when using request headers:

\n
    \n
  • \n

    If both of the If-Match and If-Unmodified-Since\n headers are present in the request as follows, then Amazon S3 returns the HTTP\n status code 200 OK and the data requested:

    \n
      \n
    • \n

      \n If-Match condition evaluates to\n true.

      \n
    • \n
    • \n

      \n If-Unmodified-Since condition evaluates to\n false.

      \n
    • \n
    \n

    For more information about conditional requests, see RFC 7232.

    \n
  • \n
  • \n

    If both of the If-None-Match and\n If-Modified-Since headers are present in the request as\n follows, then Amazon S3 returns the HTTP status code 304 Not\n Modified:

    \n
      \n
    • \n

      \n If-None-Match condition evaluates to\n false.

      \n
    • \n
    • \n

      \n If-Modified-Since condition evaluates to\n true.

      \n
    • \n
    \n

    For more information about conditional requests, see RFC 7232.

    \n
  • \n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is \n Bucket-name.s3express-zone-id.region-code.amazonaws.com.

\n
\n
\n

The following actions are related to GetObjectAttributes:

\n ", + "smithy.api#documentation": "

Retrieves all the metadata from an object without returning the object itself. This\n operation is useful if you're interested only in an object's metadata.

\n

\n GetObjectAttributes combines the functionality of HeadObject\n and ListParts. All of the data returned with each of those individual calls\n can be returned with a single call to GetObjectAttributes.

\n \n

\n Directory buckets -\n For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name\n . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Available Local Zone for directory buckets in the\n Amazon S3 User Guide.

\n
\n
\n
Permissions
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - To\n use GetObjectAttributes, you must have READ access to the\n object. The permissions that you need to use this operation depend on\n whether the bucket is versioned. If the bucket is versioned, you need both\n the s3:GetObjectVersion and\n s3:GetObjectVersionAttributes permissions for this\n operation. If the bucket is not versioned, you need the\n s3:GetObject and s3:GetObjectAttributes\n permissions. For more information, see Specifying\n Permissions in a Policy in the\n Amazon S3 User Guide. If the object that you request does\n not exist, the error Amazon S3 returns depends on whether you also have the\n s3:ListBucket permission.

    \n
      \n
    • \n

      If you have the s3:ListBucket permission on the\n bucket, Amazon S3 returns an HTTP status code 404 Not Found\n (\"no such key\") error.

      \n
    • \n
    • \n

      If you don't have the s3:ListBucket permission, Amazon S3\n returns an HTTP status code 403 Forbidden (\"access\n denied\") error.

      \n
    • \n
    \n
  • \n
  • \n

    \n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession\n .

    \n

    If\n the\n object is encrypted with SSE-KMS, you must also have the\n kms:GenerateDataKey and kms:Decrypt permissions\n in IAM identity-based policies and KMS key policies for the KMS\n key.

    \n
  • \n
\n
\n
Encryption
\n
\n \n

Encryption request headers, like x-amz-server-side-encryption,\n should not be sent for HEAD requests if your object uses\n server-side encryption with Key Management Service (KMS) keys (SSE-KMS), dual-layer\n server-side encryption with Amazon Web Services KMS keys (DSSE-KMS), or server-side\n encryption with Amazon S3 managed encryption keys (SSE-S3). The\n x-amz-server-side-encryption header is used when you\n PUT an object to S3 and want to specify the encryption method.\n If you include this header in a GET request for an object that\n uses these types of keys, you’ll get an HTTP 400 Bad Request\n error. It's because the encryption method can't be changed when you retrieve\n the object.

\n
\n

If you encrypt an object by using server-side encryption with customer-provided\n encryption keys (SSE-C) when you store the object in Amazon S3, then when you retrieve\n the metadata from the object, you must use the following headers to provide the\n encryption key for the server to be able to retrieve the object's metadata. The\n headers are:

\n
    \n
  • \n

    \n x-amz-server-side-encryption-customer-algorithm\n

    \n
  • \n
  • \n

    \n x-amz-server-side-encryption-customer-key\n

    \n
  • \n
  • \n

    \n x-amz-server-side-encryption-customer-key-MD5\n

    \n
  • \n
\n

For more information about SSE-C, see Server-Side\n Encryption (Using Customer-Provided Encryption Keys) in the\n Amazon S3 User Guide.

\n \n

\n Directory bucket permissions -\n For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256) and server-side encryption with KMS keys (SSE-KMS) (aws:kms). We recommend that the bucket's default encryption uses the desired encryption configuration and you don't override the bucket default encryption in your \n CreateSession requests or PUT object requests. Then, new objects \n are automatically encrypted with the desired encryption settings. For more\n information, see Protecting data with server-side encryption in the Amazon S3 User Guide. For more information about the encryption overriding behaviors in directory buckets, see Specifying server-side encryption with KMS for new object uploads.

\n
\n
\n
Versioning
\n
\n

\n Directory buckets -\n S3 Versioning isn't enabled and supported for directory buckets. For this API operation, only the null value of the version ID is supported by directory buckets. You can only specify null to the\n versionId query parameter in the request.

\n
\n
Conditional request headers
\n
\n

Consider the following when using request headers:

\n
    \n
  • \n

    If both of the If-Match and If-Unmodified-Since\n headers are present in the request as follows, then Amazon S3 returns the HTTP\n status code 200 OK and the data requested:

    \n
      \n
    • \n

      \n If-Match condition evaluates to\n true.

      \n
    • \n
    • \n

      \n If-Unmodified-Since condition evaluates to\n false.

      \n
    • \n
    \n

    For more information about conditional requests, see RFC 7232.

    \n
  • \n
  • \n

    If both of the If-None-Match and\n If-Modified-Since headers are present in the request as\n follows, then Amazon S3 returns the HTTP status code 304 Not\n Modified:

    \n
      \n
    • \n

      \n If-None-Match condition evaluates to\n false.

      \n
    • \n
    • \n

      \n If-Modified-Since condition evaluates to\n true.

      \n
    • \n
    \n

    For more information about conditional requests, see RFC 7232.

    \n
  • \n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is \n Bucket-name.s3express-zone-id.region-code.amazonaws.com.

\n
\n
\n

The following actions are related to GetObjectAttributes:

\n ", "smithy.api#http": { "method": "GET", "uri": "/{Bucket}/{Key+}?attributes", @@ -25202,31 +25312,45 @@ "ChecksumCRC32": { "target": "com.amazonaws.s3#ChecksumCRC32", "traits": { - "smithy.api#documentation": "

The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded\n with the object. For more information, see \n Checking object integrity in the Amazon S3 User Guide.

", + "smithy.api#documentation": "

The Base64 encoded, 32-bit CRC-32 checksum of the object. This checksum is only present if the object was uploaded\n with the object. For more information, see \n Checking object integrity in the Amazon S3 User Guide.

", "smithy.api#httpHeader": "x-amz-checksum-crc32" } }, "ChecksumCRC32C": { "target": "com.amazonaws.s3#ChecksumCRC32C", "traits": { - "smithy.api#documentation": "

The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded\n with the object. For more information, see \n Checking object integrity in the Amazon S3 User Guide.

", + "smithy.api#documentation": "

The Base64 encoded, 32-bit CRC-32C checksum of the object. This will only be present if the object was uploaded\n with the object. For more information, see \n Checking object integrity in the Amazon S3 User Guide.

", "smithy.api#httpHeader": "x-amz-checksum-crc32c" } }, + "ChecksumCRC64NVME": { + "target": "com.amazonaws.s3#ChecksumCRC64NVME", + "traits": { + "smithy.api#documentation": "

The Base64 encoded, 64-bit CRC-64NVME checksum of the object. For more\n information, see Checking object integrity\n in the Amazon S3 User Guide.

", + "smithy.api#httpHeader": "x-amz-checksum-crc64nvme" + } + }, "ChecksumSHA1": { "target": "com.amazonaws.s3#ChecksumSHA1", "traits": { - "smithy.api#documentation": "

The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded\n with the object. For more information, see \n Checking object integrity in the Amazon S3 User Guide.

", + "smithy.api#documentation": "

The Base64 encoded, 160-bit SHA-1 digest of the object. This will only be present if the object was uploaded\n with the object. For more information, see \n Checking object integrity in the Amazon S3 User Guide.

", "smithy.api#httpHeader": "x-amz-checksum-sha1" } }, "ChecksumSHA256": { "target": "com.amazonaws.s3#ChecksumSHA256", "traits": { - "smithy.api#documentation": "

The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded\n with the object. For more information, see \n Checking object integrity in the Amazon S3 User Guide.

", + "smithy.api#documentation": "

The Base64 encoded, 256-bit SHA-256 digest of the object. This will only be present if the object was uploaded\n with the object. For more information, see \n Checking object integrity in the Amazon S3 User Guide.

", "smithy.api#httpHeader": "x-amz-checksum-sha256" } }, + "ChecksumType": { + "target": "com.amazonaws.s3#ChecksumType", + "traits": { + "smithy.api#documentation": "

The checksum type, which determines how part-level checksums are combined to create an\n object-level checksum for multipart objects. You can use this header response to verify\n that the checksum type that is received is the same checksum type that was specified in the\n CreateMultipartUpload request. For more information, see Checking object integrity in the Amazon S3 User Guide.

", + "smithy.api#httpHeader": "x-amz-checksum-type" + } + }, "MissingMeta": { "target": "com.amazonaws.s3#MissingMeta", "traits": { @@ -26043,7 +26167,7 @@ } ], "traits": { - "smithy.api#documentation": "

You can use this operation to determine if a bucket exists and if you have permission to\n access it. The action returns a 200 OK if the bucket exists and you have\n permission to access it.

\n \n

If the bucket does not exist or you do not have permission to access it, the\n HEAD request returns a generic 400 Bad Request, 403\n Forbidden or 404 Not Found code. A message body is not included,\n so you cannot determine the exception beyond these HTTP response codes.

\n
\n
\n
Authentication and authorization
\n
\n

\n General purpose buckets - Request to public\n buckets that grant the s3:ListBucket permission publicly do not need to be signed.\n All other HeadBucket requests must be authenticated and signed by\n using IAM credentials (access key ID and secret access key for the IAM\n identities). All headers with the x-amz- prefix, including\n x-amz-copy-source, must be signed. For more information, see\n REST Authentication.

\n

\n Directory buckets - You must use IAM\n credentials to authenticate and authorize your access to the\n HeadBucket API operation, instead of using the temporary security\n credentials through the CreateSession API operation.

\n

Amazon Web Services CLI or SDKs handles authentication and authorization on your\n behalf.

\n
\n
Permissions
\n
\n

\n \n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is \n Bucket-name.s3express-zone-id.region-code.amazonaws.com.

\n \n

You must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com. Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the\n Amazon S3 User Guide.

\n
\n
\n
", + "smithy.api#documentation": "

You can use this operation to determine if a bucket exists and if you have permission to\n access it. The action returns a 200 OK if the bucket exists and you have\n permission to access it.

\n \n

If the bucket does not exist or you do not have permission to access it, the\n HEAD request returns a generic 400 Bad Request, 403\n Forbidden or 404 Not Found code. A message body is not included,\n so you cannot determine the exception beyond these HTTP response codes.

\n
\n
\n
Authentication and authorization
\n
\n

\n General purpose buckets - Request to public\n buckets that grant the s3:ListBucket permission publicly do not need to be signed.\n All other HeadBucket requests must be authenticated and signed by\n using IAM credentials (access key ID and secret access key for the IAM\n identities). All headers with the x-amz- prefix, including\n x-amz-copy-source, must be signed. For more information, see\n REST Authentication.

\n

\n Directory buckets - You must use IAM\n credentials to authenticate and authorize your access to the\n HeadBucket API operation, instead of using the temporary security\n credentials through the CreateSession API operation.

\n

Amazon Web Services CLI or SDKs handles authentication and authorization on your\n behalf.

\n
\n
Permissions
\n
\n

\n \n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is \n Bucket-name.s3express-zone-id.region-code.amazonaws.com.

\n \n

You must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com. Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Available Local Zone for directory buckets in the\n Amazon S3 User Guide.

\n
\n
\n
", "smithy.api#examples": [ { "title": "To determine if bucket exists", @@ -26166,7 +26290,7 @@ } ], "traits": { - "smithy.api#documentation": "

The HEAD operation retrieves metadata from an object without returning the\n object itself. This operation is useful if you're interested only in an object's\n metadata.

\n \n

A HEAD request has the same options as a GET operation on\n an object. The response is identical to the GET response except that there\n is no response body. Because of this, if the HEAD request generates an\n error, it returns a generic code, such as 400 Bad Request, 403\n Forbidden, 404 Not Found, 405 Method Not Allowed,\n 412 Precondition Failed, or 304 Not Modified. It's not\n possible to retrieve the exact exception of these error codes.

\n
\n

Request headers are limited to 8 KB in size. For more information, see Common\n Request Headers.

\n
\n
Permissions
\n
\n

\n
    \n
  • \n

    \n General purpose bucket permissions - To\n use HEAD, you must have the s3:GetObject\n permission. You need the relevant read object (or version) permission for\n this operation. For more information, see Actions, resources, and\n condition keys for Amazon S3 in the Amazon S3 User\n Guide. For more information about the permissions to S3 API\n operations by S3 resource types, see Required permissions for Amazon S3 API operations in the\n Amazon S3 User Guide.

    \n

    If the object you request doesn't exist, the error that Amazon S3 returns\n depends on whether you also have the s3:ListBucket\n permission.

    \n
      \n
    • \n

      If you have the s3:ListBucket permission on the\n bucket, Amazon S3 returns an HTTP status code 404 Not Found\n error.

      \n
    • \n
    • \n

      If you don’t have the s3:ListBucket permission, Amazon S3\n returns an HTTP status code 403 Forbidden error.

      \n
    • \n
    \n
  • \n
  • \n

    \n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession\n .

    \n

    If you enable x-amz-checksum-mode in the request and the\n object is encrypted with Amazon Web Services Key Management Service (Amazon Web Services KMS), you must\n also have the kms:GenerateDataKey and kms:Decrypt\n permissions in IAM identity-based policies and KMS key policies for the\n KMS key to retrieve the checksum of the object.

    \n
  • \n
\n
\n
Encryption
\n
\n \n

Encryption request headers, like x-amz-server-side-encryption,\n should not be sent for HEAD requests if your object uses\n server-side encryption with Key Management Service (KMS) keys (SSE-KMS), dual-layer\n server-side encryption with Amazon Web Services KMS keys (DSSE-KMS), or server-side\n encryption with Amazon S3 managed encryption keys (SSE-S3). The\n x-amz-server-side-encryption header is used when you\n PUT an object to S3 and want to specify the encryption method.\n If you include this header in a HEAD request for an object that\n uses these types of keys, you’ll get an HTTP 400 Bad Request\n error. It's because the encryption method can't be changed when you retrieve\n the object.

\n
\n

If you encrypt an object by using server-side encryption with customer-provided\n encryption keys (SSE-C) when you store the object in Amazon S3, then when you retrieve\n the metadata from the object, you must use the following headers to provide the\n encryption key for the server to be able to retrieve the object's metadata. The\n headers are:

\n
    \n
  • \n

    \n x-amz-server-side-encryption-customer-algorithm\n

    \n
  • \n
  • \n

    \n x-amz-server-side-encryption-customer-key\n

    \n
  • \n
  • \n

    \n x-amz-server-side-encryption-customer-key-MD5\n

    \n
  • \n
\n

For more information about SSE-C, see Server-Side\n Encryption (Using Customer-Provided Encryption Keys) in the\n Amazon S3 User Guide.

\n \n

\n Directory bucket -\n For directory buckets, there are only two supported options for server-side encryption: SSE-S3 and SSE-KMS. SSE-C isn't supported. For more\n information, see Protecting data with server-side encryption in the Amazon S3 User Guide.

\n
\n
\n
Versioning
\n
\n
    \n
  • \n

    If the current version of the object is a delete marker, Amazon S3 behaves as\n if the object was deleted and includes x-amz-delete-marker:\n true in the response.

    \n
  • \n
  • \n

    If the specified version is a delete marker, the response returns a\n 405 Method Not Allowed error and the Last-Modified:\n timestamp response header.

    \n
  • \n
\n \n
    \n
  • \n

    \n Directory buckets -\n Delete marker is not supported for directory buckets.

    \n
  • \n
  • \n

    \n Directory buckets -\n S3 Versioning isn't enabled and supported for directory buckets. For this API operation, only the null value of the version ID is supported by directory buckets. You can only specify null\n to the versionId query parameter in the request.

    \n
  • \n
\n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is \n Bucket-name.s3express-zone-id.region-code.amazonaws.com.

\n \n

For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name\n . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the\n Amazon S3 User Guide.

\n
\n
\n
\n

The following actions are related to HeadObject:

\n ", + "smithy.api#documentation": "

The HEAD operation retrieves metadata from an object without returning the\n object itself. This operation is useful if you're interested only in an object's\n metadata.

\n \n

A HEAD request has the same options as a GET operation on\n an object. The response is identical to the GET response except that there\n is no response body. Because of this, if the HEAD request generates an\n error, it returns a generic code, such as 400 Bad Request, 403\n Forbidden, 404 Not Found, 405 Method Not Allowed,\n 412 Precondition Failed, or 304 Not Modified. It's not\n possible to retrieve the exact exception of these error codes.

\n
\n

Request headers are limited to 8 KB in size. For more information, see Common\n Request Headers.

\n
\n
Permissions
\n
\n

\n
    \n
  • \n

    \n General purpose bucket permissions - To\n use HEAD, you must have the s3:GetObject\n permission. You need the relevant read object (or version) permission for\n this operation. For more information, see Actions, resources, and\n condition keys for Amazon S3 in the Amazon S3 User\n Guide. For more information about the permissions to S3 API\n operations by S3 resource types, see Required permissions for Amazon S3 API operations in the\n Amazon S3 User Guide.

    \n

    If the object you request doesn't exist, the error that Amazon S3 returns\n depends on whether you also have the s3:ListBucket\n permission.

    \n
      \n
    • \n

      If you have the s3:ListBucket permission on the\n bucket, Amazon S3 returns an HTTP status code 404 Not Found\n error.

      \n
    • \n
    • \n

      If you don’t have the s3:ListBucket permission, Amazon S3\n returns an HTTP status code 403 Forbidden error.

      \n
    • \n
    \n
  • \n
  • \n

    \n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession\n .

    \n

    If you enable x-amz-checksum-mode in the request and the\n object is encrypted with Amazon Web Services Key Management Service (Amazon Web Services KMS), you must\n also have the kms:GenerateDataKey and kms:Decrypt\n permissions in IAM identity-based policies and KMS key policies for the\n KMS key to retrieve the checksum of the object.

    \n
  • \n
\n
\n
Encryption
\n
\n \n

Encryption request headers, like x-amz-server-side-encryption,\n should not be sent for HEAD requests if your object uses\n server-side encryption with Key Management Service (KMS) keys (SSE-KMS), dual-layer\n server-side encryption with Amazon Web Services KMS keys (DSSE-KMS), or server-side\n encryption with Amazon S3 managed encryption keys (SSE-S3). The\n x-amz-server-side-encryption header is used when you\n PUT an object to S3 and want to specify the encryption method.\n If you include this header in a HEAD request for an object that\n uses these types of keys, you’ll get an HTTP 400 Bad Request\n error. It's because the encryption method can't be changed when you retrieve\n the object.

\n
\n

If you encrypt an object by using server-side encryption with customer-provided\n encryption keys (SSE-C) when you store the object in Amazon S3, then when you retrieve\n the metadata from the object, you must use the following headers to provide the\n encryption key for the server to be able to retrieve the object's metadata. The\n headers are:

\n
    \n
  • \n

    \n x-amz-server-side-encryption-customer-algorithm\n

    \n
  • \n
  • \n

    \n x-amz-server-side-encryption-customer-key\n

    \n
  • \n
  • \n

    \n x-amz-server-side-encryption-customer-key-MD5\n

    \n
  • \n
\n

For more information about SSE-C, see Server-Side\n Encryption (Using Customer-Provided Encryption Keys) in the\n Amazon S3 User Guide.

\n \n

\n Directory bucket -\n For directory buckets, there are only two supported options for server-side encryption: SSE-S3 and SSE-KMS. SSE-C isn't supported. For more\n information, see Protecting data with server-side encryption in the Amazon S3 User Guide.

\n
\n
\n
Versioning
\n
\n
    \n
  • \n

    If the current version of the object is a delete marker, Amazon S3 behaves as\n if the object was deleted and includes x-amz-delete-marker:\n true in the response.

    \n
  • \n
  • \n

    If the specified version is a delete marker, the response returns a\n 405 Method Not Allowed error and the Last-Modified:\n timestamp response header.

    \n
  • \n
\n \n
    \n
  • \n

    \n Directory buckets -\n Delete marker is not supported for directory buckets.

    \n
  • \n
  • \n

    \n Directory buckets -\n S3 Versioning isn't enabled and supported for directory buckets. For this API operation, only the null value of the version ID is supported by directory buckets. You can only specify null\n to the versionId query parameter in the request.

    \n
  • \n
\n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is \n Bucket-name.s3express-zone-id.region-code.amazonaws.com.

\n \n

For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name\n . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Available Local Zone for directory buckets in the\n Amazon S3 User Guide.

\n
\n
\n
\n

The following actions are related to HeadObject:

\n ", "smithy.api#examples": [ { "title": "To retrieve metadata of an object without returning the object itself", @@ -26278,31 +26402,45 @@ "ChecksumCRC32": { "target": "com.amazonaws.s3#ChecksumCRC32", "traits": { - "smithy.api#documentation": "

The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

", + "smithy.api#documentation": "

The Base64 encoded, 32-bit CRC-32 checksum of the object. This checksum is only be present if the checksum was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

", "smithy.api#httpHeader": "x-amz-checksum-crc32" } }, "ChecksumCRC32C": { "target": "com.amazonaws.s3#ChecksumCRC32C", "traits": { - "smithy.api#documentation": "

The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

", + "smithy.api#documentation": "

The Base64 encoded, 32-bit CRC-32C checksum of the object. This checksum is only present if the checksum was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

", "smithy.api#httpHeader": "x-amz-checksum-crc32c" } }, + "ChecksumCRC64NVME": { + "target": "com.amazonaws.s3#ChecksumCRC64NVME", + "traits": { + "smithy.api#documentation": "

The Base64 encoded, 64-bit CRC-64NVME checksum of the object. For more\n information, see Checking object integrity\n in the Amazon S3 User Guide.

", + "smithy.api#httpHeader": "x-amz-checksum-crc64nvme" + } + }, "ChecksumSHA1": { "target": "com.amazonaws.s3#ChecksumSHA1", "traits": { - "smithy.api#documentation": "

The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded\n with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

", + "smithy.api#documentation": "

The Base64 encoded, 160-bit SHA-1 digest of the object. This will only be present if the object was uploaded\n with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

", "smithy.api#httpHeader": "x-amz-checksum-sha1" } }, "ChecksumSHA256": { "target": "com.amazonaws.s3#ChecksumSHA256", "traits": { - "smithy.api#documentation": "

The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

", + "smithy.api#documentation": "

The Base64 encoded, 256-bit SHA-256 digest of the object. This will only be present if the object was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

", "smithy.api#httpHeader": "x-amz-checksum-sha256" } }, + "ChecksumType": { + "target": "com.amazonaws.s3#ChecksumType", + "traits": { + "smithy.api#documentation": "

The checksum type, which determines how part-level checksums are combined to create an\n object-level checksum for multipart objects. You can use this header response to verify\n that the checksum type that is received is the same checksum type that was specified in\n CreateMultipartUpload request. For more\n information, see Checking object integrity\n in the Amazon S3 User Guide.

", + "smithy.api#httpHeader": "x-amz-checksum-type" + } + }, "ETag": { "target": "com.amazonaws.s3#ETag", "traits": { @@ -27991,7 +28129,7 @@ "target": "com.amazonaws.s3#ListDirectoryBucketsOutput" }, "traits": { - "smithy.api#documentation": "

Returns a list of all Amazon S3 directory buckets owned by the authenticated sender of the\n request. For more information about directory buckets, see Directory buckets in the Amazon S3 User Guide.

\n \n

\n Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name\n . Virtual-hosted-style requests aren't supported. \nFor more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the\n Amazon S3 User Guide.

\n
\n
\n
Permissions
\n
\n

You must have the s3express:ListAllMyDirectoryBuckets permission\n in an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource.\n For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.

\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host\n header syntax is\n s3express-control.region.amazonaws.com.

\n
\n
\n \n

The BucketRegion response element is not part of the\n ListDirectoryBuckets Response Syntax.

\n
", + "smithy.api#documentation": "

Returns a list of all Amazon S3 directory buckets owned by the authenticated sender of the\n request. For more information about directory buckets, see Directory buckets in the Amazon S3 User Guide.

\n \n

\n Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name\n . Virtual-hosted-style requests aren't supported. \nFor more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Available Local Zone for directory buckets in the\n Amazon S3 User Guide.

\n
\n
\n
Permissions
\n
\n

You must have the s3express:ListAllMyDirectoryBuckets permission\n in an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource.\n For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.

\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host\n header syntax is\n s3express-control.region.amazonaws.com.

\n
\n
\n \n

The BucketRegion response element is not part of the\n ListDirectoryBuckets Response Syntax.

\n
", "smithy.api#http": { "method": "GET", "uri": "/?x-id=ListDirectoryBuckets", @@ -28062,7 +28200,7 @@ "target": "com.amazonaws.s3#ListMultipartUploadsOutput" }, "traits": { - "smithy.api#documentation": "

This operation lists in-progress multipart uploads in a bucket. An in-progress multipart\n upload is a multipart upload that has been initiated by the\n CreateMultipartUpload request, but has not yet been completed or\n aborted.

\n \n

\n Directory buckets - If multipart uploads in\n a directory bucket are in progress, you can't delete the bucket until all the\n in-progress multipart uploads are aborted or completed. To delete these in-progress\n multipart uploads, use the ListMultipartUploads operation to list the\n in-progress multipart uploads in the bucket and use the\n AbortMultipartUpload operation to abort all the in-progress multipart\n uploads.

\n
\n

The ListMultipartUploads operation returns a maximum of 1,000 multipart\n uploads in the response. The limit of 1,000 multipart uploads is also the default value.\n You can further limit the number of uploads in a response by specifying the\n max-uploads request parameter. If there are more than 1,000 multipart\n uploads that satisfy your ListMultipartUploads request, the response returns\n an IsTruncated element with the value of true, a\n NextKeyMarker element, and a NextUploadIdMarker element. To\n list the remaining multipart uploads, you need to make subsequent\n ListMultipartUploads requests. In these requests, include two query\n parameters: key-marker and upload-id-marker. Set the value of\n key-marker to the NextKeyMarker value from the previous\n response. Similarly, set the value of upload-id-marker to the\n NextUploadIdMarker value from the previous response.

\n \n

\n Directory buckets - The\n upload-id-marker element and the NextUploadIdMarker element\n aren't supported by directory buckets. To list the additional multipart uploads, you\n only need to set the value of key-marker to the NextKeyMarker\n value from the previous response.

\n
\n

For more information about multipart uploads, see Uploading Objects Using Multipart\n Upload in the Amazon S3 User Guide.

\n \n

\n Directory buckets -\n For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name\n . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the\n Amazon S3 User Guide.

\n
\n
\n
Permissions
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - For\n information about permissions required to use the multipart upload API, see\n Multipart Upload and\n Permissions in the Amazon S3 User Guide.

    \n
  • \n
  • \n

    \n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession\n .

    \n
  • \n
\n
\n
Sorting of multipart uploads in response
\n
\n
    \n
  • \n

    \n General purpose bucket - In the\n ListMultipartUploads response, the multipart uploads are\n sorted based on two criteria:

    \n
      \n
    • \n

      Key-based sorting - Multipart uploads are initially sorted\n in ascending order based on their object keys.

      \n
    • \n
    • \n

      Time-based sorting - For uploads that share the same object\n key, they are further sorted in ascending order based on the upload\n initiation time. Among uploads with the same key, the one that was\n initiated first will appear before the ones that were initiated\n later.

      \n
    • \n
    \n
  • \n
  • \n

    \n Directory bucket - In the\n ListMultipartUploads response, the multipart uploads aren't\n sorted lexicographically based on the object keys.\n \n

    \n
  • \n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is \n Bucket-name.s3express-zone-id.region-code.amazonaws.com.

\n
\n
\n

The following operations are related to ListMultipartUploads:

\n ", + "smithy.api#documentation": "

This operation lists in-progress multipart uploads in a bucket. An in-progress multipart\n upload is a multipart upload that has been initiated by the\n CreateMultipartUpload request, but has not yet been completed or\n aborted.

\n \n

\n Directory buckets - If multipart uploads in\n a directory bucket are in progress, you can't delete the bucket until all the\n in-progress multipart uploads are aborted or completed. To delete these in-progress\n multipart uploads, use the ListMultipartUploads operation to list the\n in-progress multipart uploads in the bucket and use the\n AbortMultipartUpload operation to abort all the in-progress multipart\n uploads.

\n
\n

The ListMultipartUploads operation returns a maximum of 1,000 multipart\n uploads in the response. The limit of 1,000 multipart uploads is also the default value.\n You can further limit the number of uploads in a response by specifying the\n max-uploads request parameter. If there are more than 1,000 multipart\n uploads that satisfy your ListMultipartUploads request, the response returns\n an IsTruncated element with the value of true, a\n NextKeyMarker element, and a NextUploadIdMarker element. To\n list the remaining multipart uploads, you need to make subsequent\n ListMultipartUploads requests. In these requests, include two query\n parameters: key-marker and upload-id-marker. Set the value of\n key-marker to the NextKeyMarker value from the previous\n response. Similarly, set the value of upload-id-marker to the\n NextUploadIdMarker value from the previous response.

\n \n

\n Directory buckets - The\n upload-id-marker element and the NextUploadIdMarker element\n aren't supported by directory buckets. To list the additional multipart uploads, you\n only need to set the value of key-marker to the NextKeyMarker\n value from the previous response.

\n
\n

For more information about multipart uploads, see Uploading Objects Using Multipart\n Upload in the Amazon S3 User Guide.

\n \n

\n Directory buckets -\n For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name\n . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Available Local Zone for directory buckets in the\n Amazon S3 User Guide.

\n
\n
\n
Permissions
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - For\n information about permissions required to use the multipart upload API, see\n Multipart Upload and\n Permissions in the Amazon S3 User Guide.

    \n
  • \n
  • \n

    \n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession\n .

    \n
  • \n
\n
\n
Sorting of multipart uploads in response
\n
\n
    \n
  • \n

    \n General purpose bucket - In the\n ListMultipartUploads response, the multipart uploads are\n sorted based on two criteria:

    \n
      \n
    • \n

      Key-based sorting - Multipart uploads are initially sorted\n in ascending order based on their object keys.

      \n
    • \n
    • \n

      Time-based sorting - For uploads that share the same object\n key, they are further sorted in ascending order based on the upload\n initiation time. Among uploads with the same key, the one that was\n initiated first will appear before the ones that were initiated\n later.

      \n
    • \n
    \n
  • \n
  • \n

    \n Directory bucket - In the\n ListMultipartUploads response, the multipart uploads aren't\n sorted lexicographically based on the object keys.\n \n

    \n
  • \n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is \n Bucket-name.s3express-zone-id.region-code.amazonaws.com.

\n
\n
\n

The following operations are related to ListMultipartUploads:

\n ", "smithy.api#examples": [ { "title": "List next set of multipart uploads when previous result is truncated", @@ -28791,7 +28929,7 @@ } ], "traits": { - "smithy.api#documentation": "

Returns some or all (up to 1,000) of the objects in a bucket with each request. You can\n use the request parameters as selection criteria to return a subset of the objects in a\n bucket. A 200 OK response can contain valid or invalid XML. Make sure to\n design your application to parse the contents of the response and handle it appropriately.\n For more information about listing objects, see Listing object keys\n programmatically in the Amazon S3 User Guide. To get a list of\n your buckets, see ListBuckets.

\n \n
    \n
  • \n

    \n General purpose bucket - For general purpose buckets,\n ListObjectsV2 doesn't return prefixes that are related only to\n in-progress multipart uploads.

    \n
  • \n
  • \n

    \n Directory buckets - For\n directory buckets, ListObjectsV2 response includes the prefixes that\n are related only to in-progress multipart uploads.

    \n
  • \n
  • \n

    \n Directory buckets -\n For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name\n . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the\n Amazon S3 User Guide.

    \n
  • \n
\n
\n
\n
Permissions
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - To\n use this operation, you must have READ access to the bucket. You must have\n permission to perform the s3:ListBucket action. The bucket\n owner has this permission by default and can grant this permission to\n others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access\n Permissions to Your Amazon S3 Resources in the\n Amazon S3 User Guide.

    \n
  • \n
  • \n

    \n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession\n .

    \n
  • \n
\n
\n
Sorting order of returned objects
\n
\n
    \n
  • \n

    \n General purpose bucket - For\n general purpose buckets, ListObjectsV2 returns objects in\n lexicographical order based on their key names.

    \n
  • \n
  • \n

    \n Directory bucket - For\n directory buckets, ListObjectsV2 does not return objects in\n lexicographical order.

    \n
  • \n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is \n Bucket-name.s3express-zone-id.region-code.amazonaws.com.

\n
\n
\n \n

This section describes the latest revision of this action. We recommend that you use\n this revised API operation for application development. For backward compatibility, Amazon S3\n continues to support the prior version of this API operation, ListObjects.

\n
\n

The following operations are related to ListObjectsV2:

\n ", + "smithy.api#documentation": "

Returns some or all (up to 1,000) of the objects in a bucket with each request. You can\n use the request parameters as selection criteria to return a subset of the objects in a\n bucket. A 200 OK response can contain valid or invalid XML. Make sure to\n design your application to parse the contents of the response and handle it appropriately.\n For more information about listing objects, see Listing object keys\n programmatically in the Amazon S3 User Guide. To get a list of\n your buckets, see ListBuckets.

\n \n
    \n
  • \n

    \n General purpose bucket - For general purpose buckets,\n ListObjectsV2 doesn't return prefixes that are related only to\n in-progress multipart uploads.

    \n
  • \n
  • \n

    \n Directory buckets - For\n directory buckets, ListObjectsV2 response includes the prefixes that\n are related only to in-progress multipart uploads.

    \n
  • \n
  • \n

    \n Directory buckets -\n For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name\n . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Available Local Zone for directory buckets in the\n Amazon S3 User Guide.

    \n
  • \n
\n
\n
\n
Permissions
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - To\n use this operation, you must have READ access to the bucket. You must have\n permission to perform the s3:ListBucket action. The bucket\n owner has this permission by default and can grant this permission to\n others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access\n Permissions to Your Amazon S3 Resources in the\n Amazon S3 User Guide.

    \n
  • \n
  • \n

    \n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession\n .

    \n
  • \n
\n
\n
Sorting order of returned objects
\n
\n
    \n
  • \n

    \n General purpose bucket - For\n general purpose buckets, ListObjectsV2 returns objects in\n lexicographical order based on their key names.

    \n
  • \n
  • \n

    \n Directory bucket - For\n directory buckets, ListObjectsV2 does not return objects in\n lexicographical order.

    \n
  • \n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is \n Bucket-name.s3express-zone-id.region-code.amazonaws.com.

\n
\n
\n \n

This section describes the latest revision of this action. We recommend that you use\n this revised API operation for application development. For backward compatibility, Amazon S3\n continues to support the prior version of this API operation, ListObjects.

\n
\n

The following operations are related to ListObjectsV2:

\n ", "smithy.api#examples": [ { "title": "To get object list", @@ -29028,7 +29166,7 @@ "target": "com.amazonaws.s3#ListPartsOutput" }, "traits": { - "smithy.api#documentation": "

Lists the parts that have been uploaded for a specific multipart upload.

\n

To use this operation, you must provide the upload ID in the request. You\n obtain this uploadID by sending the initiate multipart upload request through CreateMultipartUpload.

\n

The ListParts request returns a maximum of 1,000 uploaded parts. The limit\n of 1,000 parts is also the default value. You can restrict the number of parts in a\n response by specifying the max-parts request parameter. If your multipart\n upload consists of more than 1,000 parts, the response returns an IsTruncated\n field with the value of true, and a NextPartNumberMarker element.\n To list remaining uploaded parts, in subsequent ListParts requests, include\n the part-number-marker query string parameter and set its value to the\n NextPartNumberMarker field value from the previous response.

\n

For more information on multipart uploads, see Uploading Objects Using Multipart\n Upload in the Amazon S3 User Guide.

\n \n

\n Directory buckets -\n For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name\n . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the\n Amazon S3 User Guide.

\n
\n
\n
Permissions
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - For\n information about permissions required to use the multipart upload API, see\n Multipart Upload and\n Permissions in the Amazon S3 User Guide.

    \n

    If the upload was created using server-side encryption with Key Management Service\n (KMS) keys (SSE-KMS) or dual-layer server-side encryption with\n Amazon Web Services KMS keys (DSSE-KMS), you must have permission to the\n kms:Decrypt action for the ListParts request to\n succeed.

    \n
  • \n
  • \n

    \n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession\n .

    \n
  • \n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is \n Bucket-name.s3express-zone-id.region-code.amazonaws.com.

\n
\n
\n

The following operations are related to ListParts:

\n ", + "smithy.api#documentation": "

Lists the parts that have been uploaded for a specific multipart upload.

\n

To use this operation, you must provide the upload ID in the request. You\n obtain this uploadID by sending the initiate multipart upload request through CreateMultipartUpload.

\n

The ListParts request returns a maximum of 1,000 uploaded parts. The limit\n of 1,000 parts is also the default value. You can restrict the number of parts in a\n response by specifying the max-parts request parameter. If your multipart\n upload consists of more than 1,000 parts, the response returns an IsTruncated\n field with the value of true, and a NextPartNumberMarker element.\n To list remaining uploaded parts, in subsequent ListParts requests, include\n the part-number-marker query string parameter and set its value to the\n NextPartNumberMarker field value from the previous response.

\n

For more information on multipart uploads, see Uploading Objects Using Multipart\n Upload in the Amazon S3 User Guide.

\n \n

\n Directory buckets -\n For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name\n . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Available Local Zone for directory buckets in the\n Amazon S3 User Guide.

\n
\n
\n
Permissions
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - For\n information about permissions required to use the multipart upload API, see\n Multipart Upload and\n Permissions in the Amazon S3 User Guide.

    \n

    If the upload was created using server-side encryption with Key Management Service\n (KMS) keys (SSE-KMS) or dual-layer server-side encryption with\n Amazon Web Services KMS keys (DSSE-KMS), you must have permission to the\n kms:Decrypt action for the ListParts request to\n succeed.

    \n
  • \n
  • \n

    \n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession\n .

    \n
  • \n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is \n Bucket-name.s3express-zone-id.region-code.amazonaws.com.

\n
\n
\n

The following operations are related to ListParts:

\n ", "smithy.api#examples": [ { "title": "To list parts of a multipart upload.", @@ -29174,6 +29312,12 @@ "traits": { "smithy.api#documentation": "

The algorithm that was used to create a checksum of the object.

" } + }, + "ChecksumType": { + "target": "com.amazonaws.s3#ChecksumType", + "traits": { + "smithy.api#documentation": "

The checksum type, which determines how part-level checksums are combined to create an\n object-level checksum for multipart objects. You can use this header response to verify\n that the checksum type that is received is the same checksum type that was specified in\n CreateMultipartUpload request. For more\n information, see Checking object integrity\n in the Amazon S3 User Guide.

" + } } }, "traits": { @@ -29287,7 +29431,7 @@ } }, "traits": { - "smithy.api#documentation": "

Specifies the location where the bucket will be created.

\n

For directory buckets, the location type is Availability Zone or Local Zone. For more information about directory buckets, see \n Working with directory buckets in the Amazon S3 User Guide.

\n \n

This functionality is only supported by directory buckets.

\n
" + "smithy.api#documentation": "

Specifies the location where the bucket will be created.

\n

For directory buckets, the location type is Availability Zone or Local Zone. For more information about directory buckets, see \n Directory buckets in the Amazon S3 User Guide.

\n \n

This functionality is only supported by directory buckets.

\n
" } }, "com.amazonaws.s3#LocationNameAsString": { @@ -29639,6 +29783,9 @@ "com.amazonaws.s3#MissingMeta": { "type": "integer" }, + "com.amazonaws.s3#MpuObjectSize": { + "type": "string" + }, "com.amazonaws.s3#MultipartUpload": { "type": "structure", "members": { @@ -29683,6 +29830,12 @@ "traits": { "smithy.api#documentation": "

The algorithm that was used to create a checksum of the object.

" } + }, + "ChecksumType": { + "target": "com.amazonaws.s3#ChecksumType", + "traits": { + "smithy.api#documentation": "

The checksum type that is used to calculate the object’s\n checksum value. For more information, see Checking object integrity in the Amazon S3 User Guide.

" + } } }, "traits": { @@ -29889,6 +30042,12 @@ "smithy.api#xmlFlattened": {} } }, + "ChecksumType": { + "target": "com.amazonaws.s3#ChecksumType", + "traits": { + "smithy.api#documentation": "

The checksum type that is used to calculate the object’s\n checksum value. For more information, see Checking object integrity in the Amazon S3 User Guide.

" + } + }, "Size": { "target": "com.amazonaws.s3#Size", "traits": { @@ -30269,25 +30428,31 @@ "ChecksumCRC32": { "target": "com.amazonaws.s3#ChecksumCRC32", "traits": { - "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the base64-encoded, 32-bit CRC-32 checksum of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.

" + "smithy.api#documentation": "

The Base64 encoded, 32-bit CRC-32 checksum of the part. This checksum is present\n if the multipart upload request was created with the CRC-32 checksum algorithm. For more information, see Checking object integrity in the Amazon S3 User Guide.

" } }, "ChecksumCRC32C": { "target": "com.amazonaws.s3#ChecksumCRC32C", "traits": { - "smithy.api#documentation": "

The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

" + "smithy.api#documentation": "

The Base64 encoded, 32-bit CRC-32C checksum of the part. This checksum is present\n if the multipart upload request was created with the CRC-32C checksum algorithm. For more information, see Checking object integrity in the Amazon S3 User Guide.

" + } + }, + "ChecksumCRC64NVME": { + "target": "com.amazonaws.s3#ChecksumCRC64NVME", + "traits": { + "smithy.api#documentation": "

The Base64 encoded, 64-bit CRC-64NVME checksum of the part. This checksum is present\n if the multipart upload request was created with the CRC-64NVME checksum algorithm, or if the object was uploaded without a\n checksum (and Amazon S3 added the default checksum, CRC-64NVME, to the uploaded object). For more information, see Checking object integrity in the Amazon S3 User Guide.

" } }, "ChecksumSHA1": { "target": "com.amazonaws.s3#ChecksumSHA1", "traits": { - "smithy.api#documentation": "

The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded\n with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

" + "smithy.api#documentation": "

The Base64 encoded, 160-bit SHA-1 checksum of the part. This checksum is present\n if the multipart upload request was created with the SHA-1 checksum algorithm. For more information, see Checking object integrity in the Amazon S3 User Guide.

" } }, "ChecksumSHA256": { "target": "com.amazonaws.s3#ChecksumSHA256", "traits": { - "smithy.api#documentation": "

The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

" + "smithy.api#documentation": "

The Base64 encoded, 256-bit SHA-256 checksum of the part. This checksum is present\n if the multipart upload request was created with the SHA-256 checksum algorithm. For more information, see Checking object integrity in the Amazon S3 User Guide.

" } } }, @@ -30391,6 +30556,12 @@ "smithy.api#xmlFlattened": {} } }, + "ChecksumType": { + "target": "com.amazonaws.s3#ChecksumType", + "traits": { + "smithy.api#documentation": "

The checksum type that is used to calculate the object’s\n checksum value. For more information, see Checking object integrity in the Amazon S3 User Guide.

" + } + }, "Size": { "target": "com.amazonaws.s3#Size", "traits": { @@ -30620,25 +30791,31 @@ "ChecksumCRC32": { "target": "com.amazonaws.s3#ChecksumCRC32", "traits": { - "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the base64-encoded, 32-bit CRC-32 checksum of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.

" + "smithy.api#documentation": "

The Base64 encoded, 32-bit CRC-32 checksum of the part. This checksum is present\n if the object was uploaded with the CRC-32 checksum algorithm. For more information, see Checking object integrity in the Amazon S3 User Guide.

" } }, "ChecksumCRC32C": { "target": "com.amazonaws.s3#ChecksumCRC32C", "traits": { - "smithy.api#documentation": "

The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

" + "smithy.api#documentation": "

The Base64 encoded, 32-bit CRC-32C checksum of the part. This checksum is present\n if the object was uploaded with the CRC-32C checksum algorithm. For more information, see Checking object integrity in the Amazon S3 User Guide.

" + } + }, + "ChecksumCRC64NVME": { + "target": "com.amazonaws.s3#ChecksumCRC64NVME", + "traits": { + "smithy.api#documentation": "

The Base64 encoded, 64-bit CRC-64NVME checksum of the part. This checksum is present\n if the multipart upload request was created with the CRC-64NVME checksum algorithm, or if the object was uploaded without a\n checksum (and Amazon S3 added the default checksum, CRC-64NVME, to the uploaded object). For more information, see Checking object integrity in the Amazon S3 User Guide.

" } }, "ChecksumSHA1": { "target": "com.amazonaws.s3#ChecksumSHA1", "traits": { - "smithy.api#documentation": "

The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded\n with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

" + "smithy.api#documentation": "

The Base64 encoded, 160-bit SHA-1 checksum of the part. This checksum is present\n if the object was uploaded with the SHA-1 checksum algorithm. For more information, see Checking object integrity in the Amazon S3 User Guide.

" } }, "ChecksumSHA256": { "target": "com.amazonaws.s3#ChecksumSHA256", "traits": { - "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the base64-encoded, 256-bit SHA-256 digest of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.

" + "smithy.api#documentation": "

The Base64 encoded, 256-bit SHA-256 checksum of the part. This checksum is present\n if the object was uploaded with the SHA-256 checksum algorithm. For more information, see Checking object integrity in the Amazon S3 User Guide.

" } } }, @@ -31005,7 +31182,7 @@ "ContentMD5": { "target": "com.amazonaws.s3#ContentMD5", "traits": { - "smithy.api#documentation": "

The base64-encoded 128-bit MD5 digest of the data. This header must be used as a message\n integrity check to verify that the request body was not corrupted in transit. For more\n information, go to RFC\n 1864.\n

\n

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

", + "smithy.api#documentation": "

The Base64 encoded 128-bit MD5 digest of the data. This header must be used as a message\n integrity check to verify that the request body was not corrupted in transit. For more\n information, go to RFC\n 1864.\n

\n

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

", "smithy.api#httpHeader": "Content-MD5" } }, @@ -31223,7 +31400,7 @@ "ContentMD5": { "target": "com.amazonaws.s3#ContentMD5", "traits": { - "smithy.api#documentation": "

The base64-encoded 128-bit MD5 digest of the data. This header must be used as a message\n integrity check to verify that the request body was not corrupted in transit. For more\n information, go to RFC\n 1864.\n

\n

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

", + "smithy.api#documentation": "

The Base64 encoded 128-bit MD5 digest of the data. This header must be used as a message\n integrity check to verify that the request body was not corrupted in transit. For more\n information, go to RFC\n 1864.\n

\n

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

", "smithy.api#httpHeader": "Content-MD5" } }, @@ -31259,7 +31436,7 @@ "requestAlgorithmMember": "ChecksumAlgorithm", "requestChecksumRequired": true }, - "smithy.api#documentation": "

This operation configures default encryption and Amazon S3 Bucket Keys for an existing\n bucket.

\n \n

\n Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name\n . Virtual-hosted-style requests aren't supported. \nFor more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the\n Amazon S3 User Guide.

\n
\n

By default, all buckets have a default encryption configuration that uses server-side\n encryption with Amazon S3 managed keys (SSE-S3).

\n \n
    \n
  • \n

    \n General purpose buckets\n

    \n
      \n
    • \n

      You can optionally configure default encryption for a bucket by using\n server-side encryption with Key Management Service (KMS) keys (SSE-KMS) or dual-layer\n server-side encryption with Amazon Web Services KMS keys (DSSE-KMS). If you specify\n default encryption by using SSE-KMS, you can also configure Amazon S3\n Bucket Keys. For information about the bucket default encryption\n feature, see Amazon S3 Bucket Default\n Encryption in the Amazon S3 User Guide.

      \n
    • \n
    • \n

      If you use PutBucketEncryption to set your default bucket\n encryption to SSE-KMS, you should verify that your KMS key ID\n is correct. Amazon S3 doesn't validate the KMS key ID provided in\n PutBucketEncryption requests.

      \n
    • \n
    \n
  • \n
  • \n

    \n Directory buckets - You can\n optionally configure default encryption for a bucket by using server-side\n encryption with Key Management Service (KMS) keys (SSE-KMS).

    \n
      \n
    • \n

      We recommend that the bucket's default encryption uses the desired\n encryption configuration and you don't override the bucket default\n encryption in your CreateSession requests or PUT\n object requests. Then, new objects are automatically encrypted with the\n desired encryption settings.\n For more information about the encryption overriding behaviors in directory buckets, see Specifying server-side encryption with KMS for new object uploads.

      \n
    • \n
    • \n

      Your SSE-KMS configuration can only support 1 customer managed key per directory bucket for the lifetime of the bucket. \nThe Amazon Web Services managed key (aws/s3) isn't supported. \n

      \n
    • \n
    • \n

      S3 Bucket Keys are always enabled for GET and PUT operations in a directory bucket and can’t be disabled. S3 Bucket Keys aren't supported, when you copy SSE-KMS encrypted objects from general purpose buckets \nto directory buckets, from directory buckets to general purpose buckets, or between directory buckets, through CopyObject, UploadPartCopy, the Copy operation in Batch Operations, or \n the import jobs. In this case, Amazon S3 makes a call to KMS every time a copy request is made for a KMS-encrypted object.

      \n
    • \n
    • \n

      When you specify an KMS customer managed key for encryption in your directory bucket, only use the key ID or key ARN. The key alias format of the KMS key isn't supported.

      \n
    • \n
    • \n

      For directory buckets, if you use PutBucketEncryption to set your default bucket encryption to SSE-KMS, Amazon S3 validates the\n KMS key ID provided in PutBucketEncryption requests.

      \n
    • \n
    \n
  • \n
\n
\n \n

If you're specifying a customer managed KMS key, we recommend using a fully\n qualified KMS key ARN. If you use a KMS key alias instead, then KMS resolves the\n key within the requester’s account. This behavior can result in data that's encrypted\n with a KMS key that belongs to the requester, and not the bucket owner.

\n

Also, this action requires Amazon Web Services Signature Version 4. For more information, see\n Authenticating\n Requests (Amazon Web Services Signature Version 4).

\n
\n
\n
Permissions
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - The\n s3:PutEncryptionConfiguration permission is required in a\n policy. The bucket owner has this permission by default. The bucket owner\n can grant this permission to others. For more information about permissions,\n see Permissions Related to Bucket Operations and Managing Access\n Permissions to Your Amazon S3 Resources in the\n Amazon S3 User Guide.

    \n
  • \n
  • \n

    \n Directory bucket permissions -\n To grant access to this API operation, you must have the\n s3express:PutEncryptionConfiguration permission in\n an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource.\n For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.

    \n

    To set a directory bucket default encryption with SSE-KMS, you must also\n have the kms:GenerateDataKey and the kms:Decrypt\n permissions in IAM identity-based policies and KMS key policies for the\n target KMS key.

    \n
  • \n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is s3express-control.region-code.amazonaws.com.

\n
\n
\n

The following operations are related to PutBucketEncryption:

\n ", + "smithy.api#documentation": "

This operation configures default encryption and Amazon S3 Bucket Keys for an existing\n bucket.

\n \n

\n Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name\n . Virtual-hosted-style requests aren't supported. \nFor more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Available Local Zone for directory buckets in the\n Amazon S3 User Guide.

\n
\n

By default, all buckets have a default encryption configuration that uses server-side\n encryption with Amazon S3 managed keys (SSE-S3).

\n \n
    \n
  • \n

    \n General purpose buckets\n

    \n
      \n
    • \n

      You can optionally configure default encryption for a bucket by using\n server-side encryption with Key Management Service (KMS) keys (SSE-KMS) or dual-layer\n server-side encryption with Amazon Web Services KMS keys (DSSE-KMS). If you specify\n default encryption by using SSE-KMS, you can also configure Amazon S3\n Bucket Keys. For information about the bucket default encryption\n feature, see Amazon S3 Bucket Default\n Encryption in the Amazon S3 User Guide.

      \n
    • \n
    • \n

      If you use PutBucketEncryption to set your default bucket\n encryption to SSE-KMS, you should verify that your KMS key ID\n is correct. Amazon S3 doesn't validate the KMS key ID provided in\n PutBucketEncryption requests.

      \n
    • \n
    \n
  • \n
  • \n

    \n Directory buckets - You can\n optionally configure default encryption for a bucket by using server-side\n encryption with Key Management Service (KMS) keys (SSE-KMS).

    \n
      \n
    • \n

      We recommend that the bucket's default encryption uses the desired\n encryption configuration and you don't override the bucket default\n encryption in your CreateSession requests or PUT\n object requests. Then, new objects are automatically encrypted with the\n desired encryption settings.\n For more information about the encryption overriding behaviors in directory buckets, see Specifying server-side encryption with KMS for new object uploads.

      \n
    • \n
    • \n

      Your SSE-KMS configuration can only support 1 customer managed key per directory bucket for the lifetime of the bucket. \nThe Amazon Web Services managed key (aws/s3) isn't supported. \n

      \n
    • \n
    • \n

      S3 Bucket Keys are always enabled for GET and PUT operations in a directory bucket and can’t be disabled. S3 Bucket Keys aren't supported, when you copy SSE-KMS encrypted objects from general purpose buckets \nto directory buckets, from directory buckets to general purpose buckets, or between directory buckets, through CopyObject, UploadPartCopy, the Copy operation in Batch Operations, or \n the import jobs. In this case, Amazon S3 makes a call to KMS every time a copy request is made for a KMS-encrypted object.

      \n
    • \n
    • \n

      When you specify an KMS customer managed key for encryption in your directory bucket, only use the key ID or key ARN. The key alias format of the KMS key isn't supported.

      \n
    • \n
    • \n

      For directory buckets, if you use PutBucketEncryption to set your default bucket encryption to SSE-KMS, Amazon S3 validates the\n KMS key ID provided in PutBucketEncryption requests.

      \n
    • \n
    \n
  • \n
\n
\n \n

If you're specifying a customer managed KMS key, we recommend using a fully\n qualified KMS key ARN. If you use a KMS key alias instead, then KMS resolves the\n key within the requester’s account. This behavior can result in data that's encrypted\n with a KMS key that belongs to the requester, and not the bucket owner.

\n

Also, this action requires Amazon Web Services Signature Version 4. For more information, see\n Authenticating\n Requests (Amazon Web Services Signature Version 4).

\n
\n
\n
Permissions
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - The\n s3:PutEncryptionConfiguration permission is required in a\n policy. The bucket owner has this permission by default. The bucket owner\n can grant this permission to others. For more information about permissions,\n see Permissions Related to Bucket Operations and Managing Access\n Permissions to Your Amazon S3 Resources in the\n Amazon S3 User Guide.

    \n
  • \n
  • \n

    \n Directory bucket permissions -\n To grant access to this API operation, you must have the\n s3express:PutEncryptionConfiguration permission in\n an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource.\n For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.

    \n

    To set a directory bucket default encryption with SSE-KMS, you must also\n have the kms:GenerateDataKey and the kms:Decrypt\n permissions in IAM identity-based policies and KMS key policies for the\n target KMS key.

    \n
  • \n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is s3express-control.region-code.amazonaws.com.

\n
\n
\n

The following operations are related to PutBucketEncryption:

\n ", "smithy.api#http": { "method": "PUT", "uri": "/{Bucket}?encryption", @@ -31289,7 +31466,7 @@ "ContentMD5": { "target": "com.amazonaws.s3#ContentMD5", "traits": { - "smithy.api#documentation": "

The base64-encoded 128-bit MD5 digest of the server-side encryption\n configuration.

\n

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

\n \n

This functionality is not supported for directory buckets.

\n
", + "smithy.api#documentation": "

The Base64 encoded 128-bit MD5 digest of the server-side encryption\n configuration.

\n

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

\n \n

This functionality is not supported for directory buckets.

\n
", "smithy.api#httpHeader": "Content-MD5" } }, @@ -31456,7 +31633,7 @@ "requestAlgorithmMember": "ChecksumAlgorithm", "requestChecksumRequired": true }, - "smithy.api#documentation": "

Creates a new lifecycle configuration for the bucket or replaces an existing lifecycle\n configuration. Keep in mind that this will overwrite an existing lifecycle configuration,\n so if you want to retain any configuration details, they must be included in the new\n lifecycle configuration. For information about lifecycle configuration, see Managing\n your storage lifecycle.

\n \n

Bucket lifecycle configuration now supports specifying a lifecycle rule using an object key name prefix, one or more object tags, object size, or any combination of these. Accordingly, this section describes the latest API. The previous version of the API supported filtering based only on an object key name prefix, which is supported for backward compatibility.\n For the related API description, see PutBucketLifecycle.

\n
\n
\n
Rules
\n
Permissions
\n
HTTP Host header syntax
\n
\n

You specify the lifecycle configuration in your request body. The lifecycle\n configuration is specified as XML consisting of one or more rules. An Amazon S3\n Lifecycle configuration can have up to 1,000 rules. This limit is not\n adjustable.

\n

Bucket lifecycle configuration supports specifying a lifecycle rule using an\n object key name prefix, one or more object tags, object size, or any combination\n of these. Accordingly, this section describes the latest API. The previous version\n of the API supported filtering based only on an object key name prefix, which is\n supported for backward compatibility for general purpose buckets. For the related\n API description, see PutBucketLifecycle.

\n \n

Lifecyle configurations for directory buckets only support expiring objects and\n cancelling multipart uploads. Expiring of versioned objects,transitions and tag\n filters are not supported.

\n
\n

A lifecycle rule consists of the following:

\n
    \n
  • \n

    A filter identifying a subset of objects to which the rule applies. The\n filter can be based on a key name prefix, object tags, object size, or any\n combination of these.

    \n
  • \n
  • \n

    A status indicating whether the rule is in effect.

    \n
  • \n
  • \n

    One or more lifecycle transition and expiration actions that you want\n Amazon S3 to perform on the objects identified by the filter. If the state of\n your bucket is versioning-enabled or versioning-suspended, you can have many\n versions of the same object (one current version and zero or more noncurrent\n versions). Amazon S3 provides predefined actions that you can specify for current\n and noncurrent object versions.

    \n
  • \n
\n

For more information, see Object Lifecycle\n Management and Lifecycle Configuration\n Elements.

\n
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - By\n default, all Amazon S3 resources are private, including buckets, objects, and\n related subresources (for example, lifecycle configuration and website\n configuration). Only the resource owner (that is, the Amazon Web Services account that\n created it) can access the resource. The resource owner can optionally grant\n access permissions to others by writing an access policy. For this\n operation, a user must have the s3:PutLifecycleConfiguration\n permission.

    \n

    You can also explicitly deny permissions. An explicit deny also\n supersedes any other permissions. If you want to block users or accounts\n from removing or deleting objects from your bucket, you must deny them\n permissions for the following actions:

    \n \n
  • \n
\n
    \n
  • \n

    \n Directory bucket permissions -\n You must have the s3express:PutLifecycleConfiguration\n permission in an IAM identity-based policy to use this operation.\n Cross-account access to this API operation isn't supported. The resource\n owner can optionally grant access permissions to others by creating a role\n or user for them as long as they are within the same account as the owner\n and resource.

    \n

    For more information about directory bucket policies and permissions, see\n Authorizing Regional endpoint APIs with IAM in the\n Amazon S3 User Guide.

    \n \n

    \n Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name\n . Virtual-hosted-style requests aren't supported. \nFor more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the\n Amazon S3 User Guide.

    \n
    \n
  • \n
\n
\n
\n

\n Directory buckets - The HTTP Host\n header syntax is\n s3express-control.region.amazonaws.com.

\n

The following operations are related to\n PutBucketLifecycleConfiguration:

\n \n
\n
", + "smithy.api#documentation": "

Creates a new lifecycle configuration for the bucket or replaces an existing lifecycle\n configuration. Keep in mind that this will overwrite an existing lifecycle configuration,\n so if you want to retain any configuration details, they must be included in the new\n lifecycle configuration. For information about lifecycle configuration, see Managing\n your storage lifecycle.

\n \n

Bucket lifecycle configuration now supports specifying a lifecycle rule using an object key name prefix, one or more object tags, object size, or any combination of these. Accordingly, this section describes the latest API. The previous version of the API supported filtering based only on an object key name prefix, which is supported for backward compatibility.\n For the related API description, see PutBucketLifecycle.

\n
\n
\n
Rules
\n
Permissions
\n
HTTP Host header syntax
\n
\n

You specify the lifecycle configuration in your request body. The lifecycle\n configuration is specified as XML consisting of one or more rules. An Amazon S3\n Lifecycle configuration can have up to 1,000 rules. This limit is not\n adjustable.

\n

Bucket lifecycle configuration supports specifying a lifecycle rule using an\n object key name prefix, one or more object tags, object size, or any combination\n of these. Accordingly, this section describes the latest API. The previous version\n of the API supported filtering based only on an object key name prefix, which is\n supported for backward compatibility for general purpose buckets. For the related\n API description, see PutBucketLifecycle.

\n \n

Lifecyle configurations for directory buckets only support expiring objects and\n cancelling multipart uploads. Expiring of versioned objects,transitions and tag\n filters are not supported.

\n
\n

A lifecycle rule consists of the following:

\n
    \n
  • \n

    A filter identifying a subset of objects to which the rule applies. The\n filter can be based on a key name prefix, object tags, object size, or any\n combination of these.

    \n
  • \n
  • \n

    A status indicating whether the rule is in effect.

    \n
  • \n
  • \n

    One or more lifecycle transition and expiration actions that you want\n Amazon S3 to perform on the objects identified by the filter. If the state of\n your bucket is versioning-enabled or versioning-suspended, you can have many\n versions of the same object (one current version and zero or more noncurrent\n versions). Amazon S3 provides predefined actions that you can specify for current\n and noncurrent object versions.

    \n
  • \n
\n

For more information, see Object Lifecycle\n Management and Lifecycle Configuration\n Elements.

\n
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - By\n default, all Amazon S3 resources are private, including buckets, objects, and\n related subresources (for example, lifecycle configuration and website\n configuration). Only the resource owner (that is, the Amazon Web Services account that\n created it) can access the resource. The resource owner can optionally grant\n access permissions to others by writing an access policy. For this\n operation, a user must have the s3:PutLifecycleConfiguration\n permission.

    \n

    You can also explicitly deny permissions. An explicit deny also\n supersedes any other permissions. If you want to block users or accounts\n from removing or deleting objects from your bucket, you must deny them\n permissions for the following actions:

    \n \n
  • \n
\n
    \n
  • \n

    \n Directory bucket permissions -\n You must have the s3express:PutLifecycleConfiguration\n permission in an IAM identity-based policy to use this operation.\n Cross-account access to this API operation isn't supported. The resource\n owner can optionally grant access permissions to others by creating a role\n or user for them as long as they are within the same account as the owner\n and resource.

    \n

    For more information about directory bucket policies and permissions, see\n Authorizing Regional endpoint APIs with IAM in the\n Amazon S3 User Guide.

    \n \n

    \n Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name\n . Virtual-hosted-style requests aren't supported. \nFor more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Available Local Zone for directory buckets in the\n Amazon S3 User Guide.

    \n
    \n
  • \n
\n
\n
\n

\n Directory buckets - The HTTP Host\n header syntax is\n s3express-control.region.amazonaws.com.

\n

The following operations are related to\n PutBucketLifecycleConfiguration:

\n \n
\n
", "smithy.api#examples": [ { "title": "Put bucket lifecycle", @@ -31887,7 +32064,7 @@ "requestAlgorithmMember": "ChecksumAlgorithm", "requestChecksumRequired": true }, - "smithy.api#documentation": "

Applies an Amazon S3 bucket policy to an Amazon S3 bucket.

\n \n

\n Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name\n . Virtual-hosted-style requests aren't supported. \nFor more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the\n Amazon S3 User Guide.

\n
\n
\n
Permissions
\n
\n

If you are using an identity other than the root user of the Amazon Web Services account that\n owns the bucket, the calling identity must both have the\n PutBucketPolicy permissions on the specified bucket and belong to\n the bucket owner's account in order to use this operation.

\n

If you don't have PutBucketPolicy permissions, Amazon S3 returns a\n 403 Access Denied error. If you have the correct permissions, but\n you're not using an identity that belongs to the bucket owner's account, Amazon S3\n returns a 405 Method Not Allowed error.

\n \n

To ensure that bucket owners don't inadvertently lock themselves out of\n their own buckets, the root principal in a bucket owner's Amazon Web Services account can\n perform the GetBucketPolicy, PutBucketPolicy, and\n DeleteBucketPolicy API actions, even if their bucket policy\n explicitly denies the root principal's access. Bucket owner root principals can\n only be blocked from performing these API actions by VPC endpoint policies and\n Amazon Web Services Organizations policies.

\n
\n
    \n
  • \n

    \n General purpose bucket permissions - The\n s3:PutBucketPolicy permission is required in a policy. For\n more information about general purpose buckets bucket policies, see Using Bucket Policies and User Policies in the\n Amazon S3 User Guide.

    \n
  • \n
  • \n

    \n Directory bucket permissions -\n To grant access to this API operation, you must have the\n s3express:PutBucketPolicy permission in\n an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource.\n For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.

    \n
  • \n
\n
\n
Example bucket policies
\n
\n

\n General purpose buckets example bucket policies\n - See Bucket policy\n examples in the Amazon S3 User Guide.

\n

\n Directory bucket example bucket policies\n - See Example bucket policies for S3 Express One Zone in the\n Amazon S3 User Guide.

\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is s3express-control.region-code.amazonaws.com.

\n
\n
\n

The following operations are related to PutBucketPolicy:

\n ", + "smithy.api#documentation": "

Applies an Amazon S3 bucket policy to an Amazon S3 bucket.

\n \n

\n Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region-code.amazonaws.com/bucket-name\n . Virtual-hosted-style requests aren't supported. \nFor more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Available Local Zone for directory buckets in the\n Amazon S3 User Guide.

\n
\n
\n
Permissions
\n
\n

If you are using an identity other than the root user of the Amazon Web Services account that\n owns the bucket, the calling identity must both have the\n PutBucketPolicy permissions on the specified bucket and belong to\n the bucket owner's account in order to use this operation.

\n

If you don't have PutBucketPolicy permissions, Amazon S3 returns a\n 403 Access Denied error. If you have the correct permissions, but\n you're not using an identity that belongs to the bucket owner's account, Amazon S3\n returns a 405 Method Not Allowed error.

\n \n

To ensure that bucket owners don't inadvertently lock themselves out of\n their own buckets, the root principal in a bucket owner's Amazon Web Services account can\n perform the GetBucketPolicy, PutBucketPolicy, and\n DeleteBucketPolicy API actions, even if their bucket policy\n explicitly denies the root principal's access. Bucket owner root principals can\n only be blocked from performing these API actions by VPC endpoint policies and\n Amazon Web Services Organizations policies.

\n
\n
    \n
  • \n

    \n General purpose bucket permissions - The\n s3:PutBucketPolicy permission is required in a policy. For\n more information about general purpose buckets bucket policies, see Using Bucket Policies and User Policies in the\n Amazon S3 User Guide.

    \n
  • \n
  • \n

    \n Directory bucket permissions -\n To grant access to this API operation, you must have the\n s3express:PutBucketPolicy permission in\n an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource.\n For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.

    \n
  • \n
\n
\n
Example bucket policies
\n
\n

\n General purpose buckets example bucket policies\n - See Bucket policy\n examples in the Amazon S3 User Guide.

\n

\n Directory bucket example bucket policies\n - See Example bucket policies for S3 Express One Zone in the\n Amazon S3 User Guide.

\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is s3express-control.region-code.amazonaws.com.

\n
\n
\n

The following operations are related to PutBucketPolicy:

\n ", "smithy.api#examples": [ { "title": "Set bucket policy", @@ -31934,7 +32111,7 @@ "ChecksumAlgorithm": { "target": "com.amazonaws.s3#ChecksumAlgorithm", "traits": { - "smithy.api#documentation": "

Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any\n additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum-algorithm\n or\n x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request.

\n

For the x-amz-checksum-algorithm\n header, replace \n algorithm\n with the supported algorithm from the following list:

\n
    \n
  • \n

    \n CRC32\n

    \n
  • \n
  • \n

    \n CRC32C\n

    \n
  • \n
  • \n

    \n SHA1\n

    \n
  • \n
  • \n

    \n SHA256\n

    \n
  • \n
\n

For more\n information, see Checking object integrity in\n the Amazon S3 User Guide.

\n

If the individual checksum value you provide through x-amz-checksum-algorithm\n doesn't match the checksum algorithm you set through x-amz-sdk-checksum-algorithm, Amazon S3 ignores any provided\n ChecksumAlgorithm parameter and uses the checksum algorithm that matches the provided value in x-amz-checksum-algorithm\n .

\n \n

For directory buckets, when you use Amazon Web Services SDKs, CRC32 is the default checksum algorithm that's used for performance.

\n
", + "smithy.api#documentation": "

Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any\n additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum-algorithm\n or\n x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request.

\n

For the x-amz-checksum-algorithm\n header, replace \n algorithm\n with the supported algorithm from the following list:

\n
    \n
  • \n

    \n CRC-32\n

    \n
  • \n
  • \n

    \n CRC-32C\n

    \n
  • \n
  • \n

    \n CRC-64NVME\n

    \n
  • \n
  • \n

    \n SHA-1\n

    \n
  • \n
  • \n

    \n SHA-256\n

    \n
  • \n
\n

For more\n information, see Checking object integrity in\n the Amazon S3 User Guide.

\n

If the individual checksum value you provide through x-amz-checksum-algorithm\n doesn't match the checksum algorithm you set through x-amz-sdk-checksum-algorithm, Amazon S3 fails the request with a BadDigest error.

\n \n

For directory buckets, when you use Amazon Web Services SDKs, CRC32 is the default checksum algorithm that's used for performance.

\n
", "smithy.api#httpHeader": "x-amz-sdk-checksum-algorithm" } }, @@ -32030,7 +32207,7 @@ "ContentMD5": { "target": "com.amazonaws.s3#ContentMD5", "traits": { - "smithy.api#documentation": "

The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message\n integrity check to verify that the request body was not corrupted in transit. For more\n information, see RFC 1864.

\n

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

", + "smithy.api#documentation": "

The Base64 encoded 128-bit MD5 digest of the data. You must use this header as a message\n integrity check to verify that the request body was not corrupted in transit. For more\n information, see RFC 1864.

\n

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

", "smithy.api#httpHeader": "Content-MD5" } }, @@ -32123,7 +32300,7 @@ "ContentMD5": { "target": "com.amazonaws.s3#ContentMD5", "traits": { - "smithy.api#documentation": "

The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message\n integrity check to verify that the request body was not corrupted in transit. For more\n information, see RFC 1864.

\n

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

", + "smithy.api#documentation": "

The Base64 encoded 128-bit MD5 digest of the data. You must use this header as a message\n integrity check to verify that the request body was not corrupted in transit. For more\n information, see RFC 1864.

\n

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

", "smithy.api#httpHeader": "Content-MD5" } }, @@ -32219,7 +32396,7 @@ "ContentMD5": { "target": "com.amazonaws.s3#ContentMD5", "traits": { - "smithy.api#documentation": "

The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message\n integrity check to verify that the request body was not corrupted in transit. For more\n information, see RFC 1864.

\n

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

", + "smithy.api#documentation": "

The Base64 encoded 128-bit MD5 digest of the data. You must use this header as a message\n integrity check to verify that the request body was not corrupted in transit. For more\n information, see RFC 1864.

\n

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

", "smithy.api#httpHeader": "Content-MD5" } }, @@ -32264,7 +32441,7 @@ "requestAlgorithmMember": "ChecksumAlgorithm", "requestChecksumRequired": true }, - "smithy.api#documentation": "\n

This operation is not supported for directory buckets.

\n
\n \n

When you enable versioning on a bucket for the first time, it might take a short\n amount of time for the change to be fully propagated. While this change is propagating,\n you may encounter intermittent HTTP 404 NoSuchKey errors for requests to\n objects created or updated after enabling versioning. We recommend that you wait for 15\n minutes after enabling versioning before issuing write operations (PUT or\n DELETE) on objects in the bucket.

\n
\n

Sets the versioning state of an existing bucket.

\n

You can set the versioning state with one of the following values:

\n

\n Enabled—Enables versioning for the objects in the\n bucket. All objects added to the bucket receive a unique version ID.

\n

\n Suspended—Disables versioning for the objects in the\n bucket. All objects added to the bucket receive the version ID null.

\n

If the versioning state has never been set on a bucket, it has no versioning state; a\n GetBucketVersioning request does not return a versioning state value.

\n

In order to enable MFA Delete, you must be the bucket owner. If you are the bucket owner\n and want to enable MFA Delete in the bucket versioning configuration, you must include the\n x-amz-mfa request header and the Status and the\n MfaDelete request elements in a request to set the versioning state of the\n bucket.

\n \n

If you have an object expiration lifecycle configuration in your non-versioned bucket\n and you want to maintain the same permanent delete behavior when you enable versioning,\n you must add a noncurrent expiration policy. The noncurrent expiration lifecycle\n configuration will manage the deletes of the noncurrent object versions in the\n version-enabled bucket. (A version-enabled bucket maintains one current and zero or more\n noncurrent object versions.) For more information, see Lifecycle and Versioning.

\n
\n

The following operations are related to PutBucketVersioning:

\n ", + "smithy.api#documentation": "\n

This operation is not supported for directory buckets.

\n
\n \n

When you enable versioning on a bucket for the first time, it might take a short\n amount of time for the change to be fully propagated. While this change is propagating,\n you might encounter intermittent HTTP 404 NoSuchKey errors for requests to\n objects created or updated after enabling versioning. We recommend that you wait for 15\n minutes after enabling versioning before issuing write operations (PUT or\n DELETE) on objects in the bucket.

\n
\n

Sets the versioning state of an existing bucket.

\n

You can set the versioning state with one of the following values:

\n

\n Enabled—Enables versioning for the objects in the\n bucket. All objects added to the bucket receive a unique version ID.

\n

\n Suspended—Disables versioning for the objects in the\n bucket. All objects added to the bucket receive the version ID null.

\n

If the versioning state has never been set on a bucket, it has no versioning state; a\n GetBucketVersioning request does not return a versioning state value.

\n

In order to enable MFA Delete, you must be the bucket owner. If you are the bucket owner\n and want to enable MFA Delete in the bucket versioning configuration, you must include the\n x-amz-mfa request header and the Status and the\n MfaDelete request elements in a request to set the versioning state of the\n bucket.

\n \n

If you have an object expiration lifecycle configuration in your non-versioned bucket\n and you want to maintain the same permanent delete behavior when you enable versioning,\n you must add a noncurrent expiration policy. The noncurrent expiration lifecycle\n configuration will manage the deletes of the noncurrent object versions in the\n version-enabled bucket. (A version-enabled bucket maintains one current and zero or more\n noncurrent object versions.) For more information, see Lifecycle and Versioning.

\n
\n

The following operations are related to PutBucketVersioning:

\n ", "smithy.api#examples": [ { "title": "Set versioning configuration on a bucket", @@ -32307,7 +32484,7 @@ "ContentMD5": { "target": "com.amazonaws.s3#ContentMD5", "traits": { - "smithy.api#documentation": "

>The base64-encoded 128-bit MD5 digest of the data. You must use this header as a\n message integrity check to verify that the request body was not corrupted in transit. For\n more information, see RFC\n 1864.

\n

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

", + "smithy.api#documentation": "

>The Base64 encoded 128-bit MD5 digest of the data. You must use this header as a\n message integrity check to verify that the request body was not corrupted in transit. For\n more information, see RFC\n 1864.

\n

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

", "smithy.api#httpHeader": "Content-MD5" } }, @@ -32407,7 +32584,7 @@ "ContentMD5": { "target": "com.amazonaws.s3#ContentMD5", "traits": { - "smithy.api#documentation": "

The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message\n integrity check to verify that the request body was not corrupted in transit. For more\n information, see RFC 1864.

\n

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

", + "smithy.api#documentation": "

The Base64 encoded 128-bit MD5 digest of the data. You must use this header as a message\n integrity check to verify that the request body was not corrupted in transit. For more\n information, see RFC 1864.

\n

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

", "smithy.api#httpHeader": "Content-MD5" } }, @@ -32465,7 +32642,7 @@ "aws.protocols#httpChecksum": { "requestAlgorithmMember": "ChecksumAlgorithm" }, - "smithy.api#documentation": "

Adds an object to a bucket.

\n \n
    \n
  • \n

    Amazon S3 never adds partial objects; if you receive a success response, Amazon S3 added\n the entire object to the bucket. You cannot use PutObject to only\n update a single piece of metadata for an existing object. You must put the entire\n object with updated metadata if you want to update some values.

    \n
  • \n
  • \n

    If your bucket uses the bucket owner enforced setting for Object Ownership,\n ACLs are disabled and no longer affect permissions. All objects written to the\n bucket by any account will be owned by the bucket owner.

    \n
  • \n
  • \n

    \n Directory buckets -\n For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name\n . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the\n Amazon S3 User Guide.

    \n
  • \n
\n
\n

Amazon S3 is a distributed system. If it receives multiple write requests for the same object\n simultaneously, it overwrites all but the last object written. However, Amazon S3 provides\n features that can modify this behavior:

\n
    \n
  • \n

    \n S3 Object Lock - To prevent objects from\n being deleted or overwritten, you can use Amazon S3 Object\n Lock in the Amazon S3 User Guide.

    \n \n

    This functionality is not supported for directory buckets.

    \n
    \n
  • \n
  • \n

    \n S3 Versioning - When you enable versioning\n for a bucket, if Amazon S3 receives multiple write requests for the same object\n simultaneously, it stores all versions of the objects. For each write request that is\n made to the same object, Amazon S3 automatically generates a unique version ID of that\n object being stored in Amazon S3. You can retrieve, replace, or delete any version of the\n object. For more information about versioning, see Adding\n Objects to Versioning-Enabled Buckets in the Amazon S3 User\n Guide. For information about returning the versioning state of a\n bucket, see GetBucketVersioning.

    \n \n

    This functionality is not supported for directory buckets.

    \n
    \n
  • \n
\n
\n
Permissions
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - The\n following permissions are required in your policies when your\n PutObject request includes specific headers.

    \n
      \n
    • \n

      \n \n s3:PutObject\n -\n To successfully complete the PutObject request, you must\n always have the s3:PutObject permission on a bucket to\n add an object to it.

      \n
    • \n
    • \n

      \n \n s3:PutObjectAcl\n - To successfully change the objects ACL of your\n PutObject request, you must have the\n s3:PutObjectAcl.

      \n
    • \n
    • \n

      \n \n s3:PutObjectTagging\n - To successfully set the tag-set with your\n PutObject request, you must have the\n s3:PutObjectTagging.

      \n
    • \n
    \n
  • \n
  • \n

    \n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession\n .

    \n

    If the object is encrypted with SSE-KMS, you must also have the\n kms:GenerateDataKey and kms:Decrypt permissions\n in IAM identity-based policies and KMS key policies for the KMS\n key.

    \n
  • \n
\n
\n
Data integrity with Content-MD5
\n
\n
    \n
  • \n

    \n General purpose bucket - To ensure that\n data is not corrupted traversing the network, use the\n Content-MD5 header. When you use this header, Amazon S3 checks\n the object against the provided MD5 value and, if they do not match, Amazon S3\n returns an error. Alternatively, when the object's ETag is its MD5 digest,\n you can calculate the MD5 while putting the object to Amazon S3 and compare the\n returned ETag to the calculated MD5 value.

    \n
  • \n
  • \n

    \n Directory bucket -\n This functionality is not supported for directory buckets.

    \n
  • \n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is \n Bucket-name.s3express-zone-id.region-code.amazonaws.com.

\n
\n
\n

For more information about related Amazon S3 APIs, see the following:

\n ", + "smithy.api#documentation": "

Adds an object to a bucket.

\n \n
    \n
  • \n

    Amazon S3 never adds partial objects; if you receive a success response, Amazon S3 added\n the entire object to the bucket. You cannot use PutObject to only\n update a single piece of metadata for an existing object. You must put the entire\n object with updated metadata if you want to update some values.

    \n
  • \n
  • \n

    If your bucket uses the bucket owner enforced setting for Object Ownership,\n ACLs are disabled and no longer affect permissions. All objects written to the\n bucket by any account will be owned by the bucket owner.

    \n
  • \n
  • \n

    \n Directory buckets -\n For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name\n . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Available Local Zone for directory buckets in the\n Amazon S3 User Guide.

    \n
  • \n
\n
\n

Amazon S3 is a distributed system. If it receives multiple write requests for the same object\n simultaneously, it overwrites all but the last object written. However, Amazon S3 provides\n features that can modify this behavior:

\n
    \n
  • \n

    \n S3 Object Lock - To prevent objects from\n being deleted or overwritten, you can use Amazon S3 Object\n Lock in the Amazon S3 User Guide.

    \n \n

    This functionality is not supported for directory buckets.

    \n
    \n
  • \n
  • \n

    \n S3 Versioning - When you enable versioning\n for a bucket, if Amazon S3 receives multiple write requests for the same object\n simultaneously, it stores all versions of the objects. For each write request that is\n made to the same object, Amazon S3 automatically generates a unique version ID of that\n object being stored in Amazon S3. You can retrieve, replace, or delete any version of the\n object. For more information about versioning, see Adding\n Objects to Versioning-Enabled Buckets in the Amazon S3 User\n Guide. For information about returning the versioning state of a\n bucket, see GetBucketVersioning.

    \n \n

    This functionality is not supported for directory buckets.

    \n
    \n
  • \n
\n
\n
Permissions
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - The\n following permissions are required in your policies when your\n PutObject request includes specific headers.

    \n
      \n
    • \n

      \n \n s3:PutObject\n -\n To successfully complete the PutObject request, you must\n always have the s3:PutObject permission on a bucket to\n add an object to it.

      \n
    • \n
    • \n

      \n \n s3:PutObjectAcl\n - To successfully change the objects ACL of your\n PutObject request, you must have the\n s3:PutObjectAcl.

      \n
    • \n
    • \n

      \n \n s3:PutObjectTagging\n - To successfully set the tag-set with your\n PutObject request, you must have the\n s3:PutObjectTagging.

      \n
    • \n
    \n
  • \n
  • \n

    \n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession\n .

    \n

    If the object is encrypted with SSE-KMS, you must also have the\n kms:GenerateDataKey and kms:Decrypt permissions\n in IAM identity-based policies and KMS key policies for the KMS\n key.

    \n
  • \n
\n
\n
Data integrity with Content-MD5
\n
\n
    \n
  • \n

    \n General purpose bucket - To ensure that\n data is not corrupted traversing the network, use the\n Content-MD5 header. When you use this header, Amazon S3 checks\n the object against the provided MD5 value and, if they do not match, Amazon S3\n returns an error. Alternatively, when the object's ETag is its MD5 digest,\n you can calculate the MD5 while putting the object to Amazon S3 and compare the\n returned ETag to the calculated MD5 value.

    \n
  • \n
  • \n

    \n Directory bucket -\n This functionality is not supported for directory buckets.

    \n
  • \n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is \n Bucket-name.s3express-zone-id.region-code.amazonaws.com.

\n
\n
\n

For more information about related Amazon S3 APIs, see the following:

\n ", "smithy.api#examples": [ { "title": "To create an object.", @@ -32664,7 +32841,7 @@ "ContentMD5": { "target": "com.amazonaws.s3#ContentMD5", "traits": { - "smithy.api#documentation": "

The base64-encoded 128-bit MD5 digest of the data. This header must be used as a message\n integrity check to verify that the request body was not corrupted in transit. For more\n information, go to RFC\n 1864.>\n

\n

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

", + "smithy.api#documentation": "

The Base64 encoded 128-bit MD5 digest of the data. This header must be used as a message\n integrity check to verify that the request body was not corrupted in transit. For more\n information, go to RFC\n 1864.>\n

\n

For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.

", "smithy.api#httpHeader": "Content-MD5" } }, @@ -32966,31 +33143,45 @@ "ChecksumCRC32": { "target": "com.amazonaws.s3#ChecksumCRC32", "traits": { - "smithy.api#documentation": "

The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

", + "smithy.api#documentation": "

The Base64 encoded, 32-bit CRC-32 checksum of the object. This checksum is only be present if the checksum was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

", "smithy.api#httpHeader": "x-amz-checksum-crc32" } }, "ChecksumCRC32C": { "target": "com.amazonaws.s3#ChecksumCRC32C", "traits": { - "smithy.api#documentation": "

The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

", + "smithy.api#documentation": "

The Base64 encoded, 32-bit CRC-32C checksum of the object. This checksum is only present if the checksum was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

", "smithy.api#httpHeader": "x-amz-checksum-crc32c" } }, + "ChecksumCRC64NVME": { + "target": "com.amazonaws.s3#ChecksumCRC64NVME", + "traits": { + "smithy.api#documentation": "

The Base64 encoded, 64-bit CRC-64NVME checksum of the object. This header\n is present if the object was uploaded with the CRC-64NVME checksum algorithm, or if it\n was uploaded without a checksum (and Amazon S3 added the default checksum,\n CRC-64NVME, to the uploaded object). For more information about how\n checksums are calculated with multipart uploads, see Checking object integrity\n in the Amazon S3 User Guide.

", + "smithy.api#httpHeader": "x-amz-checksum-crc64nvme" + } + }, "ChecksumSHA1": { "target": "com.amazonaws.s3#ChecksumSHA1", "traits": { - "smithy.api#documentation": "

The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded\n with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

", + "smithy.api#documentation": "

The Base64 encoded, 160-bit SHA-1 digest of the object. This will only be present if the object was uploaded\n with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

", "smithy.api#httpHeader": "x-amz-checksum-sha1" } }, "ChecksumSHA256": { "target": "com.amazonaws.s3#ChecksumSHA256", "traits": { - "smithy.api#documentation": "

The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

", + "smithy.api#documentation": "

The Base64 encoded, 256-bit SHA-256 digest of the object. This will only be present if the object was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

", "smithy.api#httpHeader": "x-amz-checksum-sha256" } }, + "ChecksumType": { + "target": "com.amazonaws.s3#ChecksumType", + "traits": { + "smithy.api#documentation": "

This header specifies the checksum type of the object, which determines how part-level\n checksums are combined to create an object-level checksum for multipart objects. For\n PutObject uploads, the checksum type is always FULL_OBJECT. You can use this header as a\n data integrity check to verify that the checksum type that is received is the same checksum\n that was specified. For more information, see Checking object integrity in the Amazon S3 User Guide.

", + "smithy.api#httpHeader": "x-amz-checksum-type" + } + }, "ServerSideEncryption": { "target": "com.amazonaws.s3#ServerSideEncryption", "traits": { @@ -33029,7 +33220,7 @@ "SSEKMSEncryptionContext": { "target": "com.amazonaws.s3#SSEKMSEncryptionContext", "traits": { - "smithy.api#documentation": "

If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The value of\n this header is a Base64-encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs. \n This value is stored as object metadata and automatically gets\n passed on to Amazon Web Services KMS for future GetObject \n operations on this object.

", + "smithy.api#documentation": "

If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The value of\n this header is a Base64 encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs. \n This value is stored as object metadata and automatically gets\n passed on to Amazon Web Services KMS for future GetObject \n operations on this object.

", "smithy.api#httpHeader": "x-amz-server-side-encryption-context" } }, @@ -33043,7 +33234,7 @@ "Size": { "target": "com.amazonaws.s3#Size", "traits": { - "smithy.api#documentation": "

\n The size of the object in bytes. This will only be present if you append to an object.\n

\n \n

This functionality is only supported for objects in the Amazon S3 Express One Zone storage class in directory buckets.

\n
", + "smithy.api#documentation": "

\n The size of the object in bytes. This value is only be present if you append to an object.\n

\n \n

This functionality is only supported for objects in the Amazon S3 Express One Zone storage class in directory buckets.

\n
", "smithy.api#httpHeader": "x-amz-object-size" } }, @@ -33125,7 +33316,7 @@ "ContentMD5": { "target": "com.amazonaws.s3#ContentMD5", "traits": { - "smithy.api#documentation": "

The base64-encoded 128-bit MD5 digest of the message (without the headers) according to\n RFC 1864. This header can be used as a message integrity check to verify that the data is\n the same data that was originally sent. Although it is optional, we recommend using the\n Content-MD5 mechanism as an end-to-end integrity check. For more information about REST\n request authentication, see REST Authentication.

\n \n

The Content-MD5 or x-amz-sdk-checksum-algorithm header is\n required for any request to upload an object with a retention period configured using\n Amazon S3 Object Lock. For more information, see Uploading objects to an Object Lock enabled bucket in the\n Amazon S3 User Guide.

\n
\n \n

This functionality is not supported for directory buckets.

\n
", + "smithy.api#documentation": "

The Base64 encoded 128-bit MD5 digest of the message (without the headers) according to\n RFC 1864. This header can be used as a message integrity check to verify that the data is\n the same data that was originally sent. Although it is optional, we recommend using the\n Content-MD5 mechanism as an end-to-end integrity check. For more information about REST\n request authentication, see REST Authentication.

\n \n

The Content-MD5 or x-amz-sdk-checksum-algorithm header is\n required for any request to upload an object with a retention period configured using\n Amazon S3 Object Lock. For more information, see Uploading objects to an Object Lock enabled bucket in the\n Amazon S3 User Guide.

\n
\n \n

This functionality is not supported for directory buckets.

\n
", "smithy.api#httpHeader": "Content-MD5" } }, @@ -33139,35 +33330,42 @@ "ChecksumAlgorithm": { "target": "com.amazonaws.s3#ChecksumAlgorithm", "traits": { - "smithy.api#documentation": "

Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any\n additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum-algorithm\n or\n x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request.

\n

For the x-amz-checksum-algorithm\n header, replace \n algorithm\n with the supported algorithm from the following list:

\n
    \n
  • \n

    \n CRC32\n

    \n
  • \n
  • \n

    \n CRC32C\n

    \n
  • \n
  • \n

    \n SHA1\n

    \n
  • \n
  • \n

    \n SHA256\n

    \n
  • \n
\n

For more\n information, see Checking object integrity in\n the Amazon S3 User Guide.

\n

If the individual checksum value you provide through x-amz-checksum-algorithm\n doesn't match the checksum algorithm you set through x-amz-sdk-checksum-algorithm, Amazon S3 ignores any provided\n ChecksumAlgorithm parameter and uses the checksum algorithm that matches the provided value in x-amz-checksum-algorithm\n .

\n \n

The Content-MD5 or x-amz-sdk-checksum-algorithm header is\n required for any request to upload an object with a retention period configured using\n Amazon S3 Object Lock. For more information, see Uploading objects to an Object Lock enabled bucket in the\n Amazon S3 User Guide.

\n
\n

For directory buckets, when you use Amazon Web Services SDKs, CRC32 is the default checksum algorithm that's used for performance.

", + "smithy.api#documentation": "

Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any\n additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum-algorithm\n or\n x-amz-trailer header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request.

\n

For the x-amz-checksum-algorithm\n header, replace \n algorithm\n with the supported algorithm from the following list:

\n
    \n
  • \n

    \n CRC-32\n

    \n
  • \n
  • \n

    \n CRC-32C\n

    \n
  • \n
  • \n

    \n CRC-64NVME\n

    \n
  • \n
  • \n

    \n SHA-1\n

    \n
  • \n
  • \n

    \n SHA-256\n

    \n
  • \n
\n

For more\n information, see Checking object integrity in\n the Amazon S3 User Guide.

\n

If the individual checksum value you provide through x-amz-checksum-algorithm\n doesn't match the checksum algorithm you set through x-amz-sdk-checksum-algorithm, Amazon S3 fails the request with a BadDigest error.

\n \n

The Content-MD5 or x-amz-sdk-checksum-algorithm header is\n required for any request to upload an object with a retention period configured using\n Amazon S3 Object Lock. For more information, see Uploading objects to an Object Lock enabled bucket in the\n Amazon S3 User Guide.

\n
\n

For directory buckets, when you use Amazon Web Services SDKs, CRC32 is the default checksum algorithm that's used for performance.

", "smithy.api#httpHeader": "x-amz-sdk-checksum-algorithm" } }, "ChecksumCRC32": { "target": "com.amazonaws.s3#ChecksumCRC32", "traits": { - "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the base64-encoded, 32-bit CRC-32 checksum of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.

", + "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the Base64 encoded, 32-bit CRC-32 checksum of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.

", "smithy.api#httpHeader": "x-amz-checksum-crc32" } }, "ChecksumCRC32C": { "target": "com.amazonaws.s3#ChecksumCRC32C", "traits": { - "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the base64-encoded, 32-bit CRC-32C checksum of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.

", + "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the Base64 encoded, 32-bit CRC-32C checksum of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.

", "smithy.api#httpHeader": "x-amz-checksum-crc32c" } }, + "ChecksumCRC64NVME": { + "target": "com.amazonaws.s3#ChecksumCRC64NVME", + "traits": { + "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is\n the same data that was originally sent. This header specifies the Base64 encoded, 64-bit\n CRC-64NVME checksum of the object. The CRC-64NVME checksum is\n always a full object checksum. For more information, see Checking object integrity\n in the Amazon S3 User Guide.

", + "smithy.api#httpHeader": "x-amz-checksum-crc64nvme" + } + }, "ChecksumSHA1": { "target": "com.amazonaws.s3#ChecksumSHA1", "traits": { - "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the base64-encoded, 160-bit SHA-1 digest of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.

", + "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the Base64 encoded, 160-bit SHA-1 digest of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.

", "smithy.api#httpHeader": "x-amz-checksum-sha1" } }, "ChecksumSHA256": { "target": "com.amazonaws.s3#ChecksumSHA256", "traits": { - "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the base64-encoded, 256-bit SHA-256 digest of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.

", + "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the Base64 encoded, 256-bit SHA-256 digest of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.

", "smithy.api#httpHeader": "x-amz-checksum-sha256" } }, @@ -33297,7 +33495,7 @@ "SSEKMSEncryptionContext": { "target": "com.amazonaws.s3#SSEKMSEncryptionContext", "traits": { - "smithy.api#documentation": "

Specifies the Amazon Web Services KMS Encryption Context as an additional encryption context to use for object encryption. The value of\n this header is a Base64-encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs. \n This value is stored as object metadata and automatically gets passed on\n to Amazon Web Services KMS for future GetObject operations on\n this object.

\n

\n General purpose buckets - This value must be explicitly added during CopyObject operations if you want an additional encryption context for your object. For more information, see Encryption context in the Amazon S3 User Guide.

\n

\n Directory buckets - You can optionally provide an explicit encryption context value. The value must match the default encryption context - the bucket Amazon Resource Name (ARN). An additional encryption context value is not supported.

", + "smithy.api#documentation": "

Specifies the Amazon Web Services KMS Encryption Context as an additional encryption context to use for object encryption. The value of\n this header is a Base64 encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs. \n This value is stored as object metadata and automatically gets passed on\n to Amazon Web Services KMS for future GetObject operations on\n this object.

\n

\n General purpose buckets - This value must be explicitly added during CopyObject operations if you want an additional encryption context for your object. For more information, see Encryption context in the Amazon S3 User Guide.

\n

\n Directory buckets - You can optionally provide an explicit encryption context value. The value must match the default encryption context - the bucket Amazon Resource Name (ARN). An additional encryption context value is not supported.

", "smithy.api#httpHeader": "x-amz-server-side-encryption-context" } }, @@ -35611,7 +35809,7 @@ "aws.protocols#httpChecksum": { "requestAlgorithmMember": "ChecksumAlgorithm" }, - "smithy.api#documentation": "

Uploads a part in a multipart upload.

\n \n

In this operation, you provide new data as a part of an object in your request.\n However, you have an option to specify your existing Amazon S3 object as a data source for\n the part you are uploading. To upload a part from an existing object, you use the UploadPartCopy operation.

\n
\n

You must initiate a multipart upload (see CreateMultipartUpload)\n before you can upload any part. In response to your initiate request, Amazon S3 returns an\n upload ID, a unique identifier that you must include in your upload part request.

\n

Part numbers can be any number from 1 to 10,000, inclusive. A part number uniquely\n identifies a part and also defines its position within the object being created. If you\n upload a new part using the same part number that was used with a previous part, the\n previously uploaded part is overwritten.

\n

For information about maximum and minimum part sizes and other multipart upload\n specifications, see Multipart upload limits in the Amazon S3 User Guide.

\n \n

After you initiate multipart upload and upload one or more parts, you must either\n complete or abort multipart upload in order to stop getting charged for storage of the\n uploaded parts. Only after you either complete or abort multipart upload, Amazon S3 frees up\n the parts storage and stops charging you for the parts storage.

\n
\n

For more information on multipart uploads, go to Multipart Upload Overview in the\n Amazon S3 User Guide .

\n \n

\n Directory buckets -\n For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name\n . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the\n Amazon S3 User Guide.

\n
\n
\n
Permissions
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - To\n perform a multipart upload with encryption using an Key Management Service key, the\n requester must have permission to the kms:Decrypt and\n kms:GenerateDataKey actions on the key. The requester must\n also have permissions for the kms:GenerateDataKey action for\n the CreateMultipartUpload API. Then, the requester needs\n permissions for the kms:Decrypt action on the\n UploadPart and UploadPartCopy APIs.

    \n

    These permissions are required because Amazon S3 must decrypt and read data\n from the encrypted file parts before it completes the multipart upload. For\n more information about KMS permissions, see Protecting data\n using server-side encryption with KMS in the\n Amazon S3 User Guide. For information about the\n permissions required to use the multipart upload API, see Multipart upload and permissions and Multipart upload API and permissions in the\n Amazon S3 User Guide.

    \n
  • \n
  • \n

    \n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession\n .

    \n

    If the object is encrypted with SSE-KMS, you must also have the\n kms:GenerateDataKey and kms:Decrypt permissions\n in IAM identity-based policies and KMS key policies for the KMS\n key.

    \n
  • \n
\n
\n
Data integrity
\n
\n

\n General purpose bucket - To ensure that data\n is not corrupted traversing the network, specify the Content-MD5\n header in the upload part request. Amazon S3 checks the part data against the provided\n MD5 value. If they do not match, Amazon S3 returns an error. If the upload request is\n signed with Signature Version 4, then Amazon Web Services S3 uses the\n x-amz-content-sha256 header as a checksum instead of\n Content-MD5. For more information see Authenticating Requests: Using the Authorization Header (Amazon Web Services Signature\n Version 4).

\n \n

\n Directory buckets - MD5 is not supported by directory buckets. You can use checksum algorithms to check object integrity.

\n
\n
\n
Encryption
\n
\n
    \n
  • \n

    \n General purpose bucket - Server-side\n encryption is for data encryption at rest. Amazon S3 encrypts your data as it\n writes it to disks in its data centers and decrypts it when you access it.\n You have mutually exclusive options to protect data using server-side\n encryption in Amazon S3, depending on how you choose to manage the encryption\n keys. Specifically, the encryption key options are Amazon S3 managed keys\n (SSE-S3), Amazon Web Services KMS keys (SSE-KMS), and Customer-Provided Keys (SSE-C).\n Amazon S3 encrypts data with server-side encryption using Amazon S3 managed keys\n (SSE-S3) by default. You can optionally tell Amazon S3 to encrypt data at rest\n using server-side encryption with other key options. The option you use\n depends on whether you want to use KMS keys (SSE-KMS) or provide your own\n encryption key (SSE-C).

    \n

    Server-side encryption is supported by the S3 Multipart Upload\n operations. Unless you are using a customer-provided encryption key (SSE-C),\n you don't need to specify the encryption parameters in each UploadPart\n request. Instead, you only need to specify the server-side encryption\n parameters in the initial Initiate Multipart request. For more information,\n see CreateMultipartUpload.

    \n

    If you request server-side encryption using a customer-provided\n encryption key (SSE-C) in your initiate multipart upload request, you must\n provide identical encryption information in each part upload using the\n following request headers.

    \n
      \n
    • \n

      x-amz-server-side-encryption-customer-algorithm

      \n
    • \n
    • \n

      x-amz-server-side-encryption-customer-key

      \n
    • \n
    • \n

      x-amz-server-side-encryption-customer-key-MD5

      \n
    • \n
    \n

    For more information, see Using\n Server-Side Encryption in the\n Amazon S3 User Guide.

    \n
  • \n
  • \n

    \n Directory buckets -\n For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256) and server-side encryption with KMS keys (SSE-KMS) (aws:kms).

    \n
  • \n
\n
\n
Special errors
\n
\n
    \n
  • \n

    Error Code: NoSuchUpload\n

    \n
      \n
    • \n

      Description: The specified multipart upload does not exist. The\n upload ID might be invalid, or the multipart upload might have been\n aborted or completed.

      \n
    • \n
    • \n

      HTTP Status Code: 404 Not Found

      \n
    • \n
    • \n

      SOAP Fault Code Prefix: Client

      \n
    • \n
    \n
  • \n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is \n Bucket-name.s3express-zone-id.region-code.amazonaws.com.

\n
\n
\n

The following operations are related to UploadPart:

\n ", + "smithy.api#documentation": "

Uploads a part in a multipart upload.

\n \n

In this operation, you provide new data as a part of an object in your request.\n However, you have an option to specify your existing Amazon S3 object as a data source for\n the part you are uploading. To upload a part from an existing object, you use the UploadPartCopy operation.

\n
\n

You must initiate a multipart upload (see CreateMultipartUpload)\n before you can upload any part. In response to your initiate request, Amazon S3 returns an\n upload ID, a unique identifier that you must include in your upload part request.

\n

Part numbers can be any number from 1 to 10,000, inclusive. A part number uniquely\n identifies a part and also defines its position within the object being created. If you\n upload a new part using the same part number that was used with a previous part, the\n previously uploaded part is overwritten.

\n

For information about maximum and minimum part sizes and other multipart upload\n specifications, see Multipart upload limits in the Amazon S3 User Guide.

\n \n

After you initiate multipart upload and upload one or more parts, you must either\n complete or abort multipart upload in order to stop getting charged for storage of the\n uploaded parts. Only after you either complete or abort multipart upload, Amazon S3 frees up\n the parts storage and stops charging you for the parts storage.

\n
\n

For more information on multipart uploads, go to Multipart Upload Overview in the\n Amazon S3 User Guide .

\n \n

\n Directory buckets -\n For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name\n . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Available Local Zone for directory buckets in the\n Amazon S3 User Guide.

\n
\n
\n
Permissions
\n
\n
    \n
  • \n

    \n General purpose bucket permissions - To\n perform a multipart upload with encryption using an Key Management Service key, the\n requester must have permission to the kms:Decrypt and\n kms:GenerateDataKey actions on the key. The requester must\n also have permissions for the kms:GenerateDataKey action for\n the CreateMultipartUpload API. Then, the requester needs\n permissions for the kms:Decrypt action on the\n UploadPart and UploadPartCopy APIs.

    \n

    These permissions are required because Amazon S3 must decrypt and read data\n from the encrypted file parts before it completes the multipart upload. For\n more information about KMS permissions, see Protecting data\n using server-side encryption with KMS in the\n Amazon S3 User Guide. For information about the\n permissions required to use the multipart upload API, see Multipart upload and permissions and Multipart upload API and permissions in the\n Amazon S3 User Guide.

    \n
  • \n
  • \n

    \n Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the \n CreateSession\n API operation for session-based authorization. Specifically, you grant the s3express:CreateSession permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession API call to generate a new session token for use. \nAmazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see \n CreateSession\n .

    \n

    If the object is encrypted with SSE-KMS, you must also have the\n kms:GenerateDataKey and kms:Decrypt permissions\n in IAM identity-based policies and KMS key policies for the KMS\n key.

    \n
  • \n
\n
\n
Data integrity
\n
\n

\n General purpose bucket - To ensure that data\n is not corrupted traversing the network, specify the Content-MD5\n header in the upload part request. Amazon S3 checks the part data against the provided\n MD5 value. If they do not match, Amazon S3 returns an error. If the upload request is\n signed with Signature Version 4, then Amazon Web Services S3 uses the\n x-amz-content-sha256 header as a checksum instead of\n Content-MD5. For more information see Authenticating Requests: Using the Authorization Header (Amazon Web Services Signature\n Version 4).

\n \n

\n Directory buckets - MD5 is not supported by directory buckets. You can use checksum algorithms to check object integrity.

\n
\n
\n
Encryption
\n
\n
    \n
  • \n

    \n General purpose bucket - Server-side\n encryption is for data encryption at rest. Amazon S3 encrypts your data as it\n writes it to disks in its data centers and decrypts it when you access it.\n You have mutually exclusive options to protect data using server-side\n encryption in Amazon S3, depending on how you choose to manage the encryption\n keys. Specifically, the encryption key options are Amazon S3 managed keys\n (SSE-S3), Amazon Web Services KMS keys (SSE-KMS), and Customer-Provided Keys (SSE-C).\n Amazon S3 encrypts data with server-side encryption using Amazon S3 managed keys\n (SSE-S3) by default. You can optionally tell Amazon S3 to encrypt data at rest\n using server-side encryption with other key options. The option you use\n depends on whether you want to use KMS keys (SSE-KMS) or provide your own\n encryption key (SSE-C).

    \n

    Server-side encryption is supported by the S3 Multipart Upload\n operations. Unless you are using a customer-provided encryption key (SSE-C),\n you don't need to specify the encryption parameters in each UploadPart\n request. Instead, you only need to specify the server-side encryption\n parameters in the initial Initiate Multipart request. For more information,\n see CreateMultipartUpload.

    \n

    If you request server-side encryption using a customer-provided\n encryption key (SSE-C) in your initiate multipart upload request, you must\n provide identical encryption information in each part upload using the\n following request headers.

    \n
      \n
    • \n

      x-amz-server-side-encryption-customer-algorithm

      \n
    • \n
    • \n

      x-amz-server-side-encryption-customer-key

      \n
    • \n
    • \n

      x-amz-server-side-encryption-customer-key-MD5

      \n
    • \n
    \n

    For more information, see Using\n Server-Side Encryption in the\n Amazon S3 User Guide.

    \n
  • \n
  • \n

    \n Directory buckets -\n For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256) and server-side encryption with KMS keys (SSE-KMS) (aws:kms).

    \n
  • \n
\n
\n
Special errors
\n
\n
    \n
  • \n

    Error Code: NoSuchUpload\n

    \n
      \n
    • \n

      Description: The specified multipart upload does not exist. The\n upload ID might be invalid, or the multipart upload might have been\n aborted or completed.

      \n
    • \n
    • \n

      HTTP Status Code: 404 Not Found

      \n
    • \n
    • \n

      SOAP Fault Code Prefix: Client

      \n
    • \n
    \n
  • \n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is \n Bucket-name.s3express-zone-id.region-code.amazonaws.com.

\n
\n
\n

The following operations are related to UploadPart:

\n ", "smithy.api#examples": [ { "title": "To upload a part", @@ -35644,7 +35842,7 @@ "target": "com.amazonaws.s3#UploadPartCopyOutput" }, "traits": { - "smithy.api#documentation": "

Uploads a part by copying data from an existing object as data source. To specify the\n data source, you add the request header x-amz-copy-source in your request. To\n specify a byte range, you add the request header x-amz-copy-source-range in\n your request.

\n

For information about maximum and minimum part sizes and other multipart upload\n specifications, see Multipart upload limits in the Amazon S3 User Guide.

\n \n

Instead of copying data from an existing object as part data, you might use the\n UploadPart action to upload new data as a part of an object in your\n request.

\n
\n

You must initiate a multipart upload before you can upload any part. In response to your\n initiate request, Amazon S3 returns the upload ID, a unique identifier that you must include in\n your upload part request.

\n

For conceptual information about multipart uploads, see Uploading Objects Using Multipart\n Upload in the Amazon S3 User Guide. For information about\n copying objects using a single atomic action vs. a multipart upload, see Operations on\n Objects in the Amazon S3 User Guide.

\n \n

\n Directory buckets -\n For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name\n . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Concepts for directory buckets in Local Zones in the\n Amazon S3 User Guide.

\n
\n
\n
Authentication and authorization
\n
\n

All UploadPartCopy requests must be authenticated and signed by\n using IAM credentials (access key ID and secret access key for the IAM\n identities). All headers with the x-amz- prefix, including\n x-amz-copy-source, must be signed. For more information, see\n REST Authentication.

\n

\n Directory buckets - You must use IAM\n credentials to authenticate and authorize your access to the\n UploadPartCopy API operation, instead of using the temporary\n security credentials through the CreateSession API operation.

\n

Amazon Web Services CLI or SDKs handles authentication and authorization on your\n behalf.

\n
\n
Permissions
\n
\n

You must have READ access to the source object and\n WRITE access to the destination bucket.

\n
    \n
  • \n

    \n General purpose bucket permissions - You\n must have the permissions in a policy based on the bucket types of your\n source bucket and destination bucket in an UploadPartCopy\n operation.

    \n
      \n
    • \n

      If the source object is in a general purpose bucket, you must have the\n \n s3:GetObject\n \n permission to read the source object that is being copied.

      \n
    • \n
    • \n

      If the destination bucket is a general purpose bucket, you must have the\n \n s3:PutObject\n \n permission to write the object copy to the destination bucket.

      \n
    • \n
    • \n

      To perform a multipart upload with encryption using an Key Management Service\n key, the requester must have permission to the\n kms:Decrypt and kms:GenerateDataKey\n actions on the key. The requester must also have permissions for the\n kms:GenerateDataKey action for the\n CreateMultipartUpload API. Then, the requester needs\n permissions for the kms:Decrypt action on the\n UploadPart and UploadPartCopy APIs. These\n permissions are required because Amazon S3 must decrypt and read data from\n the encrypted file parts before it completes the multipart upload. For\n more information about KMS permissions, see Protecting\n data using server-side encryption with KMS in the\n Amazon S3 User Guide. For information about the\n permissions required to use the multipart upload API, see Multipart upload\n and permissions and Multipart upload API and permissions in the\n Amazon S3 User Guide.

      \n
    • \n
    \n
  • \n
  • \n

    \n Directory bucket permissions -\n You must have permissions in a bucket policy or an IAM identity-based policy based on the\n source and destination bucket types in an UploadPartCopy\n operation.

    \n
      \n
    • \n

      If the source object that you want to copy is in a\n directory bucket, you must have the \n s3express:CreateSession\n permission in\n the Action element of a policy to read the object. By\n default, the session is in the ReadWrite mode. If you\n want to restrict the access, you can explicitly set the\n s3express:SessionMode condition key to\n ReadOnly on the copy source bucket.

      \n
    • \n
    • \n

      If the copy destination is a directory bucket, you must have the\n \n s3express:CreateSession\n permission in the\n Action element of a policy to write the object to the\n destination. The s3express:SessionMode condition key\n cannot be set to ReadOnly on the copy destination.\n

      \n
    • \n
    \n

    If the object is encrypted with SSE-KMS, you must also have the\n kms:GenerateDataKey and kms:Decrypt permissions\n in IAM identity-based policies and KMS key policies for the KMS\n key.

    \n

    For example policies, see Example bucket policies for S3 Express One Zone and Amazon Web Services Identity and Access Management (IAM) identity-based policies for\n S3 Express One Zone in the Amazon S3 User Guide.

    \n
  • \n
\n
\n
Encryption
\n
\n
    \n
  • \n

    \n General purpose buckets -\n For information about using\n server-side encryption with customer-provided encryption keys with the\n UploadPartCopy operation, see CopyObject and\n UploadPart.

    \n
  • \n
  • \n

    \n Directory buckets -\n For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256) and server-side encryption with KMS keys (SSE-KMS) (aws:kms). For more\n information, see Protecting data with server-side encryption in the Amazon S3 User Guide.

    \n \n

    For directory buckets, when you perform a\n CreateMultipartUpload operation and an\n UploadPartCopy operation, the request headers you provide\n in the CreateMultipartUpload request must match the default\n encryption configuration of the destination bucket.

    \n
    \n

    S3 Bucket Keys aren't supported, when you copy SSE-KMS encrypted objects from general purpose buckets \nto directory buckets, from directory buckets to general purpose buckets, or between directory buckets, through UploadPartCopy. In this case, Amazon S3 makes a call to KMS every time a copy request is made for a KMS-encrypted object.

    \n
  • \n
\n
\n
Special errors
\n
\n
    \n
  • \n

    Error Code: NoSuchUpload\n

    \n
      \n
    • \n

      Description: The specified multipart upload does not exist. The\n upload ID might be invalid, or the multipart upload might have been\n aborted or completed.

      \n
    • \n
    • \n

      HTTP Status Code: 404 Not Found

      \n
    • \n
    \n
  • \n
  • \n

    Error Code: InvalidRequest\n

    \n
      \n
    • \n

      Description: The specified copy source is not supported as a\n byte-range copy source.

      \n
    • \n
    • \n

      HTTP Status Code: 400 Bad Request

      \n
    • \n
    \n
  • \n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is \n Bucket-name.s3express-zone-id.region-code.amazonaws.com.

\n
\n
\n

The following operations are related to UploadPartCopy:

\n ", + "smithy.api#documentation": "

Uploads a part by copying data from an existing object as data source. To specify the\n data source, you add the request header x-amz-copy-source in your request. To\n specify a byte range, you add the request header x-amz-copy-source-range in\n your request.

\n

For information about maximum and minimum part sizes and other multipart upload\n specifications, see Multipart upload limits in the Amazon S3 User Guide.

\n \n

Instead of copying data from an existing object as part data, you might use the\n UploadPart action to upload new data as a part of an object in your\n request.

\n
\n

You must initiate a multipart upload before you can upload any part. In response to your\n initiate request, Amazon S3 returns the upload ID, a unique identifier that you must include in\n your upload part request.

\n

For conceptual information about multipart uploads, see Uploading Objects Using Multipart\n Upload in the Amazon S3 User Guide. For information about\n copying objects using a single atomic action vs. a multipart upload, see Operations on\n Objects in the Amazon S3 User Guide.

\n \n

\n Directory buckets -\n For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket-name.s3express-zone-id.region-code.amazonaws.com/key-name\n . Path-style requests are not supported. For more information about endpoints in Availability Zones, see Regional and Zonal endpoints for directory buckets in Availability Zones in the\n Amazon S3 User Guide. For more information about endpoints in Local Zones, see Available Local Zone for directory buckets in the\n Amazon S3 User Guide.

\n
\n
\n
Authentication and authorization
\n
\n

All UploadPartCopy requests must be authenticated and signed by\n using IAM credentials (access key ID and secret access key for the IAM\n identities). All headers with the x-amz- prefix, including\n x-amz-copy-source, must be signed. For more information, see\n REST Authentication.

\n

\n Directory buckets - You must use IAM\n credentials to authenticate and authorize your access to the\n UploadPartCopy API operation, instead of using the temporary\n security credentials through the CreateSession API operation.

\n

Amazon Web Services CLI or SDKs handles authentication and authorization on your\n behalf.

\n
\n
Permissions
\n
\n

You must have READ access to the source object and\n WRITE access to the destination bucket.

\n
    \n
  • \n

    \n General purpose bucket permissions - You\n must have the permissions in a policy based on the bucket types of your\n source bucket and destination bucket in an UploadPartCopy\n operation.

    \n
      \n
    • \n

      If the source object is in a general purpose bucket, you must have the\n \n s3:GetObject\n \n permission to read the source object that is being copied.

      \n
    • \n
    • \n

      If the destination bucket is a general purpose bucket, you must have the\n \n s3:PutObject\n \n permission to write the object copy to the destination bucket.

      \n
    • \n
    • \n

      To perform a multipart upload with encryption using an Key Management Service\n key, the requester must have permission to the\n kms:Decrypt and kms:GenerateDataKey\n actions on the key. The requester must also have permissions for the\n kms:GenerateDataKey action for the\n CreateMultipartUpload API. Then, the requester needs\n permissions for the kms:Decrypt action on the\n UploadPart and UploadPartCopy APIs. These\n permissions are required because Amazon S3 must decrypt and read data from\n the encrypted file parts before it completes the multipart upload. For\n more information about KMS permissions, see Protecting\n data using server-side encryption with KMS in the\n Amazon S3 User Guide. For information about the\n permissions required to use the multipart upload API, see Multipart upload\n and permissions and Multipart upload API and permissions in the\n Amazon S3 User Guide.

      \n
    • \n
    \n
  • \n
  • \n

    \n Directory bucket permissions -\n You must have permissions in a bucket policy or an IAM identity-based policy based on the\n source and destination bucket types in an UploadPartCopy\n operation.

    \n
      \n
    • \n

      If the source object that you want to copy is in a\n directory bucket, you must have the \n s3express:CreateSession\n permission in\n the Action element of a policy to read the object. By\n default, the session is in the ReadWrite mode. If you\n want to restrict the access, you can explicitly set the\n s3express:SessionMode condition key to\n ReadOnly on the copy source bucket.

      \n
    • \n
    • \n

      If the copy destination is a directory bucket, you must have the\n \n s3express:CreateSession\n permission in the\n Action element of a policy to write the object to the\n destination. The s3express:SessionMode condition key\n cannot be set to ReadOnly on the copy destination.\n

      \n
    • \n
    \n

    If the object is encrypted with SSE-KMS, you must also have the\n kms:GenerateDataKey and kms:Decrypt permissions\n in IAM identity-based policies and KMS key policies for the KMS\n key.

    \n

    For example policies, see Example bucket policies for S3 Express One Zone and Amazon Web Services Identity and Access Management (IAM) identity-based policies for\n S3 Express One Zone in the Amazon S3 User Guide.

    \n
  • \n
\n
\n
Encryption
\n
\n
    \n
  • \n

    \n General purpose buckets -\n For information about using\n server-side encryption with customer-provided encryption keys with the\n UploadPartCopy operation, see CopyObject and\n UploadPart.

    \n
  • \n
  • \n

    \n Directory buckets -\n For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256) and server-side encryption with KMS keys (SSE-KMS) (aws:kms). For more\n information, see Protecting data with server-side encryption in the Amazon S3 User Guide.

    \n \n

    For directory buckets, when you perform a\n CreateMultipartUpload operation and an\n UploadPartCopy operation, the request headers you provide\n in the CreateMultipartUpload request must match the default\n encryption configuration of the destination bucket.

    \n
    \n

    S3 Bucket Keys aren't supported, when you copy SSE-KMS encrypted objects from general purpose buckets \nto directory buckets, from directory buckets to general purpose buckets, or between directory buckets, through UploadPartCopy. In this case, Amazon S3 makes a call to KMS every time a copy request is made for a KMS-encrypted object.

    \n
  • \n
\n
\n
Special errors
\n
\n
    \n
  • \n

    Error Code: NoSuchUpload\n

    \n
      \n
    • \n

      Description: The specified multipart upload does not exist. The\n upload ID might be invalid, or the multipart upload might have been\n aborted or completed.

      \n
    • \n
    • \n

      HTTP Status Code: 404 Not Found

      \n
    • \n
    \n
  • \n
  • \n

    Error Code: InvalidRequest\n

    \n
      \n
    • \n

      Description: The specified copy source is not supported as a\n byte-range copy source.

      \n
    • \n
    • \n

      HTTP Status Code: 400 Bad Request

      \n
    • \n
    \n
  • \n
\n
\n
HTTP Host header syntax
\n
\n

\n Directory buckets - The HTTP Host header syntax is \n Bucket-name.s3express-zone-id.region-code.amazonaws.com.

\n
\n
\n

The following operations are related to UploadPartCopy:

\n ", "smithy.api#examples": [ { "title": "To upload a part by copying byte range from an existing object as data source", @@ -35925,28 +36123,35 @@ "ChecksumCRC32": { "target": "com.amazonaws.s3#ChecksumCRC32", "traits": { - "smithy.api#documentation": "

The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

", + "smithy.api#documentation": "

The Base64 encoded, 32-bit CRC-32 checksum of the object. This checksum is only be present if the checksum was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

", "smithy.api#httpHeader": "x-amz-checksum-crc32" } }, "ChecksumCRC32C": { "target": "com.amazonaws.s3#ChecksumCRC32C", "traits": { - "smithy.api#documentation": "

The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

", + "smithy.api#documentation": "

The Base64 encoded, 32-bit CRC-32C checksum of the object. This checksum is only present if the checksum was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

", "smithy.api#httpHeader": "x-amz-checksum-crc32c" } }, + "ChecksumCRC64NVME": { + "target": "com.amazonaws.s3#ChecksumCRC64NVME", + "traits": { + "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is\n the same data that was originally sent. This header specifies the Base64 encoded, 64-bit\n CRC-64NVME checksum of the part. For more information, see Checking object integrity in the Amazon S3 User Guide.

", + "smithy.api#httpHeader": "x-amz-checksum-crc64nvme" + } + }, "ChecksumSHA1": { "target": "com.amazonaws.s3#ChecksumSHA1", "traits": { - "smithy.api#documentation": "

The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded\n with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

", + "smithy.api#documentation": "

The Base64 encoded, 160-bit SHA-1 digest of the object. This will only be present if the object was uploaded\n with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

", "smithy.api#httpHeader": "x-amz-checksum-sha1" } }, "ChecksumSHA256": { "target": "com.amazonaws.s3#ChecksumSHA256", "traits": { - "smithy.api#documentation": "

The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

", + "smithy.api#documentation": "

The Base64 encoded, 256-bit SHA-256 digest of the object. This will only be present if the object was uploaded\n with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated\n with multipart uploads, see \n Checking object integrity in the Amazon S3 User Guide.

", "smithy.api#httpHeader": "x-amz-checksum-sha256" } }, @@ -36021,7 +36226,7 @@ "ContentMD5": { "target": "com.amazonaws.s3#ContentMD5", "traits": { - "smithy.api#documentation": "

The base64-encoded 128-bit MD5 digest of the part data. This parameter is auto-populated\n when using the command from the CLI. This parameter is required if object lock parameters\n are specified.

\n \n

This functionality is not supported for directory buckets.

\n
", + "smithy.api#documentation": "

The Base64 encoded 128-bit MD5 digest of the part data. This parameter is auto-populated\n when using the command from the CLI. This parameter is required if object lock parameters\n are specified.

\n \n

This functionality is not supported for directory buckets.

\n
", "smithy.api#httpHeader": "Content-MD5" } }, @@ -36035,28 +36240,35 @@ "ChecksumCRC32": { "target": "com.amazonaws.s3#ChecksumCRC32", "traits": { - "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the base64-encoded, 32-bit CRC-32 checksum of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.

", + "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the Base64 encoded, 32-bit CRC-32 checksum of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.

", "smithy.api#httpHeader": "x-amz-checksum-crc32" } }, "ChecksumCRC32C": { "target": "com.amazonaws.s3#ChecksumCRC32C", "traits": { - "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the base64-encoded, 32-bit CRC-32C checksum of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.

", + "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the Base64 encoded, 32-bit CRC-32C checksum of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.

", "smithy.api#httpHeader": "x-amz-checksum-crc32c" } }, + "ChecksumCRC64NVME": { + "target": "com.amazonaws.s3#ChecksumCRC64NVME", + "traits": { + "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is\n the same data that was originally sent. This header specifies the Base64 encoded, 64-bit\n CRC-64NVME checksum of the part. For more information, see Checking object integrity in the Amazon S3 User Guide.

", + "smithy.api#httpHeader": "x-amz-checksum-crc64nvme" + } + }, "ChecksumSHA1": { "target": "com.amazonaws.s3#ChecksumSHA1", "traits": { - "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the base64-encoded, 160-bit SHA-1 digest of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.

", + "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the Base64 encoded, 160-bit SHA-1 digest of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.

", "smithy.api#httpHeader": "x-amz-checksum-sha1" } }, "ChecksumSHA256": { "target": "com.amazonaws.s3#ChecksumSHA256", "traits": { - "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the base64-encoded, 256-bit SHA-256 digest of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.

", + "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.\n This header specifies the Base64 encoded, 256-bit SHA-256 digest of the object. For more information, see\n Checking object integrity in the\n Amazon S3 User Guide.

", "smithy.api#httpHeader": "x-amz-checksum-sha256" } }, @@ -36337,28 +36549,35 @@ "ChecksumCRC32": { "target": "com.amazonaws.s3#ChecksumCRC32", "traits": { - "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is\n the same data that was originally sent. This specifies the base64-encoded, 32-bit CRC-32\n checksum of the object returned by the Object Lambda function. This may not match the\n checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values\n only when the original GetObject request required checksum validation. For\n more information about checksums, see Checking object\n integrity in the Amazon S3 User Guide.

\n

Only one checksum header can be specified at a time. If you supply multiple checksum\n headers, this request will fail.

\n

", + "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is\n the same data that was originally sent. This specifies the Base64 encoded, 32-bit CRC-32\n checksum of the object returned by the Object Lambda function. This may not match the\n checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values\n only when the original GetObject request required checksum validation. For\n more information about checksums, see Checking object\n integrity in the Amazon S3 User Guide.

\n

Only one checksum header can be specified at a time. If you supply multiple checksum\n headers, this request will fail.

\n

", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-checksum-crc32" } }, "ChecksumCRC32C": { "target": "com.amazonaws.s3#ChecksumCRC32C", "traits": { - "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is\n the same data that was originally sent. This specifies the base64-encoded, 32-bit CRC-32C\n checksum of the object returned by the Object Lambda function. This may not match the\n checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values\n only when the original GetObject request required checksum validation. For\n more information about checksums, see Checking object\n integrity in the Amazon S3 User Guide.

\n

Only one checksum header can be specified at a time. If you supply multiple checksum\n headers, this request will fail.

", + "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is\n the same data that was originally sent. This specifies the Base64 encoded, 32-bit CRC-32C\n checksum of the object returned by the Object Lambda function. This may not match the\n checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values\n only when the original GetObject request required checksum validation. For\n more information about checksums, see Checking object\n integrity in the Amazon S3 User Guide.

\n

Only one checksum header can be specified at a time. If you supply multiple checksum\n headers, this request will fail.

", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-checksum-crc32c" } }, + "ChecksumCRC64NVME": { + "target": "com.amazonaws.s3#ChecksumCRC64NVME", + "traits": { + "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is\n the same data that was originally sent. This header specifies the Base64 encoded, 64-bit\n CRC-64NVME checksum of the part. For more information, see Checking object integrity in the Amazon S3 User Guide.

", + "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-checksum-crc64nvme" + } + }, "ChecksumSHA1": { "target": "com.amazonaws.s3#ChecksumSHA1", "traits": { - "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is\n the same data that was originally sent. This specifies the base64-encoded, 160-bit SHA-1\n digest of the object returned by the Object Lambda function. This may not match the\n checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values\n only when the original GetObject request required checksum validation. For\n more information about checksums, see Checking object\n integrity in the Amazon S3 User Guide.

\n

Only one checksum header can be specified at a time. If you supply multiple checksum\n headers, this request will fail.

", + "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is\n the same data that was originally sent. This specifies the Base64 encoded, 160-bit SHA-1\n digest of the object returned by the Object Lambda function. This may not match the\n checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values\n only when the original GetObject request required checksum validation. For\n more information about checksums, see Checking object\n integrity in the Amazon S3 User Guide.

\n

Only one checksum header can be specified at a time. If you supply multiple checksum\n headers, this request will fail.

", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-checksum-sha1" } }, "ChecksumSHA256": { "target": "com.amazonaws.s3#ChecksumSHA256", "traits": { - "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is\n the same data that was originally sent. This specifies the base64-encoded, 256-bit SHA-256\n digest of the object returned by the Object Lambda function. This may not match the\n checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values\n only when the original GetObject request required checksum validation. For\n more information about checksums, see Checking object\n integrity in the Amazon S3 User Guide.

\n

Only one checksum header can be specified at a time. If you supply multiple checksum\n headers, this request will fail.

", + "smithy.api#documentation": "

This header can be used as a data integrity check to verify that the data received is\n the same data that was originally sent. This specifies the Base64 encoded, 256-bit SHA-256\n digest of the object returned by the Object Lambda function. This may not match the\n checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values\n only when the original GetObject request required checksum validation. For\n more information about checksums, see Checking object\n integrity in the Amazon S3 User Guide.

\n

Only one checksum header can be specified at a time. If you supply multiple checksum\n headers, this request will fail.

", "smithy.api#httpHeader": "x-amz-fwd-header-x-amz-checksum-sha256" } }, diff --git a/codegen/sdk-codegen/aws-models/sagemaker.json b/codegen/sdk-codegen/aws-models/sagemaker.json index 4de5958d5f6..fffed8fa9b4 100644 --- a/codegen/sdk-codegen/aws-models/sagemaker.json +++ b/codegen/sdk-codegen/aws-models/sagemaker.json @@ -59646,6 +59646,12 @@ "smithy.api#enumValue": "ml.p5en.48xlarge" } }, + "ML_TRN1_32XLARGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "ml.trn1.32xlarge" + } + }, "ML_TRN2_48XLARGE": { "target": "smithy.api#Unit", "traits": { diff --git a/codegen/sdk-codegen/aws-models/security-ir.json b/codegen/sdk-codegen/aws-models/security-ir.json index b52431e0286..368387ee414 100644 --- a/codegen/sdk-codegen/aws-models/security-ir.json +++ b/codegen/sdk-codegen/aws-models/security-ir.json @@ -4983,7 +4983,7 @@ "type": "string", "traits": { "smithy.api#length": { - "min": 0, + "min": 1, "max": 500 } } diff --git a/codegen/sdk-codegen/aws-models/sesv2.json b/codegen/sdk-codegen/aws-models/sesv2.json index b0dd599785a..cee7ee3e023 100644 --- a/codegen/sdk-codegen/aws-models/sesv2.json +++ b/codegen/sdk-codegen/aws-models/sesv2.json @@ -10173,6 +10173,12 @@ "traits": { "smithy.api#enumValue": "BIMI" } + }, + "COMPLAINT": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "COMPLAINT" + } } } }, diff --git a/codegen/sdk-codegen/aws-models/workspaces-thin-client.json b/codegen/sdk-codegen/aws-models/workspaces-thin-client.json index aa00d2b127d..9e0e1bfea5f 100644 --- a/codegen/sdk-codegen/aws-models/workspaces-thin-client.json +++ b/codegen/sdk-codegen/aws-models/workspaces-thin-client.json @@ -1710,7 +1710,8 @@ "type": { "target": "com.amazonaws.workspacesthinclient#MaintenanceWindowType", "traits": { - "smithy.api#documentation": "

An option to select the default or custom maintenance window.

" + "smithy.api#documentation": "

An option to select the default or custom maintenance window.

", + "smithy.api#required": {} } }, "startTimeHour": { diff --git a/codegen/sdk-codegen/aws-models/workspaces.json b/codegen/sdk-codegen/aws-models/workspaces.json index 890c67e04cf..b7fb435053d 100644 --- a/codegen/sdk-codegen/aws-models/workspaces.json +++ b/codegen/sdk-codegen/aws-models/workspaces.json @@ -1432,6 +1432,18 @@ "smithy.api#enumValue": "POWERPRO" } }, + "GENERALPURPOSE_4XLARGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GENERALPURPOSE_4XLARGE" + } + }, + "GENERALPURPOSE_8XLARGE": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "GENERALPURPOSE_8XLARGE" + } + }, "GRAPHICSPRO": { "target": "smithy.api#Unit", "traits": { diff --git a/codegen/sdk-codegen/sdk-endpoints.json b/codegen/sdk-codegen/sdk-endpoints.json index 37297d3cca1..0a4abace07a 100644 --- a/codegen/sdk-codegen/sdk-endpoints.json +++ b/codegen/sdk-codegen/sdk-endpoints.json @@ -2924,6 +2924,7 @@ "ap-southeast-3" : { }, "ap-southeast-4" : { }, "ap-southeast-5" : { }, + "ap-southeast-7" : { }, "ca-central-1" : { }, "ca-west-1" : { }, "eu-central-1" : { }, @@ -18597,26 +18598,126 @@ }, "resiliencehub" : { "endpoints" : { - "af-south-1" : { }, - "ap-east-1" : { }, - "ap-northeast-1" : { }, - "ap-northeast-2" : { }, - "ap-south-1" : { }, - "ap-southeast-1" : { }, - "ap-southeast-2" : { }, - "ca-central-1" : { }, - "eu-central-1" : { }, - "eu-north-1" : { }, - "eu-south-1" : { }, - "eu-west-1" : { }, - "eu-west-2" : { }, - "eu-west-3" : { }, - "me-south-1" : { }, - "sa-east-1" : { }, - "us-east-1" : { }, - "us-east-2" : { }, - "us-west-1" : { }, - "us-west-2" : { } + "af-south-1" : { + "variants" : [ { + "hostname" : "resiliencehub.af-south-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "ap-east-1" : { + "variants" : [ { + "hostname" : "resiliencehub.ap-east-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "ap-northeast-1" : { + "variants" : [ { + "hostname" : "resiliencehub.ap-northeast-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "ap-northeast-2" : { + "variants" : [ { + "hostname" : "resiliencehub.ap-northeast-2.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "ap-south-1" : { + "variants" : [ { + "hostname" : "resiliencehub.ap-south-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "ap-southeast-1" : { + "variants" : [ { + "hostname" : "resiliencehub.ap-southeast-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "ap-southeast-2" : { + "variants" : [ { + "hostname" : "resiliencehub.ap-southeast-2.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "ca-central-1" : { + "variants" : [ { + "hostname" : "resiliencehub.ca-central-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "eu-central-1" : { + "variants" : [ { + "hostname" : "resiliencehub.eu-central-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "eu-north-1" : { + "variants" : [ { + "hostname" : "resiliencehub.eu-north-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "eu-south-1" : { + "variants" : [ { + "hostname" : "resiliencehub.eu-south-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "eu-west-1" : { + "variants" : [ { + "hostname" : "resiliencehub.eu-west-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "eu-west-2" : { + "variants" : [ { + "hostname" : "resiliencehub.eu-west-2.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "eu-west-3" : { + "variants" : [ { + "hostname" : "resiliencehub.eu-west-3.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "me-south-1" : { + "variants" : [ { + "hostname" : "resiliencehub.me-south-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "sa-east-1" : { + "variants" : [ { + "hostname" : "resiliencehub.sa-east-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "us-east-1" : { + "variants" : [ { + "hostname" : "resiliencehub.us-east-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "us-east-2" : { + "variants" : [ { + "hostname" : "resiliencehub.us-east-2.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "us-west-1" : { + "variants" : [ { + "hostname" : "resiliencehub.us-west-1.api.aws", + "tags" : [ "dualstack" ] + } ] + }, + "us-west-2" : { + "variants" : [ { + "hostname" : "resiliencehub.us-west-2.api.aws", + "tags" : [ "dualstack" ] + } ] + } } }, "resource-explorer-2" : { @@ -18850,6 +18951,8 @@ "ap-southeast-2" : { }, "ap-southeast-3" : { }, "ap-southeast-4" : { }, + "ap-southeast-5" : { }, + "ap-southeast-7" : { }, "ca-central-1" : { }, "ca-west-1" : { }, "eu-central-1" : { }, @@ -18891,6 +18994,7 @@ "il-central-1" : { }, "me-central-1" : { }, "me-south-1" : { }, + "mx-central-1" : { }, "sa-east-1" : { }, "us-east-1" : { "variants" : [ { @@ -31216,12 +31320,24 @@ "variants" : [ { "hostname" : "resiliencehub-fips.us-gov-east-1.amazonaws.com", "tags" : [ "fips" ] + }, { + "hostname" : "resiliencehub-fips.us-gov-east-1.api.aws", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "resiliencehub.us-gov-east-1.api.aws", + "tags" : [ "dualstack" ] } ] }, "us-gov-west-1" : { "variants" : [ { "hostname" : "resiliencehub-fips.us-gov-west-1.amazonaws.com", "tags" : [ "fips" ] + }, { + "hostname" : "resiliencehub-fips.us-gov-west-1.api.aws", + "tags" : [ "dualstack", "fips" ] + }, { + "hostname" : "resiliencehub.us-gov-west-1.api.aws", + "tags" : [ "dualstack" ] } ] } } diff --git a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AWSHTTPProtocolCustomizations.kt b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AWSHTTPProtocolCustomizations.kt index e3c37fef9ba..10c9b58f4bc 100644 --- a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AWSHTTPProtocolCustomizations.kt +++ b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AWSHTTPProtocolCustomizations.kt @@ -25,8 +25,11 @@ import software.amazon.smithy.swift.codegen.model.isOutputEventStream abstract class AWSHTTPProtocolCustomizations : DefaultHTTPProtocolCustomizations() { override fun renderContextAttributes(ctx: ProtocolGenerator.GenerationContext, writer: SwiftWriter, serviceShape: ServiceShape, op: OperationShape) { - // FIXME handle indentation properly or do swift formatting after the fact + val config = AWSServiceConfig(writer, ctx) + if (config.serviceSpecificConfigProperties().any { it.memberName == "accountIdEndpointMode" }) { + writer.write(" .withAccountIDEndpointMode(value: config.accountIdEndpointMode)") + } writer.write(" .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: \$S)", "aws.auth#sigv4") writer.write(" .withIdentityResolver(value: config.awsCredentialIdentityResolver, schemeID: \$S)", "aws.auth#sigv4a") writer.write(" .withRegion(value: config.region)") @@ -69,7 +72,7 @@ abstract class AWSHTTPProtocolCustomizations : DefaultHTTPProtocolCustomizations return AWSHttpProtocolServiceClient(ctx, writer, serviceConfig) } - override val endpointMiddlewareSymbol: Symbol = AWSClientRuntimeTypes.Core.EndpointResolverMiddleware + override val endpointMiddlewareSymbol: Symbol = AWSClientRuntimeTypes.Core.AWSEndpointResolverMiddleware override val unknownServiceErrorSymbol: Symbol = AWSClientRuntimeTypes.Core.UnknownAWSHTTPServiceError } diff --git a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AWSHttpProtocolServiceClient.kt b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AWSHttpProtocolServiceClient.kt index ebdddcfc72b..300d7c0d7ba 100644 --- a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AWSHttpProtocolServiceClient.kt +++ b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AWSHttpProtocolServiceClient.kt @@ -5,6 +5,7 @@ package software.amazon.smithy.aws.swift.codegen +import software.amazon.smithy.aws.swift.codegen.swiftmodules.AWSClientRuntimeTypes import software.amazon.smithy.aws.swift.codegen.swiftmodules.AWSSDKIdentityTypes import software.amazon.smithy.codegen.core.Symbol import software.amazon.smithy.model.traits.HttpBearerAuthTrait @@ -44,8 +45,8 @@ class AWSHttpProtocolServiceClient( } override fun overrideConfigProperties(properties: List): List { - return properties.map { - when (it.name) { + return properties.mapNotNull { property -> + when (property.name) { "authSchemeResolver" -> { ConfigProperty("authSchemeResolver", SmithyHTTPAuthAPITypes.AuthSchemeResolver, authSchemeResolverDefaultProvider) } @@ -61,7 +62,7 @@ class AWSHttpProtocolServiceClient( true ) } else { - it + property } } "retryStrategyOptions" -> { @@ -100,7 +101,21 @@ class AWSHttpProtocolServiceClient( { it.format("AWSClientConfigDefaultsProvider.httpClientConfiguration()") }, ) } - else -> it + "accountId" -> null // do not expose accountId as a client config property + "accountIdEndpointMode" -> { // expose accountIdEndpointMode as a Swift string-backed enum + ConfigProperty( + "accountIdEndpointMode", + AWSClientRuntimeTypes.Core.AccountIDEndpointMode.toOptional(), + { writer -> + writer.format( + "\$N.accountIDEndpointMode()", + AWSClientRuntimeTypes.Core.AWSClientConfigDefaultsProvider, + ) + }, + true + ) + } + else -> property } } } @@ -119,28 +134,30 @@ class AWSHttpProtocolServiceClient( SwiftTypes.String, ) { writer.openBlock("self.init(", ")") { - renderProperties(properties, true) { - when (it.name) { + properties.forEach { property -> + when (property.name) { "region", "signingRegion" -> { - "region" + writer.write("region,") } "awsCredentialIdentityResolver" -> { - "try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver()" + writer.write("try AWSClientConfigDefaultsProvider.awsCredentialIdentityResolver(),") } "retryStrategyOptions" -> { - "try AWSClientConfigDefaultsProvider.retryStrategyOptions()" + writer.write("try AWSClientConfigDefaultsProvider.retryStrategyOptions(),") } "requestChecksumCalculation" -> { - "try AWSClientConfigDefaultsProvider.requestChecksumCalculation()" + writer.write("try AWSClientConfigDefaultsProvider.requestChecksumCalculation(),") } "responseChecksumValidation" -> { - "try AWSClientConfigDefaultsProvider.responseChecksumValidation()" + writer.write("try AWSClientConfigDefaultsProvider.responseChecksumValidation(),") } else -> { - it.default?.render(writer) ?: "nil" + writer.write("\$L,", property.default?.render(writer) ?: "nil") } } } + writer.unwrite(",\n") + writer.write("") } } writer.write("") @@ -148,13 +165,16 @@ class AWSHttpProtocolServiceClient( override fun renderPartitionID() { writer.openBlock("public var partitionID: String? {", "}") { - writer.write("return \"\\(\$L.clientName) - \\(region ?? \"\")\"", serviceConfig.clientName.toUpperCamelCase()) + writer.write( + "return \"\\(\$L.clientName) - \\(region ?? \"\")\"", + serviceConfig.clientName.toUpperCamelCase(), + ) } writer.write("") } private val authSchemeResolverDefaultProvider = DefaultProvider( - { "Default${AuthSchemeResolverGenerator.getSdkId(ctx)}AuthSchemeResolver()" }, + { writer.format("Default\$LAuthSchemeResolver()", AuthSchemeResolverGenerator.getSdkId(ctx)) }, false, false ) diff --git a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AWSServiceConfig.kt b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AWSServiceConfig.kt index 294d88c00f5..32f541d8a56 100644 --- a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AWSServiceConfig.kt +++ b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AWSServiceConfig.kt @@ -21,7 +21,6 @@ import software.amazon.smithy.swift.codegen.utils.toLowerCamelCase const val ENDPOINT_RESOLVER = "endpointResolver" const val AUTH_SCHEME_RESOLVER = "authSchemeResolver" -const val ENDPOINT_PARAMS = "endpointParams" class AWSServiceConfig(writer: SwiftWriter, val ctx: ProtocolGenerator.GenerationContext) : ServiceConfig(writer, ctx.symbolProvider.toSymbol(ctx.service).name, ctx.service.sdkId) { diff --git a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/PresignerGenerator.kt b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/PresignerGenerator.kt index 6dd2b8a165d..5c4e83651f4 100644 --- a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/PresignerGenerator.kt +++ b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/PresignerGenerator.kt @@ -56,14 +56,6 @@ class PresignerGenerator : SwiftIntegration { renderPresignAPIInServiceClient(writer, symbol.name, op, inputType) } } -// // Import FoundationNetworking statement with preprocessor commands -// if (presignOperations.isNotEmpty()) { -// val symbol = protoCtx.symbolProvider.toSymbol(protoCtx.service) -// protoCtx.delegator.useFileWriter("Sources/${ctx.settings.moduleName}/${symbol.name}.swift") { writer -> -// // In Linux, Foundation.URLRequest is moved to FoundationNetworking. -// writer.addImport(packageName = "FoundationNetworking", importOnlyIfCanImport = true) -// } -// } } private fun renderPresigner( @@ -108,10 +100,7 @@ class PresignerGenerator : SwiftIntegration { operationMiddleware, operationStackName ) - generator.render(serviceShape, op, PRESIGN_REQUEST) { writer, _ -> - writer.write("return nil") - } - + generator.render(serviceShape, op, PRESIGN_REQUEST) writer.write("return try await op.presignRequest(input: input)") } } diff --git a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/customization/presignable/PresignableUrlIntegration.kt b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/customization/presignable/PresignableUrlIntegration.kt index 1a0148fd33e..7962485f48b 100644 --- a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/customization/presignable/PresignableUrlIntegration.kt +++ b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/customization/presignable/PresignableUrlIntegration.kt @@ -137,10 +137,7 @@ class PresignableUrlIntegration(private val presignedOperations: Map - writer.write("return nil") - } - + generator.render(serviceShape, op, PRESIGN_URL) writer.write("return try await op.presignRequest(input: input).endpoint.url") } } diff --git a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/middleware/OperationEndpointResolverMiddleware.kt b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/middleware/OperationEndpointResolverMiddleware.kt index 334a4480497..b5e318986d5 100644 --- a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/middleware/OperationEndpointResolverMiddleware.kt +++ b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/middleware/OperationEndpointResolverMiddleware.kt @@ -53,7 +53,10 @@ class OperationEndpointResolverMiddleware( // Write code that saves endpoint params to middleware context for use in auth scheme middleware when using rules-based auth scheme resolvers if (AuthSchemeResolverGenerator.usesRulesBasedAuthResolver(ctx)) { - writer.write("context.set(key: \$N(name: \"EndpointParams\"), value: endpointParams)", SmithyTypes.AttributeKey) + writer.write( + "context.set(key: \$N(name: \"EndpointParams\"), value: endpointParamsBlock(context))", + SmithyTypes.AttributeKey + ) } super.renderSpecific(ctx, writer, op, operationStackName, "applyEndpoint") @@ -66,14 +69,13 @@ class OperationEndpointResolverMiddleware( ) { val output = MiddlewareShapeUtils.outputSymbol(ctx.symbolProvider, ctx.model, op) writer.write( - "\$N<\$N, EndpointParams>(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: \$\$0) }, endpointParams: endpointParams)", + "\$N<\$N, EndpointParams>(paramsBlock: endpointParamsBlock, resolverBlock: { [config] in try config.endpointResolver.resolve(params: \$\$0) })", endpointResolverMiddlewareSymbol, output ) } private fun renderEndpointParams(ctx: ProtocolGenerator.GenerationContext, writer: SwiftWriter, op: OperationShape) { - val outputError = MiddlewareShapeUtils.outputErrorSymbol(op) val params = mutableListOf() ctx.service.getTrait()?.ruleSet?.let { node -> val ruleSet = EndpointRuleSet.fromNode(node) @@ -97,7 +99,6 @@ class OperationEndpointResolverMiddleware( operationContextParams[param.name.toString()], clientContextParams[param.name.toString()], writer, - outputError ) value?.let { params.add("$memberName: $it") @@ -105,7 +106,9 @@ class OperationEndpointResolverMiddleware( } } - writer.write("let endpointParams = EndpointParams(${params.joinToString(separator = ", ")})") + writer.openBlock("let endpointParamsBlock = { [config] (context: \$N) in", "}", SmithyTypes.Context) { + writer.write("EndpointParams(\$L)", params.joinToString(", ")) + } } /** @@ -126,7 +129,6 @@ class OperationEndpointResolverMiddleware( operationContextParam: OperationContextParamDefinition?, clientContextParam: ClientContextParamDefinition?, writer: SwiftWriter, - outputError: Symbol ): String? { return when { staticContextParam != null -> { @@ -170,6 +172,12 @@ class OperationEndpointResolverMiddleware( } clientContextParam != null -> { when { + param.name.toString() == "AccountId" -> { + writer.format("context.resolvedAccountID") + } + param.name.toString() == "AccountIdEndpointMode" -> { + "config.accountIdEndpointMode?.rawValue" + } param.default.isPresent -> { "config.${param.name.toString().toLowerCamelCase()} ?? ${param.defaultValueLiteral}" } diff --git a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftmodules/AWSClientRuntimeTypes.kt b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftmodules/AWSClientRuntimeTypes.kt index b7ae7a89281..d2ad430c56d 100644 --- a/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftmodules/AWSClientRuntimeTypes.kt +++ b/codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/swiftmodules/AWSClientRuntimeTypes.kt @@ -37,7 +37,8 @@ object AWSClientRuntimeTypes { object Core { val AWSUserAgentMetadata = runtimeSymbol("AWSUserAgentMetadata", SwiftDeclaration.STRUCT) val UserAgentMiddleware = runtimeSymbol("UserAgentMiddleware", SwiftDeclaration.STRUCT) - val EndpointResolverMiddleware = runtimeSymbol("EndpointResolverMiddleware", SwiftDeclaration.STRUCT) + val AWSEndpointResolverMiddleware = runtimeSymbol("AWSEndpointResolverMiddleware", SwiftDeclaration.STRUCT, listOf("AWSEndpointResolverMiddleware")) + val AccountIDEndpointMode = runtimeSymbol("AccountIDEndpointMode", SwiftDeclaration.ENUM) val UnknownAWSHTTPServiceError = runtimeSymbol("UnknownAWSHTTPServiceError", SwiftDeclaration.STRUCT, listOf("UnknownAWSHTTPServiceError")) val AWSServiceError = runtimeSymbol("AWSServiceError", SwiftDeclaration.PROTOCOL) val Sha256TreeHashMiddleware = runtimeSymbol("Sha256TreeHashMiddleware", SwiftDeclaration.STRUCT) diff --git a/codegen/smithy-aws-swift-codegen/src/test/kotlin/software/amazon/smithy/aws/swift/codegen/OperationEndpointResolverMiddlewareTests.kt b/codegen/smithy-aws-swift-codegen/src/test/kotlin/software/amazon/smithy/aws/swift/codegen/OperationEndpointResolverMiddlewareTests.kt index 43edd26172b..4f4f50bb9d4 100644 --- a/codegen/smithy-aws-swift-codegen/src/test/kotlin/software/amazon/smithy/aws/swift/codegen/OperationEndpointResolverMiddlewareTests.kt +++ b/codegen/smithy-aws-swift-codegen/src/test/kotlin/software/amazon/smithy/aws/swift/codegen/OperationEndpointResolverMiddlewareTests.kt @@ -21,7 +21,7 @@ class OperationEndpointResolverMiddlewareTests { val writer = SwiftWriter("smithy.example") val context = setupTests("endpoints.smithy", "smithy.example#ExampleService") val operation = context.ctx.model.operationShapes.toList().first { it.id.name == "GetThing" } - val middleware = OperationEndpointResolverMiddleware(context.ctx, AWSClientRuntimeTypes.Core.EndpointResolverMiddleware) + val middleware = OperationEndpointResolverMiddleware(context.ctx, AWSClientRuntimeTypes.Core.AWSEndpointResolverMiddleware) middleware.render(context.ctx, writer, operation, "operationStack") var contents = writer.toString() val expected = """ @@ -51,8 +51,10 @@ let projection2: [Swift.String]? = objects2?.compactMap { original in let id = original.id return id } -let endpointParams = EndpointParams(boolBar: true, boolBaz: input.fuzz, boolFoo: config.boolFoo, endpoint: configuredEndpoint, flattenedArray: projection, keysFunctionArray: keys, region: region, stringArrayBar: ["five", "six", "seven"], stringBar: "some value", stringBaz: input.buzz, stringFoo: config.stringFoo, subfield: subfield2, wildcardProjectionArray: projection2) -builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: ${'$'}0) }, endpointParams: endpointParams)) +let endpointParamsBlock = { [config] (context: Smithy.Context) in + EndpointParams(boolBar: true, boolBaz: input.fuzz, boolFoo: config.boolFoo, endpoint: configuredEndpoint, flattenedArray: projection, keysFunctionArray: keys, region: region, stringArrayBar: ["five", "six", "seven"], stringBar: "some value", stringBaz: input.buzz, stringFoo: config.stringFoo, subfield: subfield2, wildcardProjectionArray: projection2) +} +builder.applyEndpoint(AWSClientRuntime.AWSEndpointResolverMiddleware(paramsBlock: endpointParamsBlock, resolverBlock: { [config] in try config.endpointResolver.resolve(params: ${'$'}0) })) """ contents.shouldContainOnlyOnce(expected) } 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 9ab55fbb132..dcdc896557f 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 @@ -55,8 +55,10 @@ extension GetFooInput { builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) builder.applySigner(ClientRuntime.SignerMiddleware()) - let endpointParams = EndpointParams() - builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: ${'$'}0) }, endpointParams: endpointParams)) + let endpointParamsBlock = { [config] (context: Smithy.Context) in + EndpointParams() + } + builder.applyEndpoint(AWSClientRuntime.AWSEndpointResolverMiddleware(paramsBlock: endpointParamsBlock, resolverBlock: { [config] in try config.endpointResolver.resolve(params: ${'$'}0) })) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ExampleClient.version, config: config)) var metricsAttributes = Smithy.Attributes() @@ -129,8 +131,10 @@ extension PostFooInput { builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) builder.applySigner(ClientRuntime.SignerMiddleware()) - let endpointParams = EndpointParams() - builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: ${'$'}0) }, endpointParams: endpointParams)) + let endpointParamsBlock = { [config] (context: Smithy.Context) in + EndpointParams() + } + builder.applyEndpoint(AWSClientRuntime.AWSEndpointResolverMiddleware(paramsBlock: endpointParamsBlock, resolverBlock: { [config] in try config.endpointResolver.resolve(params: ${'$'}0) })) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ExampleClient.version, config: config)) var metricsAttributes = Smithy.Attributes() @@ -203,8 +207,10 @@ extension PutFooInput { builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) builder.applySigner(ClientRuntime.SignerMiddleware()) - let endpointParams = EndpointParams() - builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: ${'$'}0) }, endpointParams: endpointParams)) + let endpointParamsBlock = { [config] (context: Smithy.Context) in + EndpointParams() + } + builder.applyEndpoint(AWSClientRuntime.AWSEndpointResolverMiddleware(paramsBlock: endpointParamsBlock, resolverBlock: { [config] in try config.endpointResolver.resolve(params: ${'$'}0) })) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: ExampleClient.version, config: config)) var metricsAttributes = Smithy.Attributes() @@ -277,9 +283,11 @@ extension PutObjectInput { builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) builder.applySigner(ClientRuntime.SignerMiddleware()) - let endpointParams = EndpointParams() - context.set(key: Smithy.AttributeKey(name: "EndpointParams"), value: endpointParams) - builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: ${'$'}0) }, endpointParams: endpointParams)) + let endpointParamsBlock = { [config] (context: Smithy.Context) in + EndpointParams() + } + context.set(key: Smithy.AttributeKey(name: "EndpointParams"), value: endpointParamsBlock(context)) + builder.applyEndpoint(AWSClientRuntime.AWSEndpointResolverMiddleware(paramsBlock: endpointParamsBlock, resolverBlock: { [config] in try config.endpointResolver.resolve(params: ${'$'}0) })) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) builder.interceptors.add(AWSClientRuntime.UserAgentMiddleware(serviceID: serviceName, version: S3Client.version, config: config)) var metricsAttributes = Smithy.Attributes() 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 9cbab46b7a7..914e085df23 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 @@ -36,8 +36,10 @@ class AWSQueryOperationStackTest { builder.retryStrategy(SmithyRetries.DefaultRetryStrategy(options: config.retryStrategyOptions)) builder.retryErrorInfoProvider(AWSClientRuntime.AWSRetryErrorInfoProvider.errorInfo(for:)) builder.applySigner(ClientRuntime.SignerMiddleware()) - let endpointParams = EndpointParams() - builder.applyEndpoint(AWSClientRuntime.EndpointResolverMiddleware(endpointResolverBlock: { [config] in try config.endpointResolver.resolve(params: ${'$'}0) }, endpointParams: endpointParams)) + let endpointParamsBlock = { [config] (context: Smithy.Context) in + EndpointParams() + } + builder.applyEndpoint(AWSClientRuntime.AWSEndpointResolverMiddleware(paramsBlock: endpointParamsBlock, resolverBlock: { [config] in try config.endpointResolver.resolve(params: ${'$'}0) })) builder.serialize(ClientRuntime.BodyMiddleware(rootNodeInfo: "", inputWritingClosure: NoInputAndOutputInput.write(value:to:))) builder.interceptors.add(ClientRuntime.ContentTypeMiddleware(contentType: "application/x-www-form-urlencoded")) builder.selectAuthScheme(ClientRuntime.AuthSchemeMiddleware()) diff --git a/packageDependencies.plist b/packageDependencies.plist index 913110d1a5b..a066958fb5f 100644 --- a/packageDependencies.plist +++ b/packageDependencies.plist @@ -9,6 +9,6 @@ clientRuntimeBranch main clientRuntimeVersion - 0.109.0 + 0.110.0 diff --git a/scripts/integration-test-sdk.properties b/scripts/integration-test-sdk.properties index 166be55dff9..b7b124dcc5e 100644 --- a/scripts/integration-test-sdk.properties +++ b/scripts/integration-test-sdk.properties @@ -1,2 +1,2 @@ # Only include services needed for running integration tests -onlyIncludeModels=kinesis,s3,sso-admin,transcribe-streaming,sqs,mediaconvert,sts,cognito-identity,iam,ec2,ecs,cloudwatch-logs,s3-control,eventbridge,cloudfront,cloudfront-keyvaluestore,route-53,glacier +onlyIncludeModels=kinesis,s3,sso-admin,transcribe-streaming,sqs,mediaconvert,sts,cognito-identity,iam,ec2,ecs,cloudwatch-logs,s3-control,eventbridge,cloudfront,cloudfront-keyvaluestore,route-53,glacier,dynamodb